Constructor
new QuickJoinOrCreateRoomRequest(matchExpression, groupList, settings, roomToLeaveopt)
Creates a new instance of the QuickJoinOrCreateRoomRequest 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 |
|---|---|---|---|---|
matchExpression | MatchExpression | A matching expression to use to look for a Room where to join the User. | ||
groupList | Array.<string> | A list of Group names to further filter the search; if null, all Groups are searched. | ||
settings | RoomSettings | An object with the configuration parameters to create a new Room, in case an existing Room can't be found through the matching expression. | ||
roomToLeave | SFSRoom | <optional> | null | An object representing a previously joined Room that the User should leave when joining the new Room. |