initCallWithUserPassword method

Future<bool> initCallWithUserPassword({
  1. String? userName,
  2. String? password,
  3. String? realm,
  4. String? host,
  5. String? fcmToken,
  6. bool isVideo = true,
})

Implementation

Future<bool> initCallWithUserPassword({
  String? userName,
  String? password,
  String? realm,
  String? host,
  String? fcmToken,
  bool isVideo = true,
}) async {
  final action =
      OmiAction(actionName: OmiActionName.INIT_CALL_USER_PASSWORD, data: {
        'userName': userName,
        'password': password,
        'realm': realm,
        'isVideo': isVideo,
        'fcmToken': fcmToken,
        'host': host,
      });
  return await _controller.action(action);
}