PHP Класс PAMI\Message\Action\MixMonitorMuteAction

PHP Version 5
Автор: Matt Styles ([email protected])
Наследование: extends PAMI\Message\Action\ActionMessage
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $channel, boolean $state = true, string $direction = 'both' ) Constructor.
setDirection ( string $direction ) : void Sets state key.
setState ( boolean $state ) : void Sets state key.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $channel, boolean $state = true, string $direction = 'both' )
$channel string Channel on which to act.
$state boolean Turn mute on or off
$direction string Which part of the recording to mute: read, write or both (from channel, to channel or both channels).

setDirection() публичный Метод

Sets state key.
public setDirection ( string $direction ) : void
$direction string Which part of the recording to mute: read, write or both (from channel, to channel or both channels).
Результат void

setState() публичный Метод

Sets state key.
public setState ( boolean $state ) : void
$state boolean Mute state
Результат void