MediaCodec.QueueRequest.SetFlags(Int32) Method

Definition

Set flags to this queue request.

[Android.Runtime.Register("setFlags", "(I)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)]
public Android.Media.MediaCodec.QueueRequest SetFlags(int flags);
[<Android.Runtime.Register("setFlags", "(I)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)>]
member this.SetFlags : int -> Android.Media.MediaCodec.QueueRequest

Parameters

flags
Int32

A bitmask of flags MediaCodec.BUFFER_FLAG_CODEC_CONFIG and MediaCodec.BUFFER_FLAG_END_OF_STREAM. While not prohibited, most codecs do not use the MediaCodec.BUFFER_FLAG_KEY_FRAME flag for input buffers. Value is either 0 or a combination of the following: MediaCodec.BUFFER_FLAG_SYNC_FRAME MediaCodec.BUFFER_FLAG_KEY_FRAME MediaCodec.BUFFER_FLAG_CODEC_CONFIG MediaCodec.BUFFER_FLAG_END_OF_STREAM MediaCodec.BUFFER_FLAG_PARTIAL_FRAME MediaCodec.BUFFER_FLAG_DECODE_ONLY

Returns

this object. This value cannot be null.

Attributes

Remarks

Set flags to this queue request.

Android reference for android.media.MediaCodec.QueueRequest.setFlags.

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