java.lang.Object | |
↳ | com.urbanairship.wallet.PassRequest |
Defines a request to fetch a Pass
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | PassRequest.Builder | Builds the PassRequest object. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
cancel()
Cancels the requests.
| ||||||||||
void |
execute(Callback callback, Looper looper)
Executes the request to fetch the
Pass . | ||||||||||
void |
execute(Callback callback)
Executes the request to fetch the
Pass . | ||||||||||
static PassRequest.Builder |
newBuilder()
Creates a new Builder instance.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Cancels the requests.
Executes the request to fetch the Pass
. Must be called on the
UI thread.
callback | A callback for the result. |
---|---|
looper | The looper used for executing the result callback. Defaults to that of the calling thread if null. |
Executes the request to fetch the Pass
. Must be called on the
UI thread.
callback | A callback for the result. |
---|
Creates a new Builder instance.