MediaCodec.CryptoException.ErrorSessionNotOpened Field

Definition

This indicates that decryption was attempted on a session that is not opened, which could be due to a failure to open the session, closing the session prematurely, or the session being reclaimed by the resource manager.

[Android.Runtime.Register("ERROR_SESSION_NOT_OPENED", ApiSince=23)]
public const Android.Media.MediaCodecCryptoErrorType ErrorSessionNotOpened = 5;
[<Android.Runtime.Register("ERROR_SESSION_NOT_OPENED", ApiSince=23)>]
val mutable ErrorSessionNotOpened : Android.Media.MediaCodecCryptoErrorType

Field Value

Value = 5

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 decryption was attempted on a session that is not opened, which could be due to a failure to open the session, closing the session prematurely, or the session being reclaimed by the resource manager.

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

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

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