The members of Android.Media.MediaDrm are listed below.
See Also: Inherited members from Java.Lang.Object
Instantiate a MediaDrm object |
const | EventKeyExpired | MediaDrmEventType (3). This event type indicates that the licensed usage duration for keys in a session has expired. |
const | EventKeyRequired | MediaDrmEventType (2). This event type indicates that the app needs to request keys from a license server. |
const | EventProvisionRequired | MediaDrmEventType (1). This event type indicates that the app needs to request a certificate from the provisioning server. |
const | EventVendorDefined | MediaDrmEventType (4). This event may indicate some specific vendor-defined condition, see your DRM provider documentation for details |
const | KeyTypeOffline | MediaDrmKeyType (2). This key request type specifies that the keys will be for offline use, they will be saved to the device for use when the device is not connected to a network. |
const | KeyTypeRelease | MediaDrmKeyType (3). This key request type specifies that previously saved offline keys should be released. |
const | KeyTypeStreaming | MediaDrmKeyType (1). This key request type species that the keys will be for online use, they will not be saved to the device for subsequent use when the device is not connected to a network. |
const | PropertyAlgorithms | string. String property name: a comma-separated list of cipher and mac algorithms supported by CryptoSession. |
const | PropertyDescription | string. String property name: describes the DRM engine plugin |
const | PropertyDeviceUniqueId | string. Byte array property name: the device unique identifier is established during device provisioning and provides a means of uniquely identifying each device. |
const | PropertyVendor | string. String property name: identifies the maker of the DRM engine plugin |
const | PropertyVersion | string. String property name: identifies the version of the DRM engine plugin |
[read-only] | SecureStops | IList<Byte[]>. A means of enforcing limits on the number of concurrent streams per subscriber across devices is provided via SecureStop. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
CloseSession(byte[])Close a session on the MediaDrm object that was previously opened with MediaDrm.OpenSession. | ||
GetCryptoSession(byte[], string, string)Obtain a CryptoSession object which can be used to encrypt, decrypt, sign and verify messages or data using the session keys established for the session using methods MediaDrm.getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>) and MediaDrm.ProvideKeyResponse(Byte[], System.Byte[]) using a session key server. | ||
GetKeyRequest(byte[], byte[], string, int, IDictionary<string, string>)Documentation for this section has not yet been entered. | ||
GetPropertyByteArray(string)Read a DRM engine plugin byte array property value, given the property name string. | ||
GetPropertyString(string)Read a DRM engine plugin String property value, given the property name string. | ||
GetProvisionRequest()A provision request/response exchange occurs between the app and a provisioning server to retrieve a device certificate. | ||
static | IsCryptoSchemeSupported(Java.Util.UUID)Query if the given scheme identified by its UUID is supported on this device. | |
static | IsCryptoSchemeSupported(Java.Util.UUID, string)Query if the given scheme identified by its UUID is supported on this device, and whether the drm plugin is able to handle the media container format specified by mimeType. | |
OpenSession()Open a new session with the MediaDrm object. | ||
ProvideKeyResponse(byte[], byte[])A key response is received from the license server by the app, then it is provided to the DRM engine plugin using provideKeyResponse. | ||
ProvideProvisionResponse(byte[])After a provision response is received by the app, it is provided to the DRM engine plugin using this method. | ||
QueryKeyStatus(byte[])Request an informative description of the key status for the session. | ||
Release() | ||
ReleaseSecureStops(byte[])Process the SecureStop server response message ssRelease. | ||
RemoveKeys(byte[])Remove the current keys from a session. | ||
RestoreKeys(byte[], byte[])Restore persisted offline keys into a new session. keySetId identifies the keys to load, obtained from a prior call to MediaDrm.ProvideKeyResponse(Byte[], System.Byte[]). | ||
SetOnEventListener(MediaDrm.IOnEventListener)Register a callback to be invoked when an event occurs | ||
SetPropertyByteArray(string, byte[])Set a DRM engine plugin byte array property value. | ||
SetPropertyString(string, string)Set a DRM engine plugin String property value. |
MediaDrmEvent | Documentation for this section has not yet been entered. |