RoomSettings Class Reference
| Inherits from | NSObject |
| Declared in | RoomSettings.h RoomSettings.m |
Overview
This class provides the Room settings that you can pass to a CreateRoomRequest
Some of these fields are mandatory and some other are populated by default if you don’t specify them.
- name: mandatory, each Room must have a unique name
- password: optional, by default a Room is created without a password
- groupId: optional, by default Rooms are created in the ‘default’ group if none is specified
- isGame: optional, by default isGame flage is set to false
- maxUsers: optional, if no value is provided the default value of 10 is used
- maxSpectators: optional, if no value is provided the default value of 0 is used
- maxVariables: optional, if no value is provided the default value of 5 is used
- variables: optional, an array of RoomVariables to be set at creation time
- permissions: optional, if no value is provided the default RoomPermissions configuration is used
- events: optional, if no value is provided the default RoomEvents configuration is used
- extension: optional. No default values
See RoomEvents, RoomPermissions, RoomExtension, CreateRoomRequest
*
Tasks
-
nameThe name of the new Room
property -
passwordThe password of the Room. If null is used the Room will not be password protected
property -
groupIdthe if of the Room Group in which the new Room should be created
property -
isGameIndicates if this is a Game Room
property -
maxUsersThe maximum number of users/players allowed in the Room
property -
maxSpectatorsThe maximum number of spectators allowed for this Room (only for Game Rooms)
property -
maxVariablesThe maximum number of Room Variables allowed for this Room
property -
variablesA list of Room Variables that should be attached to the newly created Room
property -
permissionsThe Room Permission settings of the new Room
property -
eventsThe Room Event settings of the new Room
property -
extensionThe Extension settings for the new Room
property
Properties
events
The Room Event settings of the new Room
@property (retain) RoomEvents *eventsDiscussion
The Room Event settings of the new Room
See Also
Declared In
RoomSettings.hextension
The Extension settings for the new Room
@property (retain) RoomExtension *extensionDiscussion
The Extension settings for the new Room
See Also
Declared In
RoomSettings.hgroupId
the if of the Room Group in which the new Room should be created
@property (retain) NSString *groupIdDiscussion
the if of the Room Group in which the new Room should be created
Declared In
RoomSettings.hisGame
Indicates if this is a Game Room
@property (assign) BOOL isGameDiscussion
Indicates if this is a Game Room
Declared In
RoomSettings.hmaxSpectators
The maximum number of spectators allowed for this Room (only for Game Rooms)
@property (assign) NSInteger maxSpectatorsDiscussion
The maximum number of spectators allowed for this Room (only for Game Rooms)
Declared In
RoomSettings.hmaxUsers
The maximum number of users/players allowed in the Room
@property (assign) NSInteger maxUsersDiscussion
The maximum number of users/players allowed in the Room
Declared In
RoomSettings.hmaxVariables
The maximum number of Room Variables allowed for this Room
@property (assign) NSInteger maxVariablesDiscussion
The maximum number of Room Variables allowed for this Room
Declared In
RoomSettings.hname
The name of the new Room
@property (retain) NSString *nameDiscussion
The name of the new Room
Declared In
RoomSettings.hpassword
The password of the Room. If null is used the Room will not be password protected
@property (retain) NSString *passwordDiscussion
The password of the Room. If null is used the Room will not be password protected
Declared In
RoomSettings.hpermissions
The Room Permission settings of the new Room
@property (retain) RoomPermissions *permissionsDiscussion
The Room Permission settings of the new Room
See Also
Declared In
RoomSettings.h