MediaCodec.GetOutputFormat(Int32) Method

Definition

Returns the output format for a specific output buffer.

[Android.Runtime.Register("getOutputFormat", "(I)Landroid/media/MediaFormat;", "")]
public Android.Media.MediaFormat GetOutputFormat (int index);
[<Android.Runtime.Register("getOutputFormat", "(I)Landroid/media/MediaFormat;", "")>]
member this.GetOutputFormat : int -> Android.Media.MediaFormat

Parameters

index
Int32

The index of a client-owned input buffer previously returned from a call to #dequeueInputBuffer.

Returns

the format for the output buffer, or null if the index is not a dequeued output buffer.

Attributes

Remarks

Returns the output format for a specific output buffer.

Java documentation for android.media.MediaCodec.getOutputFormat(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.

Applies to