Share via


DrmInfoRequest Constructors

Definition

Overloads

DrmInfoRequest(DrmInfoRequestType, String)

Creates a DrmInfoRequest object with type and MIME type.

DrmInfoRequest(IntPtr, JniHandleOwnership)

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

DrmInfoRequest(DrmInfoRequestType, String)

Creates a DrmInfoRequest object with type and MIME type.

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

Parameters

infoType
DrmInfoRequestType

Type of information.

mimeType
String

MIME type.

Attributes

Remarks

Creates a DrmInfoRequest object with type and MIME type.

Java documentation for android.drm.DrmInfoRequest.DrmInfoRequest(int, 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

DrmInfoRequest(IntPtr, JniHandleOwnership)

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

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

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