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