Ping
extends Message
in package
Generated from protobuf message <code>livekit.Ping</code>
Table of Contents
Properties
- $rtt : mixed
- rtt in milliseconds calculated by client
- $timestamp : mixed
- Generated from protobuf field <code>int64 timestamp = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getRtt() : int|string
- rtt in milliseconds calculated by client
- getTimestamp() : int|string
- Generated from protobuf field <code>int64 timestamp = 1;</code>
- setRtt() : $this
- rtt in milliseconds calculated by client
- setTimestamp() : $this
- Generated from protobuf field <code>int64 timestamp = 1;</code>
Properties
$rtt
rtt in milliseconds calculated by client
protected
mixed
$rtt
= 0
Generated from protobuf field int64 rtt = 2;
$timestamp
Generated from protobuf field <code>int64 timestamp = 1;</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 $timestamp @type int|string $rtt rtt in milliseconds calculated by client}
getRtt()
rtt in milliseconds calculated by client
public
getRtt() : int|string
Generated from protobuf field int64 rtt = 2;
Return values
int|stringgetTimestamp()
Generated from protobuf field <code>int64 timestamp = 1;</code>
public
getTimestamp() : int|string
Return values
int|stringsetRtt()
rtt in milliseconds calculated by client
public
setRtt(int|string $var) : $this
Generated from protobuf field int64 rtt = 2;
Parameters
- $var : int|string
Return values
$thissetTimestamp()
Generated from protobuf field <code>int64 timestamp = 1;</code>
public
setTimestamp(int|string $var) : $this
Parameters
- $var : int|string