Package com.castlabs.android.player

## Interface SingleControllerPlaylist.PlaylistListener

- Enclosing class:
    SingleControllerPlaylist

      public static interface SingleControllerPlaylist.PlaylistListener

  Playlist-related events listener.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onItemChange​(PlayerConfig config)` | Called every time a new item, defined by a `PlayerConfig` starts playing.

- - ### 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.