Do they have be declared first somewhere before using them? If so, how?
I'm asking because when I'm creating a room if I want to set a group id it won't work
Code: Select all
RoomSettings room = new RoomSettings(nextRoom);
room.setGroupId("experience" + keycode);
room.setMaxUsers(MAX_ROOM_USERS);
if (password != null && !password.equals(""))
room.setPassword(password);
sfClient.send(new CreateRoomRequest(room));
If I comment the second line it will work.