|
|
|
|
@@ -13492,227 +13492,227 @@ package android.database.sqlite {
|
|
|
|
|
|
|
|
|
|
package android.drm {
|
|
|
|
|
|
|
|
|
|
public class DrmConvertedStatus {
|
|
|
|
|
ctor public DrmConvertedStatus(int, byte[], int);
|
|
|
|
|
field public static final int STATUS_ERROR = 3; // 0x3
|
|
|
|
|
field public static final int STATUS_INPUTDATA_ERROR = 2; // 0x2
|
|
|
|
|
field public static final int STATUS_OK = 1; // 0x1
|
|
|
|
|
field public final byte[] convertedData;
|
|
|
|
|
field public final int offset;
|
|
|
|
|
field public final int statusCode;
|
|
|
|
|
@Deprecated public class DrmConvertedStatus {
|
|
|
|
|
ctor @Deprecated public DrmConvertedStatus(int, byte[], int);
|
|
|
|
|
field @Deprecated public static final int STATUS_ERROR = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int STATUS_INPUTDATA_ERROR = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int STATUS_OK = 1; // 0x1
|
|
|
|
|
field @Deprecated public final byte[] convertedData;
|
|
|
|
|
field @Deprecated public final int offset;
|
|
|
|
|
field @Deprecated public final int statusCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmErrorEvent extends android.drm.DrmEvent {
|
|
|
|
|
ctor public DrmErrorEvent(int, int, String);
|
|
|
|
|
ctor public DrmErrorEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
field public static final int TYPE_ACQUIRE_DRM_INFO_FAILED = 2008; // 0x7d8
|
|
|
|
|
field public static final int TYPE_NOT_SUPPORTED = 2003; // 0x7d3
|
|
|
|
|
field public static final int TYPE_NO_INTERNET_CONNECTION = 2005; // 0x7d5
|
|
|
|
|
field public static final int TYPE_OUT_OF_MEMORY = 2004; // 0x7d4
|
|
|
|
|
field public static final int TYPE_PROCESS_DRM_INFO_FAILED = 2006; // 0x7d6
|
|
|
|
|
field public static final int TYPE_REMOVE_ALL_RIGHTS_FAILED = 2007; // 0x7d7
|
|
|
|
|
field public static final int TYPE_RIGHTS_NOT_INSTALLED = 2001; // 0x7d1
|
|
|
|
|
field public static final int TYPE_RIGHTS_RENEWAL_NOT_ALLOWED = 2002; // 0x7d2
|
|
|
|
|
@Deprecated public class DrmErrorEvent extends android.drm.DrmEvent {
|
|
|
|
|
ctor @Deprecated public DrmErrorEvent(int, int, String);
|
|
|
|
|
ctor @Deprecated public DrmErrorEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
field @Deprecated public static final int TYPE_ACQUIRE_DRM_INFO_FAILED = 2008; // 0x7d8
|
|
|
|
|
field @Deprecated public static final int TYPE_NOT_SUPPORTED = 2003; // 0x7d3
|
|
|
|
|
field @Deprecated public static final int TYPE_NO_INTERNET_CONNECTION = 2005; // 0x7d5
|
|
|
|
|
field @Deprecated public static final int TYPE_OUT_OF_MEMORY = 2004; // 0x7d4
|
|
|
|
|
field @Deprecated public static final int TYPE_PROCESS_DRM_INFO_FAILED = 2006; // 0x7d6
|
|
|
|
|
field @Deprecated public static final int TYPE_REMOVE_ALL_RIGHTS_FAILED = 2007; // 0x7d7
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_NOT_INSTALLED = 2001; // 0x7d1
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_RENEWAL_NOT_ALLOWED = 2002; // 0x7d2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmEvent {
|
|
|
|
|
ctor protected DrmEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
ctor protected DrmEvent(int, int, String);
|
|
|
|
|
method public Object getAttribute(String);
|
|
|
|
|
method public String getMessage();
|
|
|
|
|
method public int getType();
|
|
|
|
|
method public int getUniqueId();
|
|
|
|
|
field public static final String DRM_INFO_OBJECT = "drm_info_object";
|
|
|
|
|
field public static final String DRM_INFO_STATUS_OBJECT = "drm_info_status_object";
|
|
|
|
|
field public static final int TYPE_ALL_RIGHTS_REMOVED = 1001; // 0x3e9
|
|
|
|
|
field public static final int TYPE_DRM_INFO_PROCESSED = 1002; // 0x3ea
|
|
|
|
|
@Deprecated public class DrmEvent {
|
|
|
|
|
ctor @Deprecated protected DrmEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
ctor @Deprecated protected DrmEvent(int, int, String);
|
|
|
|
|
method @Deprecated public Object getAttribute(String);
|
|
|
|
|
method @Deprecated public String getMessage();
|
|
|
|
|
method @Deprecated public int getType();
|
|
|
|
|
method @Deprecated public int getUniqueId();
|
|
|
|
|
field @Deprecated public static final String DRM_INFO_OBJECT = "drm_info_object";
|
|
|
|
|
field @Deprecated public static final String DRM_INFO_STATUS_OBJECT = "drm_info_status_object";
|
|
|
|
|
field @Deprecated public static final int TYPE_ALL_RIGHTS_REMOVED = 1001; // 0x3e9
|
|
|
|
|
field @Deprecated public static final int TYPE_DRM_INFO_PROCESSED = 1002; // 0x3ea
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmInfo {
|
|
|
|
|
ctor public DrmInfo(int, byte[], String);
|
|
|
|
|
ctor public DrmInfo(int, String, String);
|
|
|
|
|
method public Object get(String);
|
|
|
|
|
method public byte[] getData();
|
|
|
|
|
method public int getInfoType();
|
|
|
|
|
method public String getMimeType();
|
|
|
|
|
method public java.util.Iterator<java.lang.Object> iterator();
|
|
|
|
|
method public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
method public void put(String, Object);
|
|
|
|
|
@Deprecated public class DrmInfo {
|
|
|
|
|
ctor @Deprecated public DrmInfo(int, byte[], String);
|
|
|
|
|
ctor @Deprecated public DrmInfo(int, String, String);
|
|
|
|
|
method @Deprecated public Object get(String);
|
|
|
|
|
method @Deprecated public byte[] getData();
|
|
|
|
|
method @Deprecated public int getInfoType();
|
|
|
|
|
method @Deprecated public String getMimeType();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.Object> iterator();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
method @Deprecated public void put(String, Object);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmInfoEvent extends android.drm.DrmEvent {
|
|
|
|
|
ctor public DrmInfoEvent(int, int, String);
|
|
|
|
|
ctor public DrmInfoEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
field public static final int TYPE_ACCOUNT_ALREADY_REGISTERED = 5; // 0x5
|
|
|
|
|
field public static final int TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT = 1; // 0x1
|
|
|
|
|
field public static final int TYPE_REMOVE_RIGHTS = 2; // 0x2
|
|
|
|
|
field public static final int TYPE_RIGHTS_INSTALLED = 3; // 0x3
|
|
|
|
|
field public static final int TYPE_RIGHTS_REMOVED = 6; // 0x6
|
|
|
|
|
field public static final int TYPE_WAIT_FOR_RIGHTS = 4; // 0x4
|
|
|
|
|
@Deprecated public class DrmInfoEvent extends android.drm.DrmEvent {
|
|
|
|
|
ctor @Deprecated public DrmInfoEvent(int, int, String);
|
|
|
|
|
ctor @Deprecated public DrmInfoEvent(int, int, String, java.util.HashMap<java.lang.String,java.lang.Object>);
|
|
|
|
|
field @Deprecated public static final int TYPE_ACCOUNT_ALREADY_REGISTERED = 5; // 0x5
|
|
|
|
|
field @Deprecated public static final int TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int TYPE_REMOVE_RIGHTS = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_INSTALLED = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_REMOVED = 6; // 0x6
|
|
|
|
|
field @Deprecated public static final int TYPE_WAIT_FOR_RIGHTS = 4; // 0x4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmInfoRequest {
|
|
|
|
|
ctor public DrmInfoRequest(int, String);
|
|
|
|
|
method public Object get(String);
|
|
|
|
|
method public int getInfoType();
|
|
|
|
|
method public String getMimeType();
|
|
|
|
|
method public java.util.Iterator<java.lang.Object> iterator();
|
|
|
|
|
method public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
method public void put(String, Object);
|
|
|
|
|
field public static final String ACCOUNT_ID = "account_id";
|
|
|
|
|
field public static final String SUBSCRIPTION_ID = "subscription_id";
|
|
|
|
|
field public static final int TYPE_REGISTRATION_INFO = 1; // 0x1
|
|
|
|
|
field public static final int TYPE_RIGHTS_ACQUISITION_INFO = 3; // 0x3
|
|
|
|
|
field public static final int TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO = 4; // 0x4
|
|
|
|
|
field public static final int TYPE_UNREGISTRATION_INFO = 2; // 0x2
|
|
|
|
|
@Deprecated public class DrmInfoRequest {
|
|
|
|
|
ctor @Deprecated public DrmInfoRequest(int, String);
|
|
|
|
|
method @Deprecated public Object get(String);
|
|
|
|
|
method @Deprecated public int getInfoType();
|
|
|
|
|
method @Deprecated public String getMimeType();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.Object> iterator();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
method @Deprecated public void put(String, Object);
|
|
|
|
|
field @Deprecated public static final String ACCOUNT_ID = "account_id";
|
|
|
|
|
field @Deprecated public static final String SUBSCRIPTION_ID = "subscription_id";
|
|
|
|
|
field @Deprecated public static final int TYPE_REGISTRATION_INFO = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_ACQUISITION_INFO = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO = 4; // 0x4
|
|
|
|
|
field @Deprecated public static final int TYPE_UNREGISTRATION_INFO = 2; // 0x2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmInfoStatus {
|
|
|
|
|
ctor public DrmInfoStatus(int, int, android.drm.ProcessedData, String);
|
|
|
|
|
field public static final int STATUS_ERROR = 2; // 0x2
|
|
|
|
|
field public static final int STATUS_OK = 1; // 0x1
|
|
|
|
|
field public final android.drm.ProcessedData data;
|
|
|
|
|
field public final int infoType;
|
|
|
|
|
field public final String mimeType;
|
|
|
|
|
field public final int statusCode;
|
|
|
|
|
@Deprecated public class DrmInfoStatus {
|
|
|
|
|
ctor @Deprecated public DrmInfoStatus(int, int, android.drm.ProcessedData, String);
|
|
|
|
|
field @Deprecated public static final int STATUS_ERROR = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int STATUS_OK = 1; // 0x1
|
|
|
|
|
field @Deprecated public final android.drm.ProcessedData data;
|
|
|
|
|
field @Deprecated public final int infoType;
|
|
|
|
|
field @Deprecated public final String mimeType;
|
|
|
|
|
field @Deprecated public final int statusCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmManagerClient implements java.lang.AutoCloseable {
|
|
|
|
|
ctor public DrmManagerClient(android.content.Context);
|
|
|
|
|
method public android.drm.DrmInfo acquireDrmInfo(android.drm.DrmInfoRequest);
|
|
|
|
|
method public int acquireRights(android.drm.DrmInfoRequest);
|
|
|
|
|
method public boolean canHandle(String, String);
|
|
|
|
|
method public boolean canHandle(android.net.Uri, String);
|
|
|
|
|
method public int checkRightsStatus(String);
|
|
|
|
|
method public int checkRightsStatus(android.net.Uri);
|
|
|
|
|
method public int checkRightsStatus(String, int);
|
|
|
|
|
method public int checkRightsStatus(android.net.Uri, int);
|
|
|
|
|
method public void close();
|
|
|
|
|
method public android.drm.DrmConvertedStatus closeConvertSession(int);
|
|
|
|
|
method public android.drm.DrmConvertedStatus convertData(int, byte[]);
|
|
|
|
|
method public String[] getAvailableDrmEngines();
|
|
|
|
|
method @NonNull public java.util.Collection<android.drm.DrmSupportInfo> getAvailableDrmSupportInfo();
|
|
|
|
|
method public android.content.ContentValues getConstraints(String, int);
|
|
|
|
|
method public android.content.ContentValues getConstraints(android.net.Uri, int);
|
|
|
|
|
method public int getDrmObjectType(String, String);
|
|
|
|
|
method public int getDrmObjectType(android.net.Uri, String);
|
|
|
|
|
method public android.content.ContentValues getMetadata(String);
|
|
|
|
|
method public android.content.ContentValues getMetadata(android.net.Uri);
|
|
|
|
|
method public String getOriginalMimeType(String);
|
|
|
|
|
method public String getOriginalMimeType(android.net.Uri);
|
|
|
|
|
method public int openConvertSession(String);
|
|
|
|
|
method public int processDrmInfo(android.drm.DrmInfo);
|
|
|
|
|
@Deprecated public class DrmManagerClient implements java.lang.AutoCloseable {
|
|
|
|
|
ctor @Deprecated public DrmManagerClient(android.content.Context);
|
|
|
|
|
method @Deprecated public android.drm.DrmInfo acquireDrmInfo(android.drm.DrmInfoRequest);
|
|
|
|
|
method @Deprecated public int acquireRights(android.drm.DrmInfoRequest);
|
|
|
|
|
method @Deprecated public boolean canHandle(String, String);
|
|
|
|
|
method @Deprecated public boolean canHandle(android.net.Uri, String);
|
|
|
|
|
method @Deprecated public int checkRightsStatus(String);
|
|
|
|
|
method @Deprecated public int checkRightsStatus(android.net.Uri);
|
|
|
|
|
method @Deprecated public int checkRightsStatus(String, int);
|
|
|
|
|
method @Deprecated public int checkRightsStatus(android.net.Uri, int);
|
|
|
|
|
method @Deprecated public void close();
|
|
|
|
|
method @Deprecated public android.drm.DrmConvertedStatus closeConvertSession(int);
|
|
|
|
|
method @Deprecated public android.drm.DrmConvertedStatus convertData(int, byte[]);
|
|
|
|
|
method @Deprecated public String[] getAvailableDrmEngines();
|
|
|
|
|
method @Deprecated @NonNull public java.util.Collection<android.drm.DrmSupportInfo> getAvailableDrmSupportInfo();
|
|
|
|
|
method @Deprecated public android.content.ContentValues getConstraints(String, int);
|
|
|
|
|
method @Deprecated public android.content.ContentValues getConstraints(android.net.Uri, int);
|
|
|
|
|
method @Deprecated public int getDrmObjectType(String, String);
|
|
|
|
|
method @Deprecated public int getDrmObjectType(android.net.Uri, String);
|
|
|
|
|
method @Deprecated public android.content.ContentValues getMetadata(String);
|
|
|
|
|
method @Deprecated public android.content.ContentValues getMetadata(android.net.Uri);
|
|
|
|
|
method @Deprecated public String getOriginalMimeType(String);
|
|
|
|
|
method @Deprecated public String getOriginalMimeType(android.net.Uri);
|
|
|
|
|
method @Deprecated public int openConvertSession(String);
|
|
|
|
|
method @Deprecated public int processDrmInfo(android.drm.DrmInfo);
|
|
|
|
|
method @Deprecated public void release();
|
|
|
|
|
method public int removeAllRights();
|
|
|
|
|
method public int removeRights(String);
|
|
|
|
|
method public int removeRights(android.net.Uri);
|
|
|
|
|
method public int saveRights(android.drm.DrmRights, String, String) throws java.io.IOException;
|
|
|
|
|
method public void setOnErrorListener(android.drm.DrmManagerClient.OnErrorListener);
|
|
|
|
|
method public void setOnEventListener(android.drm.DrmManagerClient.OnEventListener);
|
|
|
|
|
method public void setOnInfoListener(android.drm.DrmManagerClient.OnInfoListener);
|
|
|
|
|
field public static final int ERROR_NONE = 0; // 0x0
|
|
|
|
|
field public static final int ERROR_UNKNOWN = -2000; // 0xfffff830
|
|
|
|
|
method @Deprecated public int removeAllRights();
|
|
|
|
|
method @Deprecated public int removeRights(String);
|
|
|
|
|
method @Deprecated public int removeRights(android.net.Uri);
|
|
|
|
|
method @Deprecated public int saveRights(android.drm.DrmRights, String, String) throws java.io.IOException;
|
|
|
|
|
method @Deprecated public void setOnErrorListener(android.drm.DrmManagerClient.OnErrorListener);
|
|
|
|
|
method @Deprecated public void setOnEventListener(android.drm.DrmManagerClient.OnEventListener);
|
|
|
|
|
method @Deprecated public void setOnInfoListener(android.drm.DrmManagerClient.OnInfoListener);
|
|
|
|
|
field @Deprecated public static final int ERROR_NONE = 0; // 0x0
|
|
|
|
|
field @Deprecated public static final int ERROR_UNKNOWN = -2000; // 0xfffff830
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static interface DrmManagerClient.OnErrorListener {
|
|
|
|
|
method public void onError(android.drm.DrmManagerClient, android.drm.DrmErrorEvent);
|
|
|
|
|
@Deprecated public static interface DrmManagerClient.OnErrorListener {
|
|
|
|
|
method @Deprecated public void onError(android.drm.DrmManagerClient, android.drm.DrmErrorEvent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static interface DrmManagerClient.OnEventListener {
|
|
|
|
|
method public void onEvent(android.drm.DrmManagerClient, android.drm.DrmEvent);
|
|
|
|
|
@Deprecated public static interface DrmManagerClient.OnEventListener {
|
|
|
|
|
method @Deprecated public void onEvent(android.drm.DrmManagerClient, android.drm.DrmEvent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static interface DrmManagerClient.OnInfoListener {
|
|
|
|
|
method public void onInfo(android.drm.DrmManagerClient, android.drm.DrmInfoEvent);
|
|
|
|
|
@Deprecated public static interface DrmManagerClient.OnInfoListener {
|
|
|
|
|
method @Deprecated public void onInfo(android.drm.DrmManagerClient, android.drm.DrmInfoEvent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmRights {
|
|
|
|
|
ctor public DrmRights(String, String);
|
|
|
|
|
ctor public DrmRights(String, String, String);
|
|
|
|
|
ctor public DrmRights(String, String, String, String);
|
|
|
|
|
ctor public DrmRights(java.io.File, String);
|
|
|
|
|
ctor public DrmRights(android.drm.ProcessedData, String);
|
|
|
|
|
method public String getAccountId();
|
|
|
|
|
method public byte[] getData();
|
|
|
|
|
method public String getMimeType();
|
|
|
|
|
method public String getSubscriptionId();
|
|
|
|
|
@Deprecated public class DrmRights {
|
|
|
|
|
ctor @Deprecated public DrmRights(String, String);
|
|
|
|
|
ctor @Deprecated public DrmRights(String, String, String);
|
|
|
|
|
ctor @Deprecated public DrmRights(String, String, String, String);
|
|
|
|
|
ctor @Deprecated public DrmRights(java.io.File, String);
|
|
|
|
|
ctor @Deprecated public DrmRights(android.drm.ProcessedData, String);
|
|
|
|
|
method @Deprecated public String getAccountId();
|
|
|
|
|
method @Deprecated public byte[] getData();
|
|
|
|
|
method @Deprecated public String getMimeType();
|
|
|
|
|
method @Deprecated public String getSubscriptionId();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmStore {
|
|
|
|
|
@Deprecated public class DrmStore {
|
|
|
|
|
ctor @Deprecated public DrmStore();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class DrmStore.Action {
|
|
|
|
|
@Deprecated public static class DrmStore.Action {
|
|
|
|
|
ctor @Deprecated public DrmStore.Action();
|
|
|
|
|
field public static final int DEFAULT = 0; // 0x0
|
|
|
|
|
field public static final int DISPLAY = 7; // 0x7
|
|
|
|
|
field public static final int EXECUTE = 6; // 0x6
|
|
|
|
|
field public static final int OUTPUT = 4; // 0x4
|
|
|
|
|
field public static final int PLAY = 1; // 0x1
|
|
|
|
|
field public static final int PREVIEW = 5; // 0x5
|
|
|
|
|
field public static final int RINGTONE = 2; // 0x2
|
|
|
|
|
field public static final int TRANSFER = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int DEFAULT = 0; // 0x0
|
|
|
|
|
field @Deprecated public static final int DISPLAY = 7; // 0x7
|
|
|
|
|
field @Deprecated public static final int EXECUTE = 6; // 0x6
|
|
|
|
|
field @Deprecated public static final int OUTPUT = 4; // 0x4
|
|
|
|
|
field @Deprecated public static final int PLAY = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int PREVIEW = 5; // 0x5
|
|
|
|
|
field @Deprecated public static final int RINGTONE = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int TRANSFER = 3; // 0x3
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static interface DrmStore.ConstraintsColumns {
|
|
|
|
|
field public static final String EXTENDED_METADATA = "extended_metadata";
|
|
|
|
|
field public static final String LICENSE_AVAILABLE_TIME = "license_available_time";
|
|
|
|
|
field public static final String LICENSE_EXPIRY_TIME = "license_expiry_time";
|
|
|
|
|
field public static final String LICENSE_START_TIME = "license_start_time";
|
|
|
|
|
field public static final String MAX_REPEAT_COUNT = "max_repeat_count";
|
|
|
|
|
field public static final String REMAINING_REPEAT_COUNT = "remaining_repeat_count";
|
|
|
|
|
@Deprecated public static interface DrmStore.ConstraintsColumns {
|
|
|
|
|
field @Deprecated public static final String EXTENDED_METADATA = "extended_metadata";
|
|
|
|
|
field @Deprecated public static final String LICENSE_AVAILABLE_TIME = "license_available_time";
|
|
|
|
|
field @Deprecated public static final String LICENSE_EXPIRY_TIME = "license_expiry_time";
|
|
|
|
|
field @Deprecated public static final String LICENSE_START_TIME = "license_start_time";
|
|
|
|
|
field @Deprecated public static final String MAX_REPEAT_COUNT = "max_repeat_count";
|
|
|
|
|
field @Deprecated public static final String REMAINING_REPEAT_COUNT = "remaining_repeat_count";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class DrmStore.DrmObjectType {
|
|
|
|
|
@Deprecated public static class DrmStore.DrmObjectType {
|
|
|
|
|
ctor @Deprecated public DrmStore.DrmObjectType();
|
|
|
|
|
field public static final int CONTENT = 1; // 0x1
|
|
|
|
|
field public static final int RIGHTS_OBJECT = 2; // 0x2
|
|
|
|
|
field public static final int TRIGGER_OBJECT = 3; // 0x3
|
|
|
|
|
field public static final int UNKNOWN = 0; // 0x0
|
|
|
|
|
field @Deprecated public static final int CONTENT = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int RIGHTS_OBJECT = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int TRIGGER_OBJECT = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int UNKNOWN = 0; // 0x0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class DrmStore.Playback {
|
|
|
|
|
@Deprecated public static class DrmStore.Playback {
|
|
|
|
|
ctor @Deprecated public DrmStore.Playback();
|
|
|
|
|
field public static final int PAUSE = 2; // 0x2
|
|
|
|
|
field public static final int RESUME = 3; // 0x3
|
|
|
|
|
field public static final int START = 0; // 0x0
|
|
|
|
|
field public static final int STOP = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int PAUSE = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int RESUME = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int START = 0; // 0x0
|
|
|
|
|
field @Deprecated public static final int STOP = 1; // 0x1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class DrmStore.RightsStatus {
|
|
|
|
|
@Deprecated public static class DrmStore.RightsStatus {
|
|
|
|
|
ctor @Deprecated public DrmStore.RightsStatus();
|
|
|
|
|
field public static final int RIGHTS_EXPIRED = 2; // 0x2
|
|
|
|
|
field public static final int RIGHTS_INVALID = 1; // 0x1
|
|
|
|
|
field public static final int RIGHTS_NOT_ACQUIRED = 3; // 0x3
|
|
|
|
|
field public static final int RIGHTS_VALID = 0; // 0x0
|
|
|
|
|
field @Deprecated public static final int RIGHTS_EXPIRED = 2; // 0x2
|
|
|
|
|
field @Deprecated public static final int RIGHTS_INVALID = 1; // 0x1
|
|
|
|
|
field @Deprecated public static final int RIGHTS_NOT_ACQUIRED = 3; // 0x3
|
|
|
|
|
field @Deprecated public static final int RIGHTS_VALID = 0; // 0x0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmSupportInfo {
|
|
|
|
|
ctor public DrmSupportInfo();
|
|
|
|
|
method public void addFileSuffix(String);
|
|
|
|
|
method public void addMimeType(String);
|
|
|
|
|
@Deprecated public class DrmSupportInfo {
|
|
|
|
|
ctor @Deprecated public DrmSupportInfo();
|
|
|
|
|
method @Deprecated public void addFileSuffix(String);
|
|
|
|
|
method @Deprecated public void addMimeType(String);
|
|
|
|
|
method @Deprecated public String getDescriprition();
|
|
|
|
|
method public String getDescription();
|
|
|
|
|
method public java.util.Iterator<java.lang.String> getFileSuffixIterator();
|
|
|
|
|
method public java.util.Iterator<java.lang.String> getMimeTypeIterator();
|
|
|
|
|
method public void setDescription(String);
|
|
|
|
|
method @Deprecated public String getDescription();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> getFileSuffixIterator();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> getMimeTypeIterator();
|
|
|
|
|
method @Deprecated public void setDescription(String);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DrmUtils {
|
|
|
|
|
ctor public DrmUtils();
|
|
|
|
|
method public static android.drm.DrmUtils.ExtendedMetadataParser getExtendedMetadataParser(byte[]);
|
|
|
|
|
@Deprecated public class DrmUtils {
|
|
|
|
|
ctor @Deprecated public DrmUtils();
|
|
|
|
|
method @Deprecated public static android.drm.DrmUtils.ExtendedMetadataParser getExtendedMetadataParser(byte[]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class DrmUtils.ExtendedMetadataParser {
|
|
|
|
|
method public String get(String);
|
|
|
|
|
method public java.util.Iterator<java.lang.String> iterator();
|
|
|
|
|
method public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
@Deprecated public static class DrmUtils.ExtendedMetadataParser {
|
|
|
|
|
method @Deprecated public String get(String);
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> iterator();
|
|
|
|
|
method @Deprecated public java.util.Iterator<java.lang.String> keyIterator();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ProcessedData {
|
|
|
|
|
method public String getAccountId();
|
|
|
|
|
method public byte[] getData();
|
|
|
|
|
method public String getSubscriptionId();
|
|
|
|
|
@Deprecated public class ProcessedData {
|
|
|
|
|
method @Deprecated public String getAccountId();
|
|
|
|
|
method @Deprecated public byte[] getData();
|
|
|
|
|
method @Deprecated public String getSubscriptionId();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|