Share via


MediaCodec.CryptoException.ErrorNoKey Field

Definition

This indicates that the requested key was not found when trying to perform a decrypt operation.

[Android.Runtime.Register("ERROR_NO_KEY")]
public const Android.Media.MediaCodecCryptoErrorType ErrorNoKey = 1;
[<Android.Runtime.Register("ERROR_NO_KEY")>]
val mutable ErrorNoKey : Android.Media.MediaCodecCryptoErrorType

Field Value

Value = 1

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 requested key was not found when trying to perform a decrypt operation. The operation can be retried after adding the correct decryption key.

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

Java documentation for android.media.MediaCodec.CryptoException.ERROR_NO_KEY.

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