startCallWithUUID method
Implementation
Future<int> startCallWithUUID(
String uuid,
bool isVideo,
) async {
final microphoneRequest = await Permission.microphone.request();
if (microphoneRequest.isGranted) {
final action =
OmiAction(actionName: OmiActionName.START_CALL_WITH_UUID, data: {
'usrUuid': uuid,
'isVideo': isVideo,
});
return await _controller.action(action);
}
return OmiStartCallStatus.permissionDenied.rawValue;
}