Back to Exoplayer

MetadataInputBuffer (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/MetadataInputBuffer.html

latest3.8 KB
Original Source

Package com.google.android.exoplayer2.metadata

Class MetadataInputBuffer


[@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.

Nested Class Summary

- 

Nested classes/interfaces inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer

DecoderInputBuffer.BufferReplacementMode, DecoderInputBuffer.InsufficientCapacityException

Field Summary

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. |

- 

Fields inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer

BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, format, supplementalData, timeUs, waitingForKeys

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | MetadataInputBuffer() | Deprecated. |

Method Summary

- 

Methods inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer

clear, ensureSpaceForWrite, flip, isEncrypted, newNoDataInstance, resetSupplementalData

- 

Methods inherited from class com.google.android.exoplayer2.decoder.Buffer

addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, isLastSample, setFlags

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

subsampleOffsetUs

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.

Constructor Detail

- 

MetadataInputBuffer

public MetadataInputBuffer()

Deprecated.