Documentation

RoomMovedResponse extends Message
in package

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

Table of Contents

Properties

$participant  : mixed
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>
$room  : mixed
information about the new room
$token  : mixed
new reconnect token that can be used to reconnect to the new room
$other_participants  : mixed
Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>

Methods

__construct()  : mixed
Constructor.
clearParticipant()  : mixed
clearRoom()  : mixed
getOtherParticipants()  : RepeatedField<string|int, ParticipantInfo>
Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>
getParticipant()  : ParticipantInfo|null
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>
getRoom()  : Room|null
information about the new room
getToken()  : string
new reconnect token that can be used to reconnect to the new room
hasParticipant()  : mixed
hasRoom()  : mixed
setOtherParticipants()  : $this
Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>
setParticipant()  : $this
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>
setRoom()  : $this
information about the new room
setToken()  : $this
new reconnect token that can be used to reconnect to the new room

Properties

$participant

Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>

protected mixed $participant = null

$room

information about the new room

protected mixed $room = null

Generated from protobuf field .livekit.Room room = 1;

$token

new reconnect token that can be used to reconnect to the new room

protected mixed $token = ''

Generated from protobuf field string token = 2;

$other_participants

Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>

private mixed $other_participants

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 \Livekit\Room $room
      information about the new room
@type string $token
      new reconnect token that can be used to reconnect to the new room
@type \Livekit\ParticipantInfo $participant
@type \Livekit\ParticipantInfo[] $other_participants

}

getOtherParticipants()

Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>

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

getRoom()

information about the new room

public getRoom() : Room|null

Generated from protobuf field .livekit.Room room = 1;

Return values
Room|null

getToken()

new reconnect token that can be used to reconnect to the new room

public getToken() : string

Generated from protobuf field string token = 2;

Return values
string

setOtherParticipants()

Generated from protobuf field <code>repeated .livekit.ParticipantInfo other_participants = 4;</code>

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

setRoom()

information about the new room

public setRoom(Room $var) : $this

Generated from protobuf field .livekit.Room room = 1;

Parameters
$var : Room
Return values
$this

setToken()

new reconnect token that can be used to reconnect to the new room

public setToken(string $var) : $this

Generated from protobuf field string token = 2;

Parameters
$var : string
Return values
$this

        
On this page

Search results