Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

MediaCodec.BufferInfo

extends Object
java.lang.Object
   ↳ android.media.MediaCodec.BufferInfo

Class Overview

Per buffer metadata includes an offset and size specifying the range of valid data in the associated codec buffer.

Summary

Fields
public int flags
public int offset
public long presentationTimeUs
public int size
Public Constructors
MediaCodec.BufferInfo ()
Public Methods
void set (int newOffset, int newSize, long newTimeUs, int newFlags)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int flags

public int offset

public long presentationTimeUs

public int size

Public Constructors

public MediaCodec.BufferInfo ()

Public Methods

public void set (int newOffset, int newSize, long newTimeUs, int newFlags)