DataChannelInfo
extends Message
in package
Generated from protobuf message <code>livekit.DataChannelInfo</code>
Table of Contents
Properties
- $id : mixed
- Generated from protobuf field <code>uint32 id = 2;</code>
- $label : mixed
- Generated from protobuf field <code>string label = 1;</code>
- $target : mixed
- Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getId() : int
- Generated from protobuf field <code>uint32 id = 2;</code>
- getLabel() : string
- Generated from protobuf field <code>string label = 1;</code>
- getTarget() : int
- Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
- setId() : $this
- Generated from protobuf field <code>uint32 id = 2;</code>
- setLabel() : $this
- Generated from protobuf field <code>string label = 1;</code>
- setTarget() : $this
- Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
Properties
$id
Generated from protobuf field <code>uint32 id = 2;</code>
protected
mixed
$id
= 0
$label
Generated from protobuf field <code>string label = 1;</code>
protected
mixed
$label
= ''
$target
Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
protected
mixed
$target
= 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 string $label @type int $id @type int $target}
getId()
Generated from protobuf field <code>uint32 id = 2;</code>
public
getId() : int
Return values
intgetLabel()
Generated from protobuf field <code>string label = 1;</code>
public
getLabel() : string
Return values
stringgetTarget()
Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
public
getTarget() : int
Return values
intsetId()
Generated from protobuf field <code>uint32 id = 2;</code>
public
setId(int $var) : $this
Parameters
- $var : int
Return values
$thissetLabel()
Generated from protobuf field <code>string label = 1;</code>
public
setLabel(string $var) : $this
Parameters
- $var : string
Return values
$thissetTarget()
Generated from protobuf field <code>.livekit.SignalTarget target = 3;</code>
public
setTarget(int $var) : $this
Parameters
- $var : int