Freigeben über


MediaDrm.ErrorCodes.ErrorLicenseState Field

Definition

Caution

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

Offline license is in an invalid state for the attempted operation.

[Android.Runtime.Register("ERROR_LICENSE_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 ErrorLicenseState = 22;
[<Android.Runtime.Register("ERROR_LICENSE_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 ErrorLicenseState : Android.Media.DrmErrorCode

Field Value

Value = 22
Attributes

Remarks

Offline license is in an invalid state for the attempted operation.

Check the sequence of API calls made that can affect offline license state. For example, this could happen when the app attempts to restore a license after it has been released.

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