Class AppInfoTableDecoder
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
-
- com.google.android.exoplayer2.metadata.dvbsi.AppInfoTableDecoder
-
- All Implemented Interfaces:
MetadataDecoder
@Deprecated public final class AppInfoTableDecoder extends SimpleMetadataDecoder
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.Decoder for the DVB Application Information Table (AIT).For more info on the AIT see section 5.3.4 of the DVB ETSI TS 102 809 v1.1.1 spec.
-
-
Field Summary
Fields Modifier and Type Field Description static intAPPLICATION_INFORMATION_TABLE_IDDeprecated.See table 16 in section 5.3.4.6.
-
Constructor Summary
Constructors Constructor Description AppInfoTableDecoder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Metadatadecode(MetadataInputBuffer inputBuffer, ByteBuffer buffer)Deprecated.Called bySimpleMetadataDecoder.decode(MetadataInputBuffer)after input buffer validation has been performed, except in the case thatBuffer.isDecodeOnly()istrue.-
Methods inherited from class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
decode
-
-
-
-
Field Detail
-
APPLICATION_INFORMATION_TABLE_ID
public static final int APPLICATION_INFORMATION_TABLE_ID
Deprecated.See table 16 in section 5.3.4.6.- See Also:
- Constant Field Values
-
-
Method Detail
-
decode
@Nullable protected Metadata decode(MetadataInputBuffer inputBuffer, ByteBuffer buffer)
Deprecated.Description copied from class:SimpleMetadataDecoderCalled bySimpleMetadataDecoder.decode(MetadataInputBuffer)after input buffer validation has been performed, except in the case thatBuffer.isDecodeOnly()istrue.- Specified by:
decodein classSimpleMetadataDecoder- Parameters:
inputBuffer- The input buffer to decode.buffer- The input buffer'sdata buffer, for convenience. Validation bySimpleMetadataDecoder.decode(com.google.android.exoplayer2.metadata.MetadataInputBuffer)guarantees thatByteBuffer.hasArray(),Buffer.position()andByteBuffer.arrayOffset()aretrue,0and0respectively.- Returns:
- The decoded metadata object, or
nullif the metadata could not be decoded.
-
-