Share via


MediaDrm.MediaDrmStateException.ErrorCode Property

Definition

Returns error code associated with this MediaDrmStateException.

public int ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=31)>]
member this.ErrorCode : int

Property Value

an error code defined in MediaDrm.ErrorCodes.

Attributes

Remarks

Returns error code associated with this MediaDrmStateException.

Please refer to ErrorCodes for the general error handling strategy and details about each possible return value.

Java documentation for android.media.MediaDrm.MediaDrmStateException.getErrorCode().

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