Exshome - Elixir Smart Home v0.1.7
  • Pages
  • Modules

    View Source ExshomePlayer.Services.Playlist (Exshome - Elixir Smart Home v0.1.7)

    Module responsible for a playlist.

    Link to this section Summary

    Types

    t()

    Functions

    call(message)
    child_spec(opts)
    next()
    play(id)
    previous()
    start_link(opts)
    update_data(state, data_fn)

    See Exshome.Dependency.GenServerDependency.update_data/2.

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: %ExshomePlayer.Services.Playlist{
      current_id: String.t() | nil,
      tracks: [ExshomePlayer.Schemas.Track.t()]
    }

    Link to this section Functions

    Link to this function

    call(message)

    View Source
    Link to this function

    child_spec(opts)

    View Source
    Link to this function

    next()

    View Source
    @spec next() :: :ok
    Link to this function

    play(id)

    View Source
    @spec play(id :: String.t()) :: :ok
    Link to this function

    previous()

    View Source
    @spec previous() :: :ok
    Link to this function

    start_link(opts)

    View Source
    Link to this function

    update_data(state, data_fn)

    View Source

    See Exshome.Dependency.GenServerDependency.update_data/2.

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.4) for the Elixir programming language