Interface Player.Listener

    • Method Detail

      • onCues

        default void onCues​(List<Cue> cues)
        Description copied from interface: TextOutput
        Called when there is a change in the Cues.

        cues is in ascending order of priority. If any of the cue boxes overlap when displayed, the Cue nearer the end of the list should be shown on top.

        Specified by:
        onCues in interface TextOutput
        cues - The Cues. May be empty.
      • onMetadata

        default void onMetadata​(Metadata metadata)
        Description copied from interface: MetadataOutput
        Called when there is metadata associated with current playback time.
        Specified by:
        onMetadata in interface MetadataOutput
        metadata - The metadata.