Share via


DrmManagerClient.RemoveRights Method

Definition

Overloads

RemoveRights(Uri)

Removes the rights associated with the given rights-protected content.

RemoveRights(String)

Removes the rights associated with the given rights-protected content.

RemoveRights(Uri)

Removes the rights associated with the given rights-protected content.

[Android.Runtime.Register("removeRights", "(Landroid/net/Uri;)I", "GetRemoveRights_Landroid_net_Uri_Handler")]
public virtual Android.Drm.DrmManagerClientErrorCode RemoveRights (Android.Net.Uri? uri);
[<Android.Runtime.Register("removeRights", "(Landroid/net/Uri;)I", "GetRemoveRights_Landroid_net_Uri_Handler")>]
abstract member RemoveRights : Android.Net.Uri -> Android.Drm.DrmManagerClientErrorCode
override this.RemoveRights : Android.Net.Uri -> Android.Drm.DrmManagerClientErrorCode

Parameters

uri
Uri

URI for the rights-protected content.

Returns

ERROR_NONE for success; ERROR_UNKNOWN for failure.

Attributes

Remarks

Removes the rights associated with the given rights-protected content.

Java documentation for android.drm.DrmManagerClient.removeRights(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

RemoveRights(String)

Removes the rights associated with the given rights-protected content.

[Android.Runtime.Register("removeRights", "(Ljava/lang/String;)I", "GetRemoveRights_Ljava_lang_String_Handler")]
public virtual Android.Drm.DrmManagerClientErrorCode RemoveRights (string? path);
[<Android.Runtime.Register("removeRights", "(Ljava/lang/String;)I", "GetRemoveRights_Ljava_lang_String_Handler")>]
abstract member RemoveRights : string -> Android.Drm.DrmManagerClientErrorCode
override this.RemoveRights : string -> Android.Drm.DrmManagerClientErrorCode

Parameters

path
String

Path to the rights-protected content.

Returns

ERROR_NONE for success; ERROR_UNKNOWN for failure.

Attributes

Remarks

Removes the rights associated with the given rights-protected content.

Java documentation for android.drm.DrmManagerClient.removeRights(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