public removeSpeaker ( duncan3dc\Sonos\Speaker $speaker ) : static | ||
$speaker | duncan3dc\Sonos\Speaker | The speaker to remove from the group |
return | static |
public function removeSpeaker(Speaker $speaker)
{
$speaker->soap("AVTransport", "BecomeCoordinatorOfStandaloneGroup");
$this->network->clearTopology();
return $this;
}