RoomFactory
interface RoomFactory
Creates Rooms backed by a us.tractat.kuilt.core.Loom.
The RoomFactory wraps one us.tractat.kuilt.core.Loom instance and creates rooms via host (new session) or join (existing session).
Inheritors
Functions
Link copied to clipboard
abstract suspend fun host(pattern: Pattern, memberName: String? = null, roomId: RoomId? = null, admission: HostAdmission): Room
Host a new room. The caller's peer becomes the SessionRole.Host.