Documentation
¶
Index ¶
- type Queue
- func (s *Queue) AddMultipleURIs(containerURI string, containerMetaData string, ...) (addMultipleURIsResponse, error)
- func (s *Queue) AddURI(enqueuedURI string, enqueuedURIMetaData string, ...) (addURIResponse, error)
- func (s *Queue) AttachQueue(queueOwnerID string) (attachQueueResponse, error)
- func (s *Queue) Backup() error
- func (s *Queue) Browse(startingIndex int, requestedCount int) (browseResponse, error)
- func (s *Queue) CreateQueue(queueOwnerID string, queueOwnerContext string, queuePolicy string) (int, error)
- func (s *Queue) RemoveAllTracks() (int, error)
- func (s *Queue) RemoveTrackRange(startingIndex int, numberOfTracks int) (int, error)
- func (s *Queue) ReorderTracks(startingIndex int, numberOfTracks int, insertBefore int) (int, error)
- func (s *Queue) ReplaceAllTracks(containerURI string, containerMetaData string, currentTrackIndex int, ...) (replaceAllTracksResponse, error)
- func (s *Queue) SaveAsSonosPlaylist(title string, objectID string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
Send func(action, body, targetTag string) (string, error)
// Should be one of `Gonos.ContentTypes.*` // OR maybe just 0?
QueueID string
// Should always be `0`
UpdateID int
}
func (*Queue) AddMultipleURIs ¶
func (*Queue) AttachQueue ¶
func (*Queue) CreateQueue ¶
func (*Queue) RemoveAllTracks ¶
func (*Queue) RemoveTrackRange ¶
func (*Queue) ReorderTracks ¶
func (*Queue) ReplaceAllTracks ¶
Click to show internal directories.
Click to hide internal directories.