Documentation

AgentEvent extends Message
in package

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

Table of Contents

Properties

$count  : mixed
Generated from protobuf field <code>int32 count = 2;</code>
$timestamp  : mixed
Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>
$type  : mixed
Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>

Methods

__construct()  : mixed
Constructor.
clearTimestamp()  : mixed
getCount()  : int
Generated from protobuf field <code>int32 count = 2;</code>
getTimestamp()  : Timestamp|null
Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>
getType()  : int
Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>
hasTimestamp()  : mixed
setCount()  : $this
Generated from protobuf field <code>int32 count = 2;</code>
setTimestamp()  : $this
Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>
setType()  : $this
Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>

Properties

$count

Generated from protobuf field <code>int32 count = 2;</code>

protected mixed $count = 0

$timestamp

Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>

protected mixed $timestamp = null

$type

Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>

protected mixed $type = 0

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 int $type
@type int $count
@type \Google\Protobuf\Timestamp $timestamp

}

clearTimestamp()

public clearTimestamp() : mixed

getCount()

Generated from protobuf field <code>int32 count = 2;</code>

public getCount() : int
Return values
int

getTimestamp()

Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>

public getTimestamp() : Timestamp|null
Return values
Timestamp|null

getType()

Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>

public getType() : int
Return values
int

setCount()

Generated from protobuf field <code>int32 count = 2;</code>

public setCount(int $var) : $this
Parameters
$var : int
Return values
$this

setTimestamp()

Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 3;</code>

public setTimestamp(Timestamp $var) : $this
Parameters
$var : Timestamp
Return values
$this

setType()

Generated from protobuf field <code>.livekit.AgentEventType type = 1;</code>

public setType(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results