MediaDrm.ErrorCodes.ErrorCertificateMalformed Field

Definition

Caution

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

Certificate is malformed or is of the wrong type.

[Android.Runtime.Register("ERROR_CERTIFICATE_MALFORMED", 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 ErrorCertificateMalformed = 10;
[<Android.Runtime.Register("ERROR_CERTIFICATE_MALFORMED", 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 ErrorCertificateMalformed : Android.Media.DrmErrorCode

Field Value

Value = 10
Attributes

Remarks

Certificate is malformed or is of the wrong type.

Ensure the certificate provided by the app or returned from the license server is valid. Check with the MediaDrm plugin vendor for the expected certificate format.

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

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