Documentation

ScenarioGroup extends Message
in package

A named group of scenarios, mirroring a whole scenarios.yaml file.

Generated from protobuf message livekit.ScenarioGroup

Table of Contents

Properties

$name  : mixed
Generated from protobuf field <code>string name = 1;</code>
$scenarios  : mixed
Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>

Methods

__construct()  : mixed
Constructor.
getName()  : string
Generated from protobuf field <code>string name = 1;</code>
getScenarios()  : RepeatedField
Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>
setName()  : $this
Generated from protobuf field <code>string name = 1;</code>
setScenarios()  : $this
Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>

Properties

$name

Generated from protobuf field <code>string name = 1;</code>

protected mixed $name = ''

$scenarios

Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>

private mixed $scenarios

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $name
@type array<\Livekit\Scenario>|\Google\Protobuf\Internal\RepeatedField $scenarios

}

getName()

Generated from protobuf field <code>string name = 1;</code>

public getName() : string
Return values
string

getScenarios()

Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>

public getScenarios() : RepeatedField
Return values
RepeatedField

setName()

Generated from protobuf field <code>string name = 1;</code>

public setName(string $var) : $this
Parameters
$var : string
Return values
$this

setScenarios()

Generated from protobuf field <code>repeated .livekit.Scenario scenarios = 2;</code>

public setScenarios(array<string|int, Scenario>|RepeatedField $var) : $this
Parameters
$var : array<string|int, Scenario>|RepeatedField
Return values
$this
On this page

Search results