Share via


MediaCodec.OutputFrame.Format Property

Definition

Returns a read-only MediaFormat for this frame.

public Android.Media.MediaFormat Format { [Android.Runtime.Register("getFormat", "()Landroid/media/MediaFormat;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getFormat", "()Landroid/media/MediaFormat;", "", ApiSince=30)>]
member this.Format : Android.Media.MediaFormat

Property Value

Attributes

Remarks

Returns a read-only MediaFormat for this frame. The returned object is valid only until the client calls MediaCodec#releaseOutputBuffer.

Java documentation for android.media.MediaCodec.OutputFrame.getFormat().

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