joinMeeting method

  1. @override
Future<bool> joinMeeting(
  1. ZoomMeetingOptions options
)
override

Join Meeting Function for Zoom Web

Implementation

@override
Future<bool> joinMeeting(ZoomMeetingOptions options) async {
  final Completer<bool> 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(true);
      }),
      error: allowInterop((var res) {
        completer.complete(false);
      })));
  return completer.future;
}