SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
|
#import <QuickJoinOrCreateRoomRequest.h>
Inherits BaseRequest.
Class Methods | |
(id) | + requestWithMatchExpression:groupList:roomSettings:roomToLeave: |
(id) | + requestWithMatchExpression:groupList:roomSettings: |
The request attempts to find a matching Room to join immediately. If the provided MatchExpression doesn't return any valid match a new Room is created with the settings provided and auto-joined.
+ (id) requestWithMatchExpression: | (MatchExpression*) | matchExp | |
groupList: | (NSArray*) | groupList | |
roomSettings: | (RoomSettings*) | settings | |
matchExp | a MatchExpression to search for a specifc subset of Rooms |
groupList | one or more valid group names where to search for Rooms |
roomSettings | the setting for the Room that will be created if no Rooms match the search criteria |
+ (id) requestWithMatchExpression: | (MatchExpression*) | matchExp | |
groupList: | (NSArray*) | groupList | |
roomSettings: | (RoomSettings*) | settings | |
roomToLeave: | (id<Room>) | roomToLeave | |
matchExp | a MatchExpression to search for a specifc subset of Rooms |
groupList | one or more valid group names where to search for Rooms |
roomSettings | the setting for the Room that will be created if no Rooms match the search criteria |
roomToLeave | an optional Room to leave when the new Room is joined |