DrmEvent Constructors
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.
Overloads
DrmEvent(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DrmEvent(Int32, Int32, String) |
Creates a |
DrmEvent(Int32, Int32, String, IDictionary<String,Object>) |
Creates a |
DrmEvent(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DrmEvent (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Drm.DrmEvent : nativeint * Android.Runtime.JniHandleOwnership -> Android.Drm.DrmEvent
Parameters
- 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
DrmEvent(Int32, Int32, String)
Creates a DrmEvent
object with the specified parameters.
[Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "")]
protected DrmEvent (int uniqueId, int type, string? message);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "")>]
new Android.Drm.DrmEvent : int * int * string -> Android.Drm.DrmEvent
Parameters
- uniqueId
- Int32
Unique session identifier.
- type
- Int32
Type of information.
- message
- String
Message description.
- Attributes
Remarks
Creates a DrmEvent
object with the specified parameters.
Java documentation for android.drm.DrmEvent.DrmEvent(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
DrmEvent(Int32, Int32, String, IDictionary<String,Object>)
Creates a DrmEvent
object with the specified parameters.
[Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/util/HashMap;)V", "")]
protected DrmEvent (int uniqueId, int 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.DrmEvent : int * int * string * System.Collections.Generic.IDictionary<string, Java.Lang.Object> -> Android.Drm.DrmEvent
Parameters
- uniqueId
- Int32
Unique session identifier.
- type
- Int32
Type of information.
- message
- String
Message description.
- attributes
- IDictionary<String,Object>
Attributes for extensible information.
- Attributes
Remarks
Creates a DrmEvent
object with the specified parameters.
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.