ApplicationMediaCapabilities.IsVideoMimeTypeSupported(String) Method

Definition

Query if a video codec format is supported by the application.

[Android.Runtime.Register("isVideoMimeTypeSupported", "(Ljava/lang/String;)Z", "", ApiSince=31)]
public bool IsVideoMimeTypeSupported (string videoMime);
[<Android.Runtime.Register("isVideoMimeTypeSupported", "(Ljava/lang/String;)Z", "", ApiSince=31)>]
member this.IsVideoMimeTypeSupported : string -> bool

Parameters

videoMime
String

The mime type of the video codec format. Must be the one used in MediaFormat#KEY_MIME.

Returns

true if application supports the video codec format, false otherwise.

Attributes

Remarks

Java documentation for android.media.ApplicationMediaCapabilities.isVideoMimeTypeSupported(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