Interface SingleControllerPlaylist.PlaylistListener

    • Method Detail

      • onItemChange

        void onItemChange​(@NonNull
                          PlayerConfig config)
        Called every time a new item, defined by a PlayerConfig starts playing.

        This method will also be called for the first element.

        Parameters:
        config - The config representing the new playlist item.
      • onPlaylistEnded

        void onPlaylistEnded()
        Called when the playlist reaches the end. Fired when the PlayerController.State.Finished is reached due to playing the last item to the end.