DrmManagerClient.CloseConvertSession(Int32) Method

Definition

Informs the DRM plug-in (agent) that there is no more data to convert or that an error has occurred.

[Android.Runtime.Register("closeConvertSession", "(I)Landroid/drm/DrmConvertedStatus;", "GetCloseConvertSession_IHandler")]
public virtual Android.Drm.DrmConvertedStatus? CloseConvertSession (int convertId);
[<Android.Runtime.Register("closeConvertSession", "(I)Landroid/drm/DrmConvertedStatus;", "GetCloseConvertSession_IHandler")>]
abstract member CloseConvertSession : int -> Android.Drm.DrmConvertedStatus
override this.CloseConvertSession : int -> Android.Drm.DrmConvertedStatus

Parameters

convertId
Int32

Handle for the conversion session.

Returns

A DrmConvertedStatus object that contains the status of the data conversion, the converted data, and the offset for the header and body signature.

Attributes

Remarks

Informs the DRM plug-in (agent) that there is no more data to convert or that an error has occurred. Upon successful conversion of the data, the DRM agent will provide an offset value indicating where the header and body signature should be added. Appending the signature is necessary to protect the integrity of the converted file.

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