public class LicenseResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LicenseResponse.RequestStatus
Represents the status of a get user data request initiated by
LicensingService#verifyLicense() . |
Constructor and Description |
---|
LicenseResponse(com.amazon.device.drm.internal.model.LicenseResponseBuilder builder)
Creates an instance of the LicenseResponse.
|
Modifier and Type | Method and Description |
---|---|
RequestId |
getRequestId()
Returns the request identifier originally returned by
LicensingService#verifyLicense() . |
LicenseResponse.RequestStatus |
getRequestStatus()
Indicates the status of the verifyLicense call.
|
org.json.JSONObject |
toJSON()
Utility method to return a JSON object containing the information for a
LicenseResponse instance.
|
java.lang.String |
toString() |
public LicenseResponse(com.amazon.device.drm.internal.model.LicenseResponseBuilder builder)
requestStatus
- Status of verifyLicense call.public LicenseResponse.RequestStatus getRequestStatus()
public RequestId getRequestId()
LicensingService#verifyLicense()
. This ID can be used to
correlate the original request with this response.public java.lang.String toString()
toString
in class java.lang.Object
public org.json.JSONObject toJSON() throws org.json.JSONException
org.json.JSONException