MediaDrm.ErrorCodes.ErrorKeyExpired Field

Definition

Caution

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

The key used for decryption is no longer valid due to license term expiration.

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

Field Value

Value = 2
Attributes

Remarks

The key used for decryption is no longer valid due to license term expiration.

The operation can be retried after updating the expired keys.

Java documentation for android.media.MediaDrm.ErrorCodes.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