ServiceCreateRoom Method

Create a new room.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public void CreateRoom(
	string displayName = null,
	bool inviteOnly = false,
	ushort pin = 0,
	bool onDemand = true,
	bool joinRoom = true,
	ushort maxUsers = 0
)

Parameters

displayName  String  (Optional)
name of the room.
inviteOnly  Boolean  (Optional)
Prevent room from appearing in room lists.
pin  UInt16  (Optional)
Pin code. Zero mens no pin code.
onDemand  Boolean  (Optional)
Close room when lats client leaves.
joinRoom  Boolean  (Optional)
Join room when creating it.
maxUsers  UInt16  (Optional)
Maximum number of users in the room.

See Also