startMeeting method

  1. @override
Future<List> startMeeting(
  1. ZoomMeetingOptions options
)
override

Start Meeting Function for Zoom Web

Implementation

@override
Future<List> startMeeting(ZoomMeetingOptions options) async {
  final Completer<List> completer = Completer();
  ZoomMtg.join(JoinParams(
      meetingNumber: options.meetingId,
      userName: options.displayName ?? options.userId,
      signature: options.jwtSignature!,
      apiKey: options.jwtAPIKey!,
      passWord: options.meetingPassword,
      success: allowInterop((var res) {
        completer.complete(["MEETING STATUS", "SUCCESS"]);
      }),
      error: allowInterop((var res) {
        completer.complete(["MEETING STATUS", "FAILED"]);
      })));
  return completer.future;
}