DrmManagerClient.CloseConvertSession(Int32) Method
Definition
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.
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.