Share via


MediaDrm.SessionException.ErrorCode Property

Definition

Retrieve the error code associated with the SessionException

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

Property Value

Attributes

Remarks

Retrieve the error code associated with the SessionException

This member is deprecated. Please use #isTransient() instead of comparing the return value of #getErrorCode() against SessionException#ERROR_RESOURCE_CONTENTION.

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