SubscriptionResponse
extends Message
in package
Generated from protobuf message <code>livekit.SubscriptionResponse</code>
Table of Contents
Properties
- $err : mixed
- Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
- $track_sid : mixed
- Generated from protobuf field <code>string track_sid = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getErr() : int
- Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
- getTrackSid() : string
- Generated from protobuf field <code>string track_sid = 1;</code>
- setErr() : $this
- Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
- setTrackSid() : $this
- Generated from protobuf field <code>string track_sid = 1;</code>
Properties
$err
Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
protected
mixed
$err
= 0
$track_sid
Generated from protobuf field <code>string track_sid = 1;</code>
protected
mixed
$track_sid
= ''
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 $track_sid @type int $err}
getErr()
Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
public
getErr() : int
Return values
intgetTrackSid()
Generated from protobuf field <code>string track_sid = 1;</code>
public
getTrackSid() : string
Return values
stringsetErr()
Generated from protobuf field <code>.livekit.SubscriptionError err = 2;</code>
public
setErr(int $var) : $this
Parameters
- $var : int
Return values
$thissetTrackSid()
Generated from protobuf field <code>string track_sid = 1;</code>
public
setTrackSid(string $var) : $this
Parameters
- $var : string