Google Cloud Video Live Stream V1 Client - Class MuteTask (0.6.2)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class MuteTask.

Mutes the stream.

Generated from protobuf message google.cloud.video.livestream.v1.Event.MuteTask

Namespace

Google \ Cloud \ Video \ LiveStream \ V1 \ Event

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ duration Google\Protobuf\Duration

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

getDuration

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this