TgoRTC class
The main entry point for the TgoRTC SDK.
This is a singleton class that provides access to all SDK functionality.
Usage
// Initialize the SDK
TgoRTC.instance.init(Options());
// Join a room
await TgoRTC.instance.roomManager.joinRoom(roomInfo);
// Get local participant
final local = TgoRTC.instance.participantManager.getLocalParticipant();
Properties
- audioManager ↔ TgoAudioManager
-
Audio manager for handling audio output.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- options ↔ Options
-
SDK configuration options.
getter/setter pair
- participantManager ↔ TgoParticipantManager
-
Participant manager for handling local and remote participants.
getter/setter pair
- roomManager ↔ TgoRoomManager
-
Room manager for handling room connection and events.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
Options options) → void - Initialize the SDK with the given options.
-
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