次の方法で共有


MediaDrm.SessionException.ErrorResourceContention Field

Definition

This indicates that apps using MediaDrm sessions are temporarily exceeding the capacity of available crypto resources.

[Android.Runtime.Register("ERROR_RESOURCE_CONTENTION", ApiSince=29)]
public const Android.Media.ErrorCode ErrorResourceContention = 1;
[<Android.Runtime.Register("ERROR_RESOURCE_CONTENTION", ApiSince=29)>]
val mutable ErrorResourceContention : Android.Media.ErrorCode

Field Value

Value = 1

Implements

Android.Media.IMediaDrmThrowable._members Android.Media.IMediaDrmThrowable.cb_getErrorContext Android.Media.IMediaDrmThrowable.cb_getOemError Android.Media.IMediaDrmThrowable.cb_getVendorError
Attributes

Remarks

This indicates that apps using MediaDrm sessions are temporarily exceeding the capacity of available crypto resources. The app should retry the operation later.

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.ERROR_RESOURCE_CONTENTION.

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