Constructor
new SetRoomVariablesRequest(roomVariables, roomopt)
Creates a new instance of the SetRoomVariablesRequest class.
Pass the instance to the SmartFox#send method to validate and execute the request.
Pass the instance to the SmartFox#send method to validate and execute the request.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
roomVariables | Array.<SFSRoomVariable> | A list of objects representing the Room Variables to set. | ||
room | SFSRoom | <optional> | null | An object representing the Room where to set the Room Variables; if null, the last Room joined by the User is used. |