ProcessedDatapublic class ProcessedData extends Object An entity class that wraps the result of a
{@link DrmManagerClient#processDrmInfo(DrmInfo) processDrmInfo()}
transaction between a device and a DRM server.
In a license acquisition scenario this class holds the rights information in binary form. |
Fields Summary |
---|
private final byte[] | mData | private String | mAccountId | private String | mSubscriptionId |
Constructors Summary |
---|
ProcessedData(byte[] data, String accountId)Creates a ProcessedData object with the given parameters.
/* package */
mData = data;
mAccountId = accountId;
| ProcessedData(byte[] data, String accountId, String subscriptionId)Creates a ProcessedData object with the given parameters.
mData = data;
mAccountId = accountId;
mSubscriptionId = subscriptionId;
|
Methods Summary |
---|
public java.lang.String | getAccountId()Retrieves the account ID associated with this object.
return mAccountId;
| public byte[] | getData()Retrieves the processed data.
return mData;
| public java.lang.String | getSubscriptionId()Returns the subscription ID associated with this object.
return mSubscriptionId;
|
|