Exspotify.Structs.Actions (Exspotify v0.1.0)

View Source

Represents available playback actions from Spotify API. Used to indicate which playback actions are allowed.

Summary

Functions

Creates an Actions struct from a map.

Types

t()

@type t() :: %Exspotify.Structs.Actions{
  interrupting_playback: boolean() | nil,
  pausing: boolean() | nil,
  resuming: boolean() | nil,
  seeking: boolean() | nil,
  skipping_next: boolean() | nil,
  skipping_prev: boolean() | nil,
  toggling_repeat_context: boolean() | nil,
  toggling_repeat_track: boolean() | nil,
  toggling_shuffle: boolean() | nil,
  transferring_playback: boolean() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates an Actions struct from a map.