AppInfoTableDecoder


@UnstableApi
class AppInfoTableDecoder : SimpleMetadataDecoder


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.

Summary

Constants

const Int

See table 16 in section 5.3.4.6.

Public constructors

Protected functions

Metadata?
decode(inputBuffer: MetadataInputBuffer!, buffer: ByteBuffer!)

Called by decode after input buffer validation has been performed.

Inherited functions

From androidx.media3.extractor.metadata.SimpleMetadataDecoder
Metadata?
decode(inputBuffer: MetadataInputBuffer!)

Decodes a Metadata element from the provided input buffer.

Constants

APPLICATION_INFORMATION_TABLE_ID

const val APPLICATION_INFORMATION_TABLE_ID = 116: Int

See table 16 in section 5.3.4.6.

Public constructors

AppInfoTableDecoder

AppInfoTableDecoder()

Protected functions

decode

protected fun decode(inputBuffer: MetadataInputBuffer!, buffer: ByteBuffer!): Metadata?

Called by decode after input buffer validation has been performed.

Parameters
inputBuffer: MetadataInputBuffer!

The input buffer to decode.

buffer: ByteBuffer!

The input buffer's data buffer, for convenience. Validation by decode guarantees that hasArray, position and arrayOffset are true, 0 and 0 respectively.

Returns
Metadata?

The decoded metadata object, or null if the metadata could not be decoded.