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}
clearParticipant()
public
clearParticipant() : mixed
clearRoom()
public
clearRoom() : mixed
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>getParticipant()
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>
public
getParticipant() : ParticipantInfo|null
Return values
ParticipantInfo|nullgetRoom()
information about the new room
public
getRoom() : Room|null
Generated from protobuf field .livekit.Room room = 1;
Return values
Room|nullgetToken()
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
stringhasParticipant()
public
hasParticipant() : mixed
hasRoom()
public
hasRoom() : mixed
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
$thissetParticipant()
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code>
public
setParticipant(ParticipantInfo $var) : $this
Parameters
- $var : ParticipantInfo
Return values
$thissetRoom()
information about the new room
public
setRoom(Room $var) : $this
Generated from protobuf field .livekit.Room room = 1;
Parameters
- $var : Room
Return values
$thissetToken()
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