openLocalMicrophone method

Future<TUIActionCallback> openLocalMicrophone(
  1. TUIAudioQuality quality
)

Implementation

Future<TUIActionCallback> openLocalMicrophone(TUIAudioQuality quality) {
  String userData = Tools.generateUserData();
  Completer<TUIActionCallback> completer = Completer();
  _actionCallback2Future(userData, completer);
  _engineSDK.Dart_OpenLocalMicrophone(
      _engineFFIPointer, quality.value(), Tools.string2PointerChar(userData));
  return completer.future;
}