Compartilhar via


MediaCodec.CryptoException.ErrorKeyExpired Field

Definition

This indicates that the key used for decryption is no longer valid due to license term expiration.

[Android.Runtime.Register("ERROR_KEY_EXPIRED")]
public const Android.Media.MediaCodecCryptoErrorType ErrorKeyExpired = 2;
[<Android.Runtime.Register("ERROR_KEY_EXPIRED")>]
val mutable ErrorKeyExpired : Android.Media.MediaCodecCryptoErrorType

Field Value

Value = 2

Implements

Android.Media.IMediaDrmThrowable._members Android.Media.IMediaDrmThrowable.cb_getErrorContext Android.Media.IMediaDrmThrowable.cb_getOemError Android.Media.IMediaDrmThrowable.cb_getVendorError
Attributes

Remarks

This indicates that the key used for decryption is no longer valid due to license term expiration. The operation can be retried after updating the expired keys.

This member is deprecated. Please use MediaDrm.ErrorCodes#ERROR_KEY_EXPIRED.

Java documentation for android.media.MediaCodec.CryptoException.ERROR_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