Documentation

AgentDispatchState extends Message
in package

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

Table of Contents

Properties

$created_at  : mixed
Generated from protobuf field <code>int64 created_at = 2;</code>
$deleted_at  : mixed
Generated from protobuf field <code>int64 deleted_at = 3;</code>
$jobs  : mixed
For dispatches of tyoe JT_ROOM, there will be at most 1 job.

Methods

__construct()  : mixed
Constructor.
getCreatedAt()  : int|string
Generated from protobuf field <code>int64 created_at = 2;</code>
getDeletedAt()  : int|string
Generated from protobuf field <code>int64 deleted_at = 3;</code>
getJobs()  : RepeatedField<string|int, Job>
For dispatches of tyoe JT_ROOM, there will be at most 1 job.
setCreatedAt()  : $this
Generated from protobuf field <code>int64 created_at = 2;</code>
setDeletedAt()  : $this
Generated from protobuf field <code>int64 deleted_at = 3;</code>
setJobs()  : $this
For dispatches of tyoe JT_ROOM, there will be at most 1 job.

Properties

$created_at

Generated from protobuf field <code>int64 created_at = 2;</code>

protected mixed $created_at = 0

$deleted_at

Generated from protobuf field <code>int64 deleted_at = 3;</code>

protected mixed $deleted_at = 0

$jobs

For dispatches of tyoe JT_ROOM, there will be at most 1 job.

private mixed $jobs

For dispatches of type JT_PUBLISHER, there will be 1 per publisher.

Generated from protobuf field repeated .livekit.Job jobs = 1;

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 \Livekit\Job[] $jobs
      For dispatches of tyoe JT_ROOM, there will be at most 1 job.
      For dispatches of type JT_PUBLISHER, there will be 1 per publisher.
@type int|string $created_at
@type int|string $deleted_at

}

getCreatedAt()

Generated from protobuf field <code>int64 created_at = 2;</code>

public getCreatedAt() : int|string
Return values
int|string

getDeletedAt()

Generated from protobuf field <code>int64 deleted_at = 3;</code>

public getDeletedAt() : int|string
Return values
int|string

getJobs()

For dispatches of tyoe JT_ROOM, there will be at most 1 job.

public getJobs() : RepeatedField<string|int, Job>

For dispatches of type JT_PUBLISHER, there will be 1 per publisher.

Generated from protobuf field repeated .livekit.Job jobs = 1;

Return values
RepeatedField<string|int, Job>

setCreatedAt()

Generated from protobuf field <code>int64 created_at = 2;</code>

public setCreatedAt(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setDeletedAt()

Generated from protobuf field <code>int64 deleted_at = 3;</code>

public setDeletedAt(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setJobs()

For dispatches of tyoe JT_ROOM, there will be at most 1 job.

public setJobs(array<string|int, Job$var) : $this

For dispatches of type JT_PUBLISHER, there will be 1 per publisher.

Generated from protobuf field repeated .livekit.Job jobs = 1;

Parameters
$var : array<string|int, Job>
Return values
$this

        
On this page

Search results