setTitle()
setTitle(\duncan3dc\Sonos\Interfaces\string $title)
Set the name of the track.
Parameters
\duncan3dc\Sonos\Interfaces\string | $title |
Representation of the current state of a controller.
setStream(\duncan3dc\Sonos\Tracks\Stream $stream) : \duncan3dc\Sonos\Interfaces\StateInterface
Set the stream object in use.
\duncan3dc\Sonos\Tracks\Stream | $stream | The stream |
getStream() : \duncan3dc\Sonos\Interfaces\TrackInterface|null
Get the stream object in use (or null if we are not on a stream).
setDuration(\duncan3dc\Sonos\Interfaces\Utils\TimeInterface $duration) : \duncan3dc\Sonos\Interfaces\StateInterface
Set the duration of the currently active track.
\duncan3dc\Sonos\Interfaces\Utils\TimeInterface | $duration | The duration |
setPosition(\duncan3dc\Sonos\Interfaces\Utils\TimeInterface $position) : \duncan3dc\Sonos\Interfaces\StateInterface
Set the position of the currently active track.
\duncan3dc\Sonos\Interfaces\Utils\TimeInterface | $position | The position |
getPosition() : \duncan3dc\Sonos\Interfaces\Utils\TimeInterface
Get the position of the currently active track.