LiveKitClient class
Main entry point to connect to a room.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
connect(
String url, String token, {ConnectOptions? connectOptions, RoomOptions? roomOptions}) → Future< Room> -
Convenience method for connecting to a LiveKit server.
Returns a
Room
upon a successful connect or throws when it fails. Alternatively, it is possible to instantiateRoom
and call Room.connect directly.