Methods
Init

Init

Initializes and sets up the app state required by the library. This method should be invoked first at all times.

meeting_screen.dart
import 'package:flutter/material.dart';
import 'package:huddle01_flutter_client/huddle_client.dart';
 
 
class MeetingScreen extends StatefulWidget {
  ...
}
 
class _MeetingScreenState extends State<MeetingScreen> {
  late HuddleClient huddleClient;
 
  @override
  void initState() {
    ...
  }
 
  @override
  Widget build(BuildContext context) {
    return Column(
      children:[
        ElevatedButton(
          onPressed:(){
            huddleClient.unmuteMic();
          },
          child: const Text("Unmute Mic"),
        ),
        ElevatedButton(
          onPressed:(){
            huddleClient.muteMic();
          },
          child: const Text("Mute Mic"),
        ),
      ]
    );
  }
}
Audio/Video Infrastructure designed for the developers to empower them ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2022 Graphene 01, Inc. All Rights Reserved.