MediaFormat.CreateVideoFormat(String, Int32, Int32) 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 video format.
[Android.Runtime.Register("createVideoFormat", "(Ljava/lang/String;II)Landroid/media/MediaFormat;", "")]
public static Android.Media.MediaFormat CreateVideoFormat (string mime, int width, int height);
[<Android.Runtime.Register("createVideoFormat", "(Ljava/lang/String;II)Landroid/media/MediaFormat;", "")>]
static member CreateVideoFormat : string * int * int -> Android.Media.MediaFormat
Parameters
- mime
- String
The mime type of the content.
- width
- Int32
The width of the content (in pixels)
- height
- Int32
The height of the content (in pixels)
Returns
- Attributes
Remarks
Creates a minimal video format.
Java documentation for android.media.MediaFormat.createVideoFormat(java.lang.String, int, 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.