MediaDrmResetException 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
| Name | Description |
|---|---|
| MediaDrmResetException(String) |
Creates a DRM-reset exception carrying the supplied message. |
| MediaDrmResetException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
MediaDrmResetException(String)
Creates a DRM-reset exception carrying the supplied message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)]
public MediaDrmResetException(string? detailMessage);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Media.MediaDrmResetException : string -> Android.Media.MediaDrmResetException
Parameters
- detailMessage
- String
The message passed to the illegal-state exception base.
- Attributes
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
MediaDrmResetException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected MediaDrmResetException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.MediaDrmResetException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.MediaDrmResetException
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Controls whether the incoming JNI reference is released after the exception peer is constructed.
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.