Documentation

AgentDispatch extends Message
in package

Generated from protobuf message <code>livekit.AgentDispatch</code>

Table of Contents

Properties

$agent_name  : mixed
Generated from protobuf field <code>string agent_name = 2;</code>
$id  : mixed
Generated from protobuf field <code>string id = 1;</code>
$metadata  : mixed
Generated from protobuf field <code>string metadata = 4;</code>
$room  : mixed
Generated from protobuf field <code>string room = 3;</code>
$state  : mixed
Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>

Methods

__construct()  : mixed
Constructor.
clearState()  : mixed
getAgentName()  : string
Generated from protobuf field <code>string agent_name = 2;</code>
getId()  : string
Generated from protobuf field <code>string id = 1;</code>
getMetadata()  : string
Generated from protobuf field <code>string metadata = 4;</code>
getRoom()  : string
Generated from protobuf field <code>string room = 3;</code>
getState()  : AgentDispatchState|null
Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>
hasState()  : mixed
setAgentName()  : $this
Generated from protobuf field <code>string agent_name = 2;</code>
setId()  : $this
Generated from protobuf field <code>string id = 1;</code>
setMetadata()  : $this
Generated from protobuf field <code>string metadata = 4;</code>
setRoom()  : $this
Generated from protobuf field <code>string room = 3;</code>
setState()  : $this
Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>

Properties

$agent_name

Generated from protobuf field <code>string agent_name = 2;</code>

protected mixed $agent_name = ''

$id

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

protected mixed $id = ''

$metadata

Generated from protobuf field <code>string metadata = 4;</code>

protected mixed $metadata = ''

$room

Generated from protobuf field <code>string room = 3;</code>

protected mixed $room = ''

$state

Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>

protected mixed $state = null

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 $id
@type string $agent_name
@type string $room
@type string $metadata
@type \Livekit\AgentDispatchState $state

}

getAgentName()

Generated from protobuf field <code>string agent_name = 2;</code>

public getAgentName() : string
Return values
string

getId()

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

public getId() : string
Return values
string

getMetadata()

Generated from protobuf field <code>string metadata = 4;</code>

public getMetadata() : string
Return values
string

getRoom()

Generated from protobuf field <code>string room = 3;</code>

public getRoom() : string
Return values
string

setAgentName()

Generated from protobuf field <code>string agent_name = 2;</code>

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

setId()

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

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

setMetadata()

Generated from protobuf field <code>string metadata = 4;</code>

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

setRoom()

Generated from protobuf field <code>string room = 3;</code>

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

        
On this page

Search results