java.lang.Object | |
↳ | lineageos.weatherservice.ServiceRequest |
This class represents a request submitted by the system to the active weather provider service
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method should be called once the request has been completed
| |||||||||||
This method should be called if the service failed to process the request
(no internet connection, time out, etc.)
| |||||||||||
Obtains the request information
| |||||||||||
This method should be called if the service decides not to honor the request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This method should be called once the request has been completed
Parameters | |
---|---|
result |
ServiceRequestResult |
This method should be called if the service failed to process the request (no internet connection, time out, etc.)
Obtains the request information
Returns | |
---|---|
RequestInfo |
RequestInfo
|
This method should be called if the service decides not to honor the request. Note this method will accept only the following values.
Attempting to pass any other value will get you an IllegalArgumentException