Documentation

Pong extends Message
in package

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

Table of Contents

Properties

$last_ping_timestamp  : mixed
timestamp field of last received ping request
$timestamp  : mixed
Generated from protobuf field <code>int64 timestamp = 2;</code>

Methods

__construct()  : mixed
Constructor.
getLastPingTimestamp()  : int|string
timestamp field of last received ping request
getTimestamp()  : int|string
Generated from protobuf field <code>int64 timestamp = 2;</code>
setLastPingTimestamp()  : $this
timestamp field of last received ping request
setTimestamp()  : $this
Generated from protobuf field <code>int64 timestamp = 2;</code>

Properties

$last_ping_timestamp

timestamp field of last received ping request

protected mixed $last_ping_timestamp = 0

Generated from protobuf field int64 last_ping_timestamp = 1;

$timestamp

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

protected mixed $timestamp = 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 $last_ping_timestamp
      timestamp field of last received ping request
@type int|string $timestamp

}

getLastPingTimestamp()

timestamp field of last received ping request

public getLastPingTimestamp() : int|string

Generated from protobuf field int64 last_ping_timestamp = 1;

Return values
int|string

getTimestamp()

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

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

setLastPingTimestamp()

timestamp field of last received ping request

public setLastPingTimestamp(int|string $var) : $this

Generated from protobuf field int64 last_ping_timestamp = 1;

Parameters
$var : int|string
Return values
$this

setTimestamp()

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

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

        
On this page

Search results