MediaDrm.ErrorCodes.ErrorLostState Field

Definition

Caution

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

The session state has been invalidated.

[Android.Runtime.Register("ERROR_LOST_STATE", 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 ErrorLostState = 9;
[<Android.Runtime.Register("ERROR_LOST_STATE", 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 ErrorLostState : Android.Media.DrmErrorCode

Field Value

Value = 9
Attributes

Remarks

The session state has been invalidated. This 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.

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