SubscribedQuality
extends Message
in package
Generated from protobuf message <code>livekit.SubscribedQuality</code>
Table of Contents
Properties
- $enabled : mixed
- Generated from protobuf field <code>bool enabled = 2;</code>
- $quality : mixed
- Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getEnabled() : bool
- Generated from protobuf field <code>bool enabled = 2;</code>
- getQuality() : int
- Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
- setEnabled() : $this
- Generated from protobuf field <code>bool enabled = 2;</code>
- setQuality() : $this
- Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
Properties
$enabled
Generated from protobuf field <code>bool enabled = 2;</code>
protected
mixed
$enabled
= false
$quality
Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
protected
mixed
$quality
= 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 $quality @type bool $enabled}
getEnabled()
Generated from protobuf field <code>bool enabled = 2;</code>
public
getEnabled() : bool
Return values
boolgetQuality()
Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
public
getQuality() : int
Return values
intsetEnabled()
Generated from protobuf field <code>bool enabled = 2;</code>
public
setEnabled(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetQuality()
Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code>
public
setQuality(int $var) : $this
Parameters
- $var : int