Android Guides | Samples

Android.Media.MediaDrmEventType Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaDrm+IOnEventListener.OnEvent, and Android.Media.MediaDrm.MediaDrmEventArgs..ctor members.

Syntax

public enum MediaDrmEventType

Remarks

Members

Member NameDescription
KeyExpiredThis event type indicates that the licensed usage duration for keys in a session has expired. The keys are no longer valid.
KeyRequiredThis event type indicates that the app needs to request keys from a license server. The request message data is obtained using MediaDrm.getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>).
ProvisionRequiredThis event type indicates that the app needs to request a certificate from the provisioning server. The request message data is obtained using MediaDrm.GetProvisionRequest
VendorDefinedThis event may indicate some specific vendor-defined condition, see your DRM provider documentation for details

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MediaDrmEventType are listed below.

See Also: Enum

Public Fields

KeyExpiredMediaDrmEventType. This event type indicates that the licensed usage duration for keys in a session has expired. The keys are no longer valid.
KeyRequiredMediaDrmEventType. This event type indicates that the app needs to request keys from a license server. The request message data is obtained using MediaDrm.getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>).
ProvisionRequiredMediaDrmEventType. This event type indicates that the app needs to request a certificate from the provisioning server. The request message data is obtained using MediaDrm.GetProvisionRequest
VendorDefinedMediaDrmEventType. This event may indicate some specific vendor-defined condition, see your DRM provider documentation for details