Condividi tramite


MediaCodec.BufferFlagKeyFrame Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.

This indicates that the (encoded) buffer marked as such contains the data for a key frame.

[Android.Runtime.Register("BUFFER_FLAG_KEY_FRAME")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)]
public const Android.Media.MediaCodecBufferFlags BufferFlagKeyFrame = 1;
[<Android.Runtime.Register("BUFFER_FLAG_KEY_FRAME")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)>]
val mutable BufferFlagKeyFrame : Android.Media.MediaCodecBufferFlags

Field Value

Value = 1
Attributes

Remarks

This indicates that the (encoded) buffer marked as such contains the data for a key frame.

Java documentation for android.media.MediaCodec.BUFFER_FLAG_KEY_FRAME.

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