DrmInfo 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
DrmInfo(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DrmInfo(DrmInfoEventType, Byte[], String) |
Creates a |
DrmInfo(DrmInfoEventType, String, String) |
Creates a |
DrmInfo(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DrmInfo (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Drm.DrmInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Drm.DrmInfo
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
DrmInfo(DrmInfoEventType, Byte[], String)
Creates a DrmInfo
object with the given parameters.
[Android.Runtime.Register(".ctor", "(I[BLjava/lang/String;)V", "")]
public DrmInfo (Android.Drm.DrmInfoEventType infoType, byte[]? data, string? mimeType);
[<Android.Runtime.Register(".ctor", "(I[BLjava/lang/String;)V", "")>]
new Android.Drm.DrmInfo : Android.Drm.DrmInfoEventType * byte[] * string -> Android.Drm.DrmInfo
Parameters
- infoType
- DrmInfoEventType
The type of information.
- data
- Byte[]
The trigger data.
- mimeType
- String
The MIME type.
- Attributes
Remarks
Creates a DrmInfo
object with the given parameters.
Java documentation for android.drm.DrmInfo.DrmInfo(int, byte[], 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
DrmInfo(DrmInfoEventType, String, String)
Creates a DrmInfo
object with the given parameters.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/String;)V", "")]
public DrmInfo (Android.Drm.DrmInfoEventType infoType, string? path, string? mimeType);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Drm.DrmInfo : Android.Drm.DrmInfoEventType * string * string -> Android.Drm.DrmInfo
Parameters
- infoType
- DrmInfoEventType
The type of information.
- path
- String
The trigger data.
- mimeType
- String
The MIME type.
- Attributes
Remarks
Creates a DrmInfo
object with the given parameters.
Java documentation for android.drm.DrmInfo.DrmInfo(int, java.lang.String, 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.