DrmManagerClient.GetOriginalMimeType Method

Definition

Overloads

GetOriginalMimeType(Uri)

Retrieves the MIME type embedded in the original content.

GetOriginalMimeType(String)

Retrieves the MIME type embedded in the original content.

GetOriginalMimeType(Uri)

Retrieves the MIME type embedded in the original content.

[Android.Runtime.Register("getOriginalMimeType", "(Landroid/net/Uri;)Ljava/lang/String;", "GetGetOriginalMimeType_Landroid_net_Uri_Handler")]
public virtual string? GetOriginalMimeType (Android.Net.Uri? uri);
[<Android.Runtime.Register("getOriginalMimeType", "(Landroid/net/Uri;)Ljava/lang/String;", "GetGetOriginalMimeType_Landroid_net_Uri_Handler")>]
abstract member GetOriginalMimeType : Android.Net.Uri -> string
override this.GetOriginalMimeType : Android.Net.Uri -> string

Parameters

uri
Uri

URI of the rights-protected content.

Returns

MIME type of the original content, such as video/mpeg.

Attributes

Remarks

Retrieves the MIME type embedded in the original content.

Java documentation for android.drm.DrmManagerClient.getOriginalMimeType(android.net.Uri).

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

GetOriginalMimeType(String)

Retrieves the MIME type embedded in the original content.

[Android.Runtime.Register("getOriginalMimeType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetOriginalMimeType_Ljava_lang_String_Handler")]
public virtual string? GetOriginalMimeType (string? path);
[<Android.Runtime.Register("getOriginalMimeType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetOriginalMimeType_Ljava_lang_String_Handler")>]
abstract member GetOriginalMimeType : string -> string
override this.GetOriginalMimeType : string -> string

Parameters

path
String

Path to the rights-protected content.

Returns

The MIME type of the original content, such as video/mpeg.

Attributes

Remarks

Retrieves the MIME type embedded in the original content.

Java documentation for android.drm.DrmManagerClient.getOriginalMimeType(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