public class

PassRequest

extends Object
java.lang.Object
   ↳ com.urbanairship.wallet.PassRequest

Class Overview

Defines a request to fetch a Pass.

Summary

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

Public Methods

public void cancel ()

Cancels the requests.

public void execute (Callback callback, Looper looper)

Executes the request to fetch the Pass. Must be called on the UI thread.

Parameters
callback A callback for the result.
looper The looper used for executing the result callback. Defaults to that of the calling thread if null.

public void execute (Callback callback)

Executes the request to fetch the Pass. Must be called on the UI thread.

Parameters
callback A callback for the result.

public static PassRequest.Builder newBuilder ()

Creates a new Builder instance.

Returns
  • The new Builder instance.

public String toString ()