SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
CreateRoomRequest Class Reference

#import <CreateRoomRequest.h>

Inherits BaseRequest.

Instance Methods

(id) - initWithRoomSettings:autoJoin:roomToLeave:
 

Class Methods

(id) + requestWithRoomSettings:autoJoin:roomToLeave:
 
(id) + requestWithRoomSettings:
 

Protected Attributes

RoomSettings_settings
 
BOOL _autoJoin
 
id< Room > _roomToLeave
 

Detailed Description

Creates a new Room in the current Zone

Method Documentation

◆ requestWithRoomSettings:

+ (id) requestWithRoomSettings: (RoomSettings *)  settings

Creates a new room in the current zone without joining it.

Parameters
settingsthe new room settings, see RoomSettings for all the details
See also
[ISFSEvent onRoomAdd:]
RoomSettings

◆ requestWithRoomSettings:autoJoin:roomToLeave:

+ (id) requestWithRoomSettings: (RoomSettings *)  settings
autoJoin: (BOOL)  autoJoin
roomToLeave: (id<Room>)  roomToLeave 
Parameters
settingsthe new room settings
autoJoinif true the Room will be joined as soon as it is created
roomToLeaveindicates which Room should be left once the join has succeeded
See also
[ISFSEvent onRoomAdd:]
RoomSettings