docs/doc/reference/com/google/android/exoplayer2/metadata/MetadataInputBuffer.html
Package com.google.android.exoplayer2.metadata
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classMetadataInputBufferextends[DecoderInputBuffer](../decoder/DecoderInputBuffer.html "class in com.google.android.exoplayer2.decoder")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
A DecoderInputBuffer for a MetadataDecoder.
-
DecoderInputBuffer.BufferReplacementMode, DecoderInputBuffer.InsufficientCapacityException
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | subsampleOffsetUs |
Deprecated.
An offset that must be added to the metadata's timestamps after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
|
-
BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, format, supplementalData, timeUs, waitingForKeys
Constructors | Constructor | Description |
| --- | --- |
| MetadataInputBuffer() |
Deprecated.
|
-
clear, ensureSpaceForWrite, flip, isEncrypted, newNoDataInstance, resetSupplementalData
-
addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, isLastSample, setFlags
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public long subsampleOffsetUs
Deprecated.
An offset that must be added to the metadata's timestamps after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
-
public MetadataInputBuffer()
Deprecated.