java.lang.Object
dev.onvoid.webrtc.examples.web.model.JoinMessage.JoinData
- Enclosing class:
- JoinMessage
Inner class representing the data payload of a join message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoom()Gets the room.Gets the user information.voidSets the room.voidsetUserInfo(JoinMessage.UserInfo userInfo) Sets the user information.
-
Constructor Details
-
JoinData
public JoinData()Default constructor required for JSON deserialization. -
JoinData
Creates a new JoinData with the specified room.- Parameters:
room- the room to join
-
JoinData
Creates a new JoinData with the specified room and user information.- Parameters:
room- the room to joinuserInfo- the user information
-
-
Method Details
-
getRoom
Gets the room.- Returns:
- the room
-
setRoom
Sets the room.- Parameters:
room- the room
-
getUserInfo
Gets the user information.- Returns:
- the user information
-
setUserInfo
Sets the user information.- Parameters:
userInfo- the user information
-