Package com.castlabs.android.player

# Interface SingleControllerPlaylist.ItemLoadListener

Enclosing class:
  `SingleControllerPlaylist`

public static interface SingleControllerPlaylist.ItemLoadListener
Listener which provides callbacks for whenever a `PlayerConfig` is loaded or unloaded from the playlist.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onItemLoad(PlayerConfig config)`
  The provided config has been loaded onto the playlist
  `void`
  `onItemUnload(PlayerConfig config)`
  The provided config has been unloaded from the playlist

- ## Method Details

  - ### onItemLoad

    void onItemLoad(@NonNull PlayerConfig config)
    The provided config has been loaded onto the playlist
    Parameters:
      `config` - the config which has been loaded

  - ### onItemUnload

    void onItemUnload(@NonNull PlayerConfig config)
    The provided config has been unloaded from the playlist
    Parameters:
      `config` - the config which has been unloaded