huddle01_flutter_client

Last updated:

0 purchases

huddle01_flutter_client Image
huddle01_flutter_client Images
Add to Cart

Description:

huddle01 flutter client

Huddle01 Flutter SDK #


People-powered
Communication


Community
·
Documentation

Flutter SDK #
The Huddle01 Flutter SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
Pre Requisites #
Before using the Flutter SDK, you must have Flutter installed on your machine. You can install Flutter using one of the following method:

Use the official flutter docs website

After installing Flutter verify it's installed by running the following command in your terminal:
flutter --version
copied to clipboard
Installing the packages: #
To get started with the Huddle01 Flutter SDK, you can install the package using:
flutter pub add huddle01_flutter_client
copied to clipboard
Initializing the SDK: #
After installing the package, you can initialize the SDK
String projectId = 'YOUR-PROJECT-ID';

// Initialize your huddleClient
HuddleClient huddleClient = HuddleClient(
projectId: 'ENTER_YOUR_PROJECT_KEY',
);
copied to clipboard
Joining the room: #
Once you initialise huddleClient you can access various methods such as joinRoom. You can generate roomId using this API and an access token to join that particular room using our Server SDK. The access token should always be generated on a backend server.
Add the joinRoom() and leaveRoom() methods for joining and leaving functionalities.
String roomId = 'YOUR-ROOM-ID';
String token = 'YOUR-TOKEN';

// Join Room
huddleClient.joinRoom(roomId, token);
// Leave Room
huddleClient.leaveRoom();
copied to clipboard
💡 For more information head to https://docs.huddle01.com/docs/Flutter
💡 For any help reach out to us on
Discord

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.