selectedAudioDevice static method

Future<String?> selectedAudioDevice()

Returns the selected audio device during a call.

This static method asynchronously retrieves the selected audio device during an ongoing call from the Mirrorfly platform.

Returns a Future that resolves to a String representing the Type of the selected audio device.you will get available audio device types from getAllAvailableAudioInput

Implementation

static Future<String?> selectedAudioDevice() async {
  return FlyChatFlutterPlatform.instance.selectedAudioDevice();
}