Documentation

AgentSessionState extends Message
in package

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

Table of Contents

Properties

$delta  : mixed
Generated from protobuf field <code>bytes delta = 3;</code>
$snapshot  : mixed
Generated from protobuf field <code>bytes snapshot = 2;</code>
$version  : mixed
Generated from protobuf field <code>uint64 version = 1;</code>

Methods

__construct()  : mixed
Constructor.
getDelta()  : string
Generated from protobuf field <code>bytes delta = 3;</code>
getSnapshot()  : string
Generated from protobuf field <code>bytes snapshot = 2;</code>
getVersion()  : int|string
Generated from protobuf field <code>uint64 version = 1;</code>
setDelta()  : $this
Generated from protobuf field <code>bytes delta = 3;</code>
setSnapshot()  : $this
Generated from protobuf field <code>bytes snapshot = 2;</code>
setVersion()  : $this
Generated from protobuf field <code>uint64 version = 1;</code>

Properties

$delta

Generated from protobuf field <code>bytes delta = 3;</code>

protected mixed $delta = ''

$snapshot

Generated from protobuf field <code>bytes snapshot = 2;</code>

protected mixed $snapshot = ''

$version

Generated from protobuf field <code>uint64 version = 1;</code>

protected mixed $version = 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|string $version
@type string $snapshot
@type string $delta

}

getDelta()

Generated from protobuf field <code>bytes delta = 3;</code>

public getDelta() : string
Return values
string

getSnapshot()

Generated from protobuf field <code>bytes snapshot = 2;</code>

public getSnapshot() : string
Return values
string

getVersion()

Generated from protobuf field <code>uint64 version = 1;</code>

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

setDelta()

Generated from protobuf field <code>bytes delta = 3;</code>

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

setSnapshot()

Generated from protobuf field <code>bytes snapshot = 2;</code>

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

setVersion()

Generated from protobuf field <code>uint64 version = 1;</code>

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

        
On this page

Search results