manageAudioSession abstract method
Activates or deactivates the management of iOS audio session.
If true
, the plugin will activate session and setup categories for you.
This may conflicts with current settings in your app if you already have external audio session management.
If false
, the audio session won't be activated and categories will stay the same.
Other parameters may be touched for recording requirements (interruption, sample rate, channels, ...).
In both cases, usage of setAudioSessionActive and setAudioSessionCategory is allowed.
Implementation
Future<void> manageAudioSession(bool manage);