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}
clearState()
public
clearState() : mixed
getAgentName()
Generated from protobuf field <code>string agent_name = 2;</code>
public
getAgentName() : string
Return values
stringgetId()
Generated from protobuf field <code>string id = 1;</code>
public
getId() : string
Return values
stringgetMetadata()
Generated from protobuf field <code>string metadata = 4;</code>
public
getMetadata() : string
Return values
stringgetRoom()
Generated from protobuf field <code>string room = 3;</code>
public
getRoom() : string
Return values
stringgetState()
Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>
public
getState() : AgentDispatchState|null
Return values
AgentDispatchState|nullhasState()
public
hasState() : mixed
setAgentName()
Generated from protobuf field <code>string agent_name = 2;</code>
public
setAgentName(string $var) : $this
Parameters
- $var : string
Return values
$thissetId()
Generated from protobuf field <code>string id = 1;</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMetadata()
Generated from protobuf field <code>string metadata = 4;</code>
public
setMetadata(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoom()
Generated from protobuf field <code>string room = 3;</code>
public
setRoom(string $var) : $this
Parameters
- $var : string
Return values
$thissetState()
Generated from protobuf field <code>.livekit.AgentDispatchState state = 5;</code>
public
setState(AgentDispatchState $var) : $this
Parameters
- $var : AgentDispatchState