setInputDevice method

  1. @override
Future<void> setInputDevice(
  1. String? deviceId
)
override

Selects the input device to monitor.

Pass null to switch back to the system default input device.

Implementation

@override
Future<void> setInputDevice(String? deviceId) {
  return methodChannel.invokeMethod<void>('setInputDevice', <String, Object?>{
    'deviceId': deviceId,
  });
}