initCallWithUserPassword method

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

Implementation

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