Documentation

ParticipantTracks extends Message
in package

Generated from protobuf message <code>livekit.ParticipantTracks</code>

Table of Contents

Properties

$participant_sid  : mixed
participant ID of participant to whom the tracks belong
$track_sids  : mixed
Generated from protobuf field <code>repeated string track_sids = 2;</code>

Methods

__construct()  : mixed
Constructor.
getParticipantSid()  : string
participant ID of participant to whom the tracks belong
getTrackSids()  : RepeatedField<string|int, string>
Generated from protobuf field <code>repeated string track_sids = 2;</code>
setParticipantSid()  : $this
participant ID of participant to whom the tracks belong
setTrackSids()  : $this
Generated from protobuf field <code>repeated string track_sids = 2;</code>

Properties

$participant_sid

participant ID of participant to whom the tracks belong

protected mixed $participant_sid = ''

Generated from protobuf field string participant_sid = 1;

$track_sids

Generated from protobuf field <code>repeated string track_sids = 2;</code>

private mixed $track_sids

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 $participant_sid
      participant ID of participant to whom the tracks belong
@type string[] $track_sids

}

getParticipantSid()

participant ID of participant to whom the tracks belong

public getParticipantSid() : string

Generated from protobuf field string participant_sid = 1;

Return values
string

getTrackSids()

Generated from protobuf field <code>repeated string track_sids = 2;</code>

public getTrackSids() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>

setParticipantSid()

participant ID of participant to whom the tracks belong

public setParticipantSid(string $var) : $this

Generated from protobuf field string participant_sid = 1;

Parameters
$var : string
Return values
$this

setTrackSids()

Generated from protobuf field <code>repeated string track_sids = 2;</code>

public setTrackSids(array<string|int, string> $var) : $this
Parameters
$var : array<string|int, string>
Return values
$this

        
On this page

Search results