Language

MediaDrmEventType Enum

Definition

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

public enum MediaDrmEventType
type MediaDrmEventType = 
Inheritance
MediaDrmEventType

Fields

Name Value Description
ProvisionRequired 1

This event type indicates that the app needs to request a certificate from the provisioning server.

KeyRequired 2

This event type indicates that the app needs to request keys from a license server.

KeyExpired 3

This event type indicates that the licensed usage duration for keys in a session has expired.

VendorDefined 4

This event may indicate some specific vendor-defined condition, see your DRM provider documentation for details

Android reference for android.media.MediaDrm.EVENT_VENDOR_DEFINED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SessionReclaimed 5

This event indicates that a session opened by the app has been reclaimed by the resource manager.

Android reference for android.media.MediaDrm.EVENT_SESSION_RECLAIMED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to