DrmManagerClient.SaveRights(DrmRights, String, String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves rights to a specified path and associates that path with the content path.
[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")]
public virtual Android.Drm.DrmManagerClientErrorCode SaveRights (Android.Drm.DrmRights? drmRights, string? rightsPath, string? contentPath);
[<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")>]
abstract member SaveRights : Android.Drm.DrmRights * string * string -> Android.Drm.DrmManagerClientErrorCode
override this.SaveRights : Android.Drm.DrmRights * string * string -> Android.Drm.DrmManagerClientErrorCode
- drmRights
- DrmRights
The DrmRights
to be saved.
- rightsPath
- String
File path where rights will be saved.
- contentPath
- String
File path where content is saved.
ERROR_NONE for success; ERROR_UNKNOWN for failure.
- Attributes
If the call failed to save rights information at the given
rightsPath
.
Saves rights to a specified path and associates that path with the content path.
<strong>Note:</strong> For OMA or WM-DRM, rightsPath
and contentPath
can be null.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |