Sdílet prostřednictvím


DrmManagerClient.CheckRightsStatus Method

Definition

Overloads

CheckRightsStatus(String, DrmStoreActionCode)

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

CheckRightsStatus(Uri, DrmStoreActionCode)

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

CheckRightsStatus(Uri)

Check whether the given content has valid rights.

CheckRightsStatus(String)

Checks whether the given content has valid rights.

CheckRightsStatus(String, DrmStoreActionCode)

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

[Android.Runtime.Register("checkRightsStatus", "(Ljava/lang/String;I)I", "GetCheckRightsStatus_Ljava_lang_String_IHandler")]
public virtual Android.Drm.DrmStoreRightsStatusCode CheckRightsStatus (string? path, Android.Drm.DrmStoreActionCode action);
[<Android.Runtime.Register("checkRightsStatus", "(Ljava/lang/String;I)I", "GetCheckRightsStatus_Ljava_lang_String_IHandler")>]
abstract member CheckRightsStatus : string * Android.Drm.DrmStoreActionCode -> Android.Drm.DrmStoreRightsStatusCode
override this.CheckRightsStatus : string * Android.Drm.DrmStoreActionCode -> Android.Drm.DrmStoreRightsStatusCode

Parameters

path
String

Path to the rights-protected content.

action
DrmStoreActionCode

The DrmStore.Action to perform.

Returns

An int representing the DrmStore.RightsStatus of the content.

Attributes

Remarks

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

Java documentation for android.drm.DrmManagerClient.checkRightsStatus(java.lang.String, int).

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

CheckRightsStatus(Uri, DrmStoreActionCode)

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

[Android.Runtime.Register("checkRightsStatus", "(Landroid/net/Uri;I)I", "GetCheckRightsStatus_Landroid_net_Uri_IHandler")]
public virtual Android.Drm.DrmStoreRightsStatusCode CheckRightsStatus (Android.Net.Uri? uri, Android.Drm.DrmStoreActionCode action);
[<Android.Runtime.Register("checkRightsStatus", "(Landroid/net/Uri;I)I", "GetCheckRightsStatus_Landroid_net_Uri_IHandler")>]
abstract member CheckRightsStatus : Android.Net.Uri * Android.Drm.DrmStoreActionCode -> Android.Drm.DrmStoreRightsStatusCode
override this.CheckRightsStatus : Android.Net.Uri * Android.Drm.DrmStoreActionCode -> Android.Drm.DrmStoreRightsStatusCode

Parameters

uri
Uri

URI for the rights-protected content.

action
DrmStoreActionCode

The DrmStore.Action to perform.

Returns

An int representing the DrmStore.RightsStatus of the content.

Attributes

Remarks

Checks whether the given rights-protected content has valid rights for the specified DrmStore.Action.

Java documentation for android.drm.DrmManagerClient.checkRightsStatus(android.net.Uri, int).

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

CheckRightsStatus(Uri)

Check whether the given content has valid rights.

[Android.Runtime.Register("checkRightsStatus", "(Landroid/net/Uri;)I", "GetCheckRightsStatus_Landroid_net_Uri_Handler")]
public virtual Android.Drm.DrmStoreRightsStatusCode CheckRightsStatus (Android.Net.Uri? uri);
[<Android.Runtime.Register("checkRightsStatus", "(Landroid/net/Uri;)I", "GetCheckRightsStatus_Landroid_net_Uri_Handler")>]
abstract member CheckRightsStatus : Android.Net.Uri -> Android.Drm.DrmStoreRightsStatusCode
override this.CheckRightsStatus : Android.Net.Uri -> Android.Drm.DrmStoreRightsStatusCode

Parameters

uri
Uri

URI of the rights-protected content.

Returns

An int representing the DrmStore.RightsStatus of the content.

Attributes

Remarks

Check whether the given content has valid rights.

Java documentation for android.drm.DrmManagerClient.checkRightsStatus(android.net.Uri).

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

CheckRightsStatus(String)

Checks whether the given content has valid rights.

[Android.Runtime.Register("checkRightsStatus", "(Ljava/lang/String;)I", "GetCheckRightsStatus_Ljava_lang_String_Handler")]
public virtual Android.Drm.DrmStoreRightsStatusCode CheckRightsStatus (string? path);
[<Android.Runtime.Register("checkRightsStatus", "(Ljava/lang/String;)I", "GetCheckRightsStatus_Ljava_lang_String_Handler")>]
abstract member CheckRightsStatus : string -> Android.Drm.DrmStoreRightsStatusCode
override this.CheckRightsStatus : string -> Android.Drm.DrmStoreRightsStatusCode

Parameters

path
String

Path to the rights-protected content.

Returns

An int representing the DrmStore.RightsStatus of the content.

Attributes

Remarks

Checks whether the given content has valid rights.

Java documentation for android.drm.DrmManagerClient.checkRightsStatus(java.lang.String).

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