HuddleClient class

Constructors

HuddleClient({required String projectId, bool? autoConsume})

Properties

hashCode → int
The hash code for this object.
no setterinherited
localPeer → LocalPeer
Returns the localPeer
no setter
projectId ↔ String
Project Id of the Huddle01 Project
getter/setter pair
room → Room
Returns the room instance
no setter
roomId → String?
Room Id of the current room
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
socket → Socket
Returns the underlying socket connection @throws { Error } If the socket connection is not initialized
no setter

Methods

closeRoom() → void
Close the room and disconnect from the socket
joinRoom(String roomId, String token) → Future<Room?>
Default method to connect to the Huddle01 Media Room. This method connects to socket, creates a room, and then connects to the room
leaveRoom() → void
Leave the room and disconnect from the socket
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRegion(String region) → void
Set a new region for the Huddle01 Media Servers
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited