Share via


MediaCodec.CryptoException.ErrorLostState Field

Definition

This error indicates that session state has been invalidated.

[Android.Runtime.Register("ERROR_LOST_STATE", ApiSince=29)]
public const Android.Media.MediaCodecCryptoErrorType ErrorLostState = 9;
[<Android.Runtime.Register("ERROR_LOST_STATE", ApiSince=29)>]
val mutable ErrorLostState : Android.Media.MediaCodecCryptoErrorType

Field Value

Value = 9

Implements

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

Remarks

This error indicates that session state has been invalidated. It can occur on devices that are not capable of retaining crypto session state across device suspend/resume. The session must be closed and a new session opened to resume operation.

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

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

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