Android.Drm.DrmManagerClient.SaveRights Method
Saves rights to a specified path and associates that path with the content path.

Syntax

[Android.Runtime.Register("saveRights", "(Landroid/drm/DrmRights;Ljava/lang/String;Ljava/lang/String;)I", "GetSaveRights_Landroid_drm_DrmRights_Ljava_lang_String_Ljava_lang_String_Handler")]
[return:Android.Runtime.GeneratedEnum]
public virtual DrmManagerClientErrorCode SaveRights (DrmRights drmRights, string rightsPath, string contentPath)

Parameters

drmRights
The Android.Drm.DrmRights to be saved.
rightsPath
File path where rights will be saved.
contentPath
File path where content is saved.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionIf the call failed to save rights information at the given rightsPath.

Remarks

Saves rights to a specified path and associates that path with the content path.

Note: For OMA or WM-DRM, rightsPath and contentPath can be null.

[Android Documentation]

Requirements

Namespace: Android.Drm
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11