disableSilenceDetection method

  1. @override
Future<void> disableSilenceDetection({
  1. required AudioDeviceFlow flow,
})
override

Disables native silence detection for the given flow.

Implementation

@override
Future<void> disableSilenceDetection({
  required AudioDeviceFlow flow,
}) {
  return methodChannel.invokeMethod<void>(
    'disableSilenceDetection',
    <String, Object?>{
      'flow': flow == AudioDeviceFlow.input ? 'input' : 'output',
    },
  );
}