RegionInfo
extends Message
in package
Generated from protobuf message <code>livekit.RegionInfo</code>
Table of Contents
Properties
- $distance : mixed
- Generated from protobuf field <code>int64 distance = 3;</code>
- $region : mixed
- Generated from protobuf field <code>string region = 1;</code>
- $url : mixed
- Generated from protobuf field <code>string url = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getDistance() : int|string
- Generated from protobuf field <code>int64 distance = 3;</code>
- getRegion() : string
- Generated from protobuf field <code>string region = 1;</code>
- getUrl() : string
- Generated from protobuf field <code>string url = 2;</code>
- setDistance() : $this
- Generated from protobuf field <code>int64 distance = 3;</code>
- setRegion() : $this
- Generated from protobuf field <code>string region = 1;</code>
- setUrl() : $this
- Generated from protobuf field <code>string url = 2;</code>
Properties
$distance
Generated from protobuf field <code>int64 distance = 3;</code>
protected
mixed
$distance
= 0
$region
Generated from protobuf field <code>string region = 1;</code>
protected
mixed
$region
= ''
$url
Generated from protobuf field <code>string url = 2;</code>
protected
mixed
$url
= ''
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 $url @type int|string $distance}
getDistance()
Generated from protobuf field <code>int64 distance = 3;</code>
public
getDistance() : int|string
Return values
int|stringgetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
getRegion() : string
Return values
stringgetUrl()
Generated from protobuf field <code>string url = 2;</code>
public
getUrl() : string
Return values
stringsetDistance()
Generated from protobuf field <code>int64 distance = 3;</code>
public
setDistance(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetRegion()
Generated from protobuf field <code>string region = 1;</code>
public
setRegion(string $var) : $this
Parameters
- $var : string
Return values
$thissetUrl()
Generated from protobuf field <code>string url = 2;</code>
public
setUrl(string $var) : $this
Parameters
- $var : string