AppInfoTableDecoder


@UnstableApi
public final class AppInfoTableDecoder extends 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

static final int

See table 16 in section 5.3.4.6.

Public constructors

Protected methods

@Nullable Metadata
decode(MetadataInputBuffer inputBuffer, ByteBuffer buffer)

Called by decode after input buffer validation has been performed.

Inherited methods

From androidx.media3.extractor.metadata.SimpleMetadataDecoder
final @Nullable Metadata

Decodes a Metadata element from the provided input buffer.

Constants

APPLICATION_INFORMATION_TABLE_ID

public static final int APPLICATION_INFORMATION_TABLE_ID = 116

See table 16 in section 5.3.4.6.

Public constructors

AppInfoTableDecoder

public AppInfoTableDecoder()

Protected methods

decode

protected @Nullable Metadata decode(MetadataInputBuffer inputBuffer, ByteBuffer buffer)

Called by decode after input buffer validation has been performed.

Parameters
MetadataInputBuffer inputBuffer

The input buffer to decode.

ByteBuffer buffer

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

Returns
@Nullable Metadata

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