TrackPublishedResponse
extends Message
in package
Generated from protobuf message <code>livekit.TrackPublishedResponse</code>
Table of Contents
Properties
- $cid : mixed
- Generated from protobuf field <code>string cid = 1;</code>
- $track : mixed
- Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- clearTrack() : mixed
- getCid() : string
- Generated from protobuf field <code>string cid = 1;</code>
- getTrack() : TrackInfo|null
- Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
- hasTrack() : mixed
- setCid() : $this
- Generated from protobuf field <code>string cid = 1;</code>
- setTrack() : $this
- Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
Properties
$cid
Generated from protobuf field <code>string cid = 1;</code>
protected
mixed
$cid
= ''
$track
Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
protected
mixed
$track
= null
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 $cid @type \Livekit\TrackInfo $track}
clearTrack()
public
clearTrack() : mixed
getCid()
Generated from protobuf field <code>string cid = 1;</code>
public
getCid() : string
Return values
stringgetTrack()
Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
public
getTrack() : TrackInfo|null
Return values
TrackInfo|nullhasTrack()
public
hasTrack() : mixed
setCid()
Generated from protobuf field <code>string cid = 1;</code>
public
setCid(string $var) : $this
Parameters
- $var : string
Return values
$thissetTrack()
Generated from protobuf field <code>.livekit.TrackInfo track = 2;</code>
public
setTrack(TrackInfo $var) : $this
Parameters
- $var : TrackInfo