MediaDrm.ErrorCodes.ErrorSessionNotOpened Field

Definition

Caution

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

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, the session being reclaimed by the resource manager, or a non-existent session id.

[Android.Runtime.Register("ERROR_SESSION_NOT_OPENED", 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 ErrorSessionNotOpened = 5;
[<Android.Runtime.Register("ERROR_SESSION_NOT_OPENED", 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 ErrorSessionNotOpened : Android.Media.DrmErrorCode

Field Value

Value = 5
Attributes

Remarks

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, the session being reclaimed by the resource manager, or a non-existent session id.

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