The methods of Android.Media.MediaDrm are listed below. For a list of all members, see the MediaDrm Members list.
See Also: Inherited members from Java.Lang.Object
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. | ||