Android.Drm.DrmManagerClient.AcquireRights Method
Processes a given Android.Drm.DrmInfoRequest and returns the rights information asynchronously.

Syntax

[Android.Runtime.Register("acquireRights", "(Landroid/drm/DrmInfoRequest;)I", "GetAcquireRights_Landroid_drm_DrmInfoRequest_Handler")]
[return:Android.Runtime.GeneratedEnum]
public virtual DrmManagerClientErrorCode AcquireRights (DrmInfoRequest drmInfoRequest)

Parameters

drmInfoRequest
The Android.Drm.DrmInfoRequest used to acquire the rights.

Returns

Documentation for this section has not yet been entered.

Remarks

Processes a given Android.Drm.DrmInfoRequest and returns the rights information asynchronously.

This is a utility method that consists of an DrmManagerClient.AcquireDrmInfo(DrmInfoRequest) and a DrmManagerClient.ProcessDrmInfo(DrmInfo) method call. This utility method can be used only if the selected DRM plug-in (agent) supports this sequence of calls. Some DRM agents, such as OMA, do not support this utility method, in which case an application must invoke DrmManagerClient.AcquireDrmInfo(DrmInfoRequest) and DrmManagerClient.ProcessDrmInfo(DrmInfo) separately.

[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