startMicDeviceTest method

Future<int?> startMicDeviceTest(
  1. int interval
)

Start mic test (Support for macOS and Windows platforms)

Parameters:

interval Volume callback interval in ms

Return:

0: success; negative number: failure

Implementation

Future<int?> startMicDeviceTest(int interval
    ) async {
  var result = await _channel.invokeMethod('startMicDeviceTest', {
    "interval": interval
  });
  return V2TXLiveFlutterResult.intValue(result);
}