Dela via


MediaFormat Constructors

Definition

Overloads

MediaFormat()

Creates an empty MediaFormat

MediaFormat(MediaFormat)

Create a copy of a media format object.

MediaFormat()

Creates an empty MediaFormat

[Android.Runtime.Register(".ctor", "()V", "")]
public MediaFormat ();
Attributes

Remarks

Creates an empty MediaFormat

Java documentation for android.media.MediaFormat.MediaFormat().

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

MediaFormat(MediaFormat)

Create a copy of a media format object.

[Android.Runtime.Register(".ctor", "(Landroid/media/MediaFormat;)V", "", ApiSince=29)]
public MediaFormat (Android.Media.MediaFormat other);
[<Android.Runtime.Register(".ctor", "(Landroid/media/MediaFormat;)V", "", ApiSince=29)>]
new Android.Media.MediaFormat : Android.Media.MediaFormat -> Android.Media.MediaFormat

Parameters

other
MediaFormat
Attributes

Remarks

Create a copy of a media format object.

Java documentation for android.media.MediaFormat.MediaFormat(android.media.MediaFormat).

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