DrmInfo Constructors

Definition

Overloads

DrmInfo(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DrmInfo(DrmInfoEventType, Byte[], String)

Creates a DrmInfo object with the given parameters.

DrmInfo(DrmInfoEventType, String, String)

Creates a DrmInfo object with the given parameters.

DrmInfo(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DrmInfo (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Drm.DrmInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Drm.DrmInfo

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

DrmInfo(DrmInfoEventType, Byte[], String)

Creates a DrmInfo object with the given parameters.

[Android.Runtime.Register(".ctor", "(I[BLjava/lang/String;)V", "")]
public DrmInfo (Android.Drm.DrmInfoEventType infoType, byte[]? data, string? mimeType);
[<Android.Runtime.Register(".ctor", "(I[BLjava/lang/String;)V", "")>]
new Android.Drm.DrmInfo : Android.Drm.DrmInfoEventType * byte[] * string -> Android.Drm.DrmInfo

Parameters

infoType
DrmInfoEventType

The type of information.

data
Byte[]

The trigger data.

mimeType
String

The MIME type.

Attributes

Remarks

Creates a DrmInfo object with the given parameters.

Java documentation for android.drm.DrmInfo.DrmInfo(int, byte[], 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

DrmInfo(DrmInfoEventType, String, String)

Creates a DrmInfo object with the given parameters.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/String;)V", "")]
public DrmInfo (Android.Drm.DrmInfoEventType infoType, string? path, string? mimeType);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Drm.DrmInfo : Android.Drm.DrmInfoEventType * string * string -> Android.Drm.DrmInfo

Parameters

infoType
DrmInfoEventType

The type of information.

path
String

The trigger data.

mimeType
String

The MIME type.

Attributes

Remarks

Creates a DrmInfo object with the given parameters.

Java documentation for android.drm.DrmInfo.DrmInfo(int, java.lang.String, 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