selectAudioPlaybackDevice method

  1. @override
Future<void> selectAudioPlaybackDevice(
  1. TUIAudioPlaybackDevice device
)
override

Implementation

@override
Future<void> selectAudioPlaybackDevice(TUIAudioPlaybackDevice device) async {
  if (!kIsWeb && (Platform.isIOS || Platform.isAndroid)) {
    await methodChannel.invokeMethod("selectAudioPlaybackDevice", {'device': device.index});
  }
}