Language

MediaCodec.BufferInfo.Offset Property

Definition

The recorded start offset of the data in the buffer.

[Android.Runtime.Register("offset")]
public int Offset { get; set; }
[<Android.Runtime.Register("offset")>]
member this.Offset : int with get, set

Property Value

The byte offset recorded for the start of the buffer's valid data.

Attributes

Remarks

The recorded start offset of the data in the buffer. A fallback record created by BufferInfos has offset zero, which may not be the actual buffer offset.

Java documentation for android.media.MediaCodec.BufferInfo.offset.

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