Share via


DrmManagerClient.OpenConvertSession(String) Method

Definition

Initiates a new conversion session.

[Android.Runtime.Register("openConvertSession", "(Ljava/lang/String;)I", "GetOpenConvertSession_Ljava_lang_String_Handler")]
public virtual int OpenConvertSession (string? mimeType);
[<Android.Runtime.Register("openConvertSession", "(Ljava/lang/String;)I", "GetOpenConvertSession_Ljava_lang_String_Handler")>]
abstract member OpenConvertSession : string -> int
override this.OpenConvertSession : string -> int

Parameters

mimeType
String

MIME type of the input data packet.

Returns

A convert ID that is used used to maintain the conversion session.

Attributes

Remarks

Initiates a new conversion session. An application must initiate a conversion session with this method each time it downloads a rights-protected file that needs to be converted.

This method applies only to forward-locking (copy protection) DRM schemes.

Java documentation for android.drm.DrmManagerClient.openConvertSession(java.lang.String).

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