Back to Exoplayer

AppInfoTableDecoder (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/dvbsi/AppInfoTableDecoder.html

latest4.9 KB
Original Source

Package com.google.android.exoplayer2.metadata.dvbsi

Class AppInfoTableDecoder


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classAppInfoTableDecoderextends[SimpleMetadataDecoder](../SimpleMetadataDecoder.html "class in com.google.android.exoplayer2.metadata")

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 int | APPLICATION_INFORMATION_TABLE_ID | Deprecated.

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 Metadata | decode​(MetadataInputBuffer inputBuffer, ByteBuffer buffer) | Deprecated.

Called by SimpleMetadataDecoder.decode(MetadataInputBuffer) after input buffer validation has been performed, except in the case that Buffer.isDecodeOnly() is true. |

- 

Methods inherited from class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder

decode

- 

Methods inherited from class java.lang.Object

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

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

Constructor Detail

- 

AppInfoTableDecoder

public AppInfoTableDecoder()

Deprecated.

Method Detail

- 

decode

@Nullable
protected[Metadata](../Metadata.html "class in com.google.android.exoplayer2.metadata")decode​([MetadataInputBuffer](../MetadataInputBuffer.html "class in com.google.android.exoplayer2.metadata")inputBuffer,[ByteBuffer](https://developer.android.com/reference/java/nio/ByteBuffer.html "class or interface in java.nio")buffer)

Deprecated.

Description copied from class: SimpleMetadataDecoder

Called by SimpleMetadataDecoder.decode(MetadataInputBuffer) after input buffer validation has been performed, except in the case that Buffer.isDecodeOnly() is true. Specified by:decode in class SimpleMetadataDecoderParameters:inputBuffer - The input buffer to decode.buffer - The input buffer's data buffer, for convenience. Validation by SimpleMetadataDecoder.decode(com.google.android.exoplayer2.metadata.MetadataInputBuffer) guarantees that ByteBuffer.hasArray(), Buffer.position() and ByteBuffer.arrayOffset() are true, 0 and 0 respectively.Returns:The decoded metadata object, or null if the metadata could not be decoded.