Package com.castlabs.android.player
Interface MetadataListener
-
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 asSpliceCommand
. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMetadata(List<com.google.android.exoplayer2.metadata.Metadata.Entry> metadata)
Callback method that will be triggered with newly available meta-data.
-
-
-
Method Detail
-
onMetadata
void onMetadata(List<com.google.android.exoplayer2.metadata.Metadata.Entry> metadata)
Callback method that will be triggered with newly available meta-data.- Parameters:
metadata
- The meta-data
-
-