Package com.castlabs.android.player
Interface MetadataListener
- All Known Implementing Classes:
EventMetadataListener
public interface MetadataListener
You can use this listener to get callbacks about timed Meta-Data attached to a stream. This is
a generic listener that receives generic events. You can cast them to the specific implementations,
i.e.
Id3Frame
for ID-3 meta-data or one of the SCTE-35 meta-data classes such as
SpliceCommand
.
Typically you would expect to receive ID-3 timedd meta-data and emsg
(EventMessage
) or SCTE-35 marker events for
DASH.
Note that all callbacks will be triggered on the UI thread.- Since:
- 4.0.7
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMetadata
(List<com.google.android.exoplayer2.metadata.Metadata.Entry> metadata) Callback method that will be triggered with newly available meta-data.
-
Method Details
-
onMetadata
Callback method that will be triggered with newly available meta-data.- Parameters:
metadata
- The meta-data
-