com.amazon.inapp.purchasing
Class GetUserIdResponse

java.lang.Object
  extended by com.amazon.inapp.purchasing.GetUserIdResponse

public final class GetUserIdResponse
extends java.lang.Object

Represents the result of a call to PurchasingManager.initiateGetUseridRequest() and is sent asynchronously to the registered PurchasingObserver via PurchasingObserver.onGetUserIdResponse(GetUserIdResponse).


Nested Class Summary
static class GetUserIdResponse.GetUserIdRequestStatus
          Indicates the result of a request to get the current user ID initiated via PurchasingManager.initiateGetUseridRequest().
 
Method Summary
 java.lang.String getRequestId()
          Provides access to the request ID originally returned by PurchasingManager.initiateItemDataRequest(Set).
 GetUserIdResponse.GetUserIdRequestStatus getUserIdRequestStatus()
          Indicates the status of the get user ID request.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRequestId

public java.lang.String getRequestId()
Provides access to the request ID originally returned by PurchasingManager.initiateItemDataRequest(Set). This identifier can be used to correlate the original request with this response.

Returns:
the ID of the request that this response is associated with

getUserIdRequestStatus

public GetUserIdResponse.GetUserIdRequestStatus getUserIdRequestStatus()
Indicates the status of the get user ID request.

Returns:
the status of the get user ID request

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object