AnalyticsClientMeta
extends Message
in package
Generated from protobuf message <code>livekit.AnalyticsClientMeta</code>
Table of Contents
Properties
- $client_addr : mixed
- Generated from protobuf field <code>string client_addr = 3;</code>
- $client_connect_time : mixed
- Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
- $connection_type : mixed
- udp, tcp, turn
- $country : mixed
- Generated from protobuf field <code>optional string country = 8;</code>
- $geo_hash : mixed
- Generated from protobuf field <code>optional string geo_hash = 7;</code>
- $isp_asn : mixed
- Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
- $node : mixed
- Generated from protobuf field <code>string node = 2;</code>
- $reconnect_reason : mixed
- Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
- $region : mixed
- Generated from protobuf field <code>string region = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- clearCountry() : mixed
- clearGeoHash() : mixed
- clearIspAsn() : mixed
- getClientAddr() : string
- Generated from protobuf field <code>string client_addr = 3;</code>
- getClientConnectTime() : int
- Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
- getConnectionType() : string
- udp, tcp, turn
- getCountry() : string
- Generated from protobuf field <code>optional string country = 8;</code>
- getGeoHash() : string
- Generated from protobuf field <code>optional string geo_hash = 7;</code>
- getIspAsn() : int
- Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
- getNode() : string
- Generated from protobuf field <code>string node = 2;</code>
- getReconnectReason() : int
- Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
- getRegion() : string
- Generated from protobuf field <code>string region = 1;</code>
- hasCountry() : mixed
- hasGeoHash() : mixed
- hasIspAsn() : mixed
- setClientAddr() : $this
- Generated from protobuf field <code>string client_addr = 3;</code>
- setClientConnectTime() : $this
- Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
- setConnectionType() : $this
- udp, tcp, turn
- setCountry() : $this
- Generated from protobuf field <code>optional string country = 8;</code>
- setGeoHash() : $this
- Generated from protobuf field <code>optional string geo_hash = 7;</code>
- setIspAsn() : $this
- Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
- setNode() : $this
- Generated from protobuf field <code>string node = 2;</code>
- setReconnectReason() : $this
- Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
- setRegion() : $this
- Generated from protobuf field <code>string region = 1;</code>
Properties
$client_addr
Generated from protobuf field <code>string client_addr = 3;</code>
protected
mixed
$client_addr
= ''
$client_connect_time
Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
protected
mixed
$client_connect_time
= 0
$connection_type
udp, tcp, turn
protected
mixed
$connection_type
= ''
Generated from protobuf field string connection_type = 5;
$country
Generated from protobuf field <code>optional string country = 8;</code>
protected
mixed
$country
= null
$geo_hash
Generated from protobuf field <code>optional string geo_hash = 7;</code>
protected
mixed
$geo_hash
= null
$isp_asn
Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
protected
mixed
$isp_asn
= null
$node
Generated from protobuf field <code>string node = 2;</code>
protected
mixed
$node
= ''
$reconnect_reason
Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
protected
mixed
$reconnect_reason
= 0
$region
Generated from protobuf field <code>string region = 1;</code>
protected
mixed
$region
= ''
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 string $region @type string $node @type string $client_addr @type int $client_connect_time @type string $connection_type udp, tcp, turn @type int $reconnect_reason @type string $geo_hash @type string $country @type int $isp_asn}
clearCountry()
public
clearCountry() : mixed
clearGeoHash()
public
clearGeoHash() : mixed
clearIspAsn()
public
clearIspAsn() : mixed
getClientAddr()
Generated from protobuf field <code>string client_addr = 3;</code>
public
getClientAddr() : string
Return values
stringgetClientConnectTime()
Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
public
getClientConnectTime() : int
Return values
intgetConnectionType()
udp, tcp, turn
public
getConnectionType() : string
Generated from protobuf field string connection_type = 5;
Return values
stringgetCountry()
Generated from protobuf field <code>optional string country = 8;</code>
public
getCountry() : string
Return values
stringgetGeoHash()
Generated from protobuf field <code>optional string geo_hash = 7;</code>
public
getGeoHash() : string
Return values
stringgetIspAsn()
Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
public
getIspAsn() : int
Return values
intgetNode()
Generated from protobuf field <code>string node = 2;</code>
public
getNode() : string
Return values
stringgetReconnectReason()
Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
public
getReconnectReason() : int
Return values
intgetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
getRegion() : string
Return values
stringhasCountry()
public
hasCountry() : mixed
hasGeoHash()
public
hasGeoHash() : mixed
hasIspAsn()
public
hasIspAsn() : mixed
setClientAddr()
Generated from protobuf field <code>string client_addr = 3;</code>
public
setClientAddr(string $var) : $this
Parameters
- $var : string
Return values
$thissetClientConnectTime()
Generated from protobuf field <code>uint32 client_connect_time = 4;</code>
public
setClientConnectTime(int $var) : $this
Parameters
- $var : int
Return values
$thissetConnectionType()
udp, tcp, turn
public
setConnectionType(string $var) : $this
Generated from protobuf field string connection_type = 5;
Parameters
- $var : string
Return values
$thissetCountry()
Generated from protobuf field <code>optional string country = 8;</code>
public
setCountry(string $var) : $this
Parameters
- $var : string
Return values
$thissetGeoHash()
Generated from protobuf field <code>optional string geo_hash = 7;</code>
public
setGeoHash(string $var) : $this
Parameters
- $var : string
Return values
$thissetIspAsn()
Generated from protobuf field <code>optional uint32 isp_asn = 9;</code>
public
setIspAsn(int $var) : $this
Parameters
- $var : int
Return values
$thissetNode()
Generated from protobuf field <code>string node = 2;</code>
public
setNode(string $var) : $this
Parameters
- $var : string
Return values
$thissetReconnectReason()
Generated from protobuf field <code>.livekit.ReconnectReason reconnect_reason = 6;</code>
public
setReconnectReason(int $var) : $this
Parameters
- $var : int
Return values
$thissetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
setRegion(string $var) : $this
Parameters
- $var : string