Freigeben über


MediaDrm.ErrorCodes.ErrorKeyNotLoaded Field

Definition

Caution

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

Either the key was not loaded from the license before attempting the operation, or the key ID parameter provided by the app is incorrect.

[Android.Runtime.Register("ERROR_KEY_NOT_LOADED", 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 ErrorKeyNotLoaded = 16;
[<Android.Runtime.Register("ERROR_KEY_NOT_LOADED", 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 ErrorKeyNotLoaded : Android.Media.DrmErrorCode

Field Value

Value = 16
Attributes

Remarks

Either the key was not loaded from the license before attempting the operation, or the key ID parameter provided by the app is incorrect.

Ensure the proper keys are in the license, and check the key ID parameter provided by the app is correct. Check with the MediaDrm plugin vendor for the expected license format.

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

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