Freigeben über


MediaDrm.IsCryptoSchemeSupported Method

Definition

Overloads

IsCryptoSchemeSupported(UUID, String)

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType.

IsCryptoSchemeSupported(UUID, String, SecurityLevel)

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType at the requested security level.

IsCryptoSchemeSupported(UUID)

Query if the given scheme identified by its UUID is supported on this device.

IsCryptoSchemeSupported(UUID, String)

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType.

[Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;Ljava/lang/String;)Z", "")]
public static bool IsCryptoSchemeSupported (Java.Util.UUID uuid, string mimeType);
[<Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;Ljava/lang/String;)Z", "")>]
static member IsCryptoSchemeSupported : Java.Util.UUID * string -> bool

Parameters

uuid
UUID

The UUID of the crypto scheme.

mimeType
String

The MIME type of the media container, e.g. "video/mp4" or "video/webm"

Returns

Attributes

Remarks

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType.

Java documentation for android.media.MediaDrm.isCryptoSchemeSupported(java.util.UUID, 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

IsCryptoSchemeSupported(UUID, String, SecurityLevel)

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType at the requested security level.

[Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;Ljava/lang/String;I)Z", "", ApiSince=29)]
public static bool IsCryptoSchemeSupported (Java.Util.UUID uuid, string mimeType, Android.Media.SecurityLevel securityLevel);
[<Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;Ljava/lang/String;I)Z", "", ApiSince=29)>]
static member IsCryptoSchemeSupported : Java.Util.UUID * string * Android.Media.SecurityLevel -> bool

Parameters

uuid
UUID

The UUID of the crypto scheme.

mimeType
String

The MIME type of the media container, e.g. "video/mp4" or "video/webm"

securityLevel
SecurityLevel

the security level requested

Returns

Attributes

Remarks

Query if the given scheme identified by its UUID is supported on this device, and whether the DRM plugin is able to handle the media container format specified by mimeType at the requested security level.

Java documentation for android.media.MediaDrm.isCryptoSchemeSupported(java.util.UUID, java.lang.String, int).

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

IsCryptoSchemeSupported(UUID)

Query if the given scheme identified by its UUID is supported on this device.

[Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;)Z", "")]
public static bool IsCryptoSchemeSupported (Java.Util.UUID uuid);
[<Android.Runtime.Register("isCryptoSchemeSupported", "(Ljava/util/UUID;)Z", "")>]
static member IsCryptoSchemeSupported : Java.Util.UUID -> bool

Parameters

uuid
UUID

The UUID of the crypto scheme.

Returns

Attributes

Remarks

Query if the given scheme identified by its UUID is supported on this device.

Java documentation for android.media.MediaDrm.isCryptoSchemeSupported(java.util.UUID).

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