MetadataDecoderFactory
@UnstableApi
public interface MetadataDecoderFactory
A factory for MetadataDecoder instances.
Summary
Constants |
|
|---|---|
default static final MetadataDecoderFactory |
Default |
Public methods |
|
|---|---|
abstract MetadataDecoder |
createDecoder(Format format)Creates a |
abstract boolean |
supportsFormat(Format format)Returns whether the factory is able to instantiate a |
Constants
DEFAULT
default static final MetadataDecoderFactory DEFAULT
Default MetadataDecoder implementation.
The formats supported by this factory are:
- ID3 (
Id3Decoder) - EMSG (
EventMessageDecoder) - SCTE-35 (
SpliceInfoDecoder) - ICY (
IcyDecoder)
Public methods
createDecoder
abstract MetadataDecoder createDecoder(Format format)
Creates a MetadataDecoder for the given Format.
| Returns | |
|---|---|
MetadataDecoder |
A new |
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
If the |
supportsFormat
abstract boolean supportsFormat(Format format)
Returns whether the factory is able to instantiate a MetadataDecoder for the given Format.
| Returns | |
|---|---|
boolean |
Whether the factory can instantiate a suitable |