duncan3dc\Sonos\Controller::removeSpeaker PHP Méthode

removeSpeaker() public méthode

Removes the specified speaker from the group of this Controller.
public removeSpeaker ( duncan3dc\Sonos\Speaker $speaker ) : static
$speaker duncan3dc\Sonos\Speaker The speaker to remove from the group
Résultat static
    public function removeSpeaker(Speaker $speaker)
    {
        $speaker->soap("AVTransport", "BecomeCoordinatorOfStandaloneGroup");
        $this->network->clearTopology();
        return $this;
    }