Interface PlayListProvider

All Known Implementing Classes:
CircularPlayListProvider, DefaultPlayListProvider, ThemePlayListProvider

public interface PlayListProvider
The JukeBox fetches PlayLists from a PlayListProvider.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if a PlayList is available via next().
    Returns the next PlayList.
  • Method Details

    • next

      PlayList next()
      Returns the next PlayList. May be null if none is available.
      Returns:
      the PlayList
    • hasNext

      boolean hasNext()
      Returns true if a PlayList is available via next().
      Returns:
      true if a PlayList is available, false otherwise