-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customization of iOS audio categories from flutter
- Loading branch information
1 parent
809a5e4
commit ae59cd0
Showing
7 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
record_platform_interface/lib/src/types/ios_audio_categories.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/// Constants that specify optional audio behaviors. | ||
/// https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions | ||
enum IosAudioCategories { | ||
mixWithOthers, | ||
duckOthers, | ||
allowBluetooth, | ||
defaultToSpeaker, | ||
/// available from iOS 9.0 | ||
interruptSpokenAudioAndMixWithOthers, | ||
/// available from iOS 10.0 | ||
allowBluetoothA2DP, | ||
/// available from iOS 10.0 | ||
allowAirPlay, | ||
/// available from iOS 14.5 | ||
overrideMutedMicrophoneInterruption | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters