setAppleAudioIOMode static method

Future<void> setAppleAudioIOMode(
  1. AppleAudioIOMode mode, {
  2. bool preferSpeakerOutput = false,
})

Set the audio configuration for iOS

Implementation

static Future<void> setAppleAudioIOMode(AppleAudioIOMode mode,
        {bool preferSpeakerOutput = false}) =>
    AppleNativeAudioManagement.setAppleAudioConfiguration(
        AppleNativeAudioManagement.getAppleAudioConfigurationForMode(mode,
            preferSpeakerOutput: preferSpeakerOutput));