다음을 통해 공유


MediaDrm.EventKeyRequired Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaDrmEventType enum directly instead of this field.

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

[Android.Runtime.Register("EVENT_KEY_REQUIRED")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaDrmEventType enum directly instead of this field.", true)]
public const Android.Media.MediaDrmEventType EventKeyRequired = 2;
[<Android.Runtime.Register("EVENT_KEY_REQUIRED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaDrmEventType enum directly instead of this field.", true)>]
val mutable EventKeyRequired : Android.Media.MediaDrmEventType

Field Value

Value = 2
Attributes

Remarks

This event type indicates that the app needs to request keys from a license server. The request message data is obtained using #getKeyRequest.

Java documentation for android.media.MediaDrm.EVENT_KEY_REQUIRED.

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