Android.Media.MediaFormat.CreateSubtitleFormat Method
Creates a minimal subtitle format.

Syntax

[Android.Runtime.Register("createSubtitleFormat", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/MediaFormat;", "")]
public static MediaFormat CreateSubtitleFormat (string mime, string language)

Parameters

mime
The mime type of the content.
language
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

Documentation for this section has not yet been entered.

Remarks

Creates a minimal subtitle format.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16