Class Playlists.Maybe_Playlist

java.lang.Object
org.freedesktop.dbus.Container
org.freedesktop.dbus.Struct
org.mpris.mpris.Playlists.Maybe_Playlist
Enclosing interface:
Playlists

public static class Playlists.Maybe_Playlist extends org.freedesktop.dbus.Struct
A data structure describing a playlist, or nothing.
  • Constructor Details

    • Maybe_Playlist

      public Maybe_Playlist(boolean hasPlaylist, Playlists.Playlist playlist)
      Parameters:
      hasPlaylist - Whether this structure refers to a valid playlist.
      playlist - The playlist, providing Valid is true, otherwise undefined. When constructing this type, it should be noted that the playlist ID must be a valid object path, or D-Bus implementations may reject it. This is true even when Valid is false. It is suggested that "/" is used as the playlist ID in this case.
  • Method Details

    • hasPlaylist

      public boolean hasPlaylist()
    • getPlaylist

      public Playlists.Playlist getPlaylist()