Compartilhar via


MediaDrm.ErrorCodes.ErrorLicenseRestore Field

Definition

Caution

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

Failed to restore an offline license because a field in the offline license is empty or malformed.

[Android.Runtime.Register("ERROR_LICENSE_RESTORE", 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 ErrorLicenseRestore = 21;
[<Android.Runtime.Register("ERROR_LICENSE_RESTORE", 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 ErrorLicenseRestore : Android.Media.DrmErrorCode

Field Value

Value = 21
Attributes

Remarks

Failed to restore an offline license because a field in the offline license is empty or malformed.

Try requesting the license again if the device is online.

Java documentation for android.media.MediaDrm.ErrorCodes.ERROR_LICENSE_RESTORE.

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