Condividi tramite


MediaDrm.EventKeyExpired Field

Definition

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

[Android.Runtime.Register("EVENT_KEY_EXPIRED")]
public const Android.Media.MediaDrmEventType EventKeyExpired = 3;
[<Android.Runtime.Register("EVENT_KEY_EXPIRED")>]
val mutable EventKeyExpired : Android.Media.MediaDrmEventType

Field Value

Value = 3
Attributes

Remarks

This event type indicates that the licensed usage duration for keys in a session has expired. The keys are no longer valid.

This member is deprecated. Use OnKeyStatusChangeListener#onKeyStatusChange and check for MediaDrm.KeyStatus#STATUS_EXPIRED in the MediaDrm.KeyStatus instead.

Java documentation for android.media.MediaDrm.EVENT_KEY_EXPIRED.

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