Exspotify.Structs.ResumePoint (Exspotify v0.1.0)

View Source

Represents a resume point object from Spotify API. Used by episodes and chapters to track playback position.

Summary

Functions

Creates a ResumePoint struct from a map.

Types

t()

@type t() :: %Exspotify.Structs.ResumePoint{
  fully_played: boolean() | nil,
  resume_position_ms: integer() | nil
}

Functions

from_map(map)

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

Creates a ResumePoint struct from a map.