MediaFormat.CreateSubtitleFormat(String, String) Method
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.
Creates a minimal subtitle format.
[Android.Runtime.Register("createSubtitleFormat", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/MediaFormat;", "")]
public static Android.Media.MediaFormat CreateSubtitleFormat (string mime, string? language);
[<Android.Runtime.Register("createSubtitleFormat", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/MediaFormat;", "")>]
static member CreateSubtitleFormat : string * string -> Android.Media.MediaFormat
Parameters
- mime
- String
The mime type of the content.
- language
- String
The language of the content, using either ISO 639-1 or 639-2/T codes. Specify null or "und" if language information is only included in the content. (This will also work if there are multiple language tracks in the content.)
Returns
- Attributes
Remarks
Creates a minimal subtitle format.
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.