次の方法で共有


DrmInfoEvent Constructors

Definition

Overloads

DrmInfoEvent(IntPtr, JniHandleOwnership)

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

DrmInfoEvent(Int32, DrmInfoEventType, String)

Creates a DrmInfoEvent object with the specified parameters.

DrmInfoEvent(Int32, DrmInfoEventType, String, IDictionary<String,Object>)

Creates a DrmInfoEvent object with the specified parameters.

DrmInfoEvent(IntPtr, JniHandleOwnership)

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

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

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

DrmInfoEvent(Int32, DrmInfoEventType, String)

Creates a DrmInfoEvent object with the specified parameters.

[Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "")]
public DrmInfoEvent (int uniqueId, Android.Drm.DrmInfoEventType type, string? message);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "")>]
new Android.Drm.DrmInfoEvent : int * Android.Drm.DrmInfoEventType * string -> Android.Drm.DrmInfoEvent

Parameters

uniqueId
Int32

Unique session identifier.

type
DrmInfoEventType

Type of the event. Must be any of the event types defined above, or the constants defined in DrmEvent.

message
String

Message description. It can be null.

Attributes

Remarks

Creates a DrmInfoEvent object with the specified parameters.

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

DrmInfoEvent(Int32, DrmInfoEventType, String, IDictionary<String,Object>)

Creates a DrmInfoEvent object with the specified parameters.

[Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/util/HashMap;)V", "")]
public DrmInfoEvent (int uniqueId, Android.Drm.DrmInfoEventType type, string? message, System.Collections.Generic.IDictionary<string,Java.Lang.Object>? attributes);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/util/HashMap;)V", "")>]
new Android.Drm.DrmInfoEvent : int * Android.Drm.DrmInfoEventType * string * System.Collections.Generic.IDictionary<string, Java.Lang.Object> -> Android.Drm.DrmInfoEvent

Parameters

uniqueId
Int32

Unique session identifier.

type
DrmInfoEventType

Type of the event. Must be any of the event types defined above, or the constants defined in DrmEvent

message
String

Message description. It can be null.

attributes
IDictionary<String,Object>

Attributes for extensible information. Could be any information provided by the plug-in.

Attributes

Remarks

Creates a DrmInfoEvent object with the specified parameters.

Java documentation for android.drm.DrmInfoEvent.DrmInfoEvent(int, int, java.lang.String, java.util.HashMap<java.lang.String, java.lang.Object>).

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