audio_session library
Classes
- AndroidAudioAdjustment
- AndroidAudioAttributes
- Describes to the Android platform what kind of audio you intend to play.
- AndroidAudioCapturePolicy
- AndroidAudioDeviceInfo
- AndroidAudioFlags
- The audio flags for AndroidAudioAttributes.
- AndroidAudioFocus
- AndroidAudioFocusGainType
- AndroidAudioFocusRequest
- AndroidAudioHardwareMode
- AndroidAudioManager
- If you test any feature listed as UNTESTED, consider sharing whether it works on GitHub.
- AndroidAudioUsage
- The usage options for AndroidAudioAttributes.
- AndroidAudioVolumeFlags
- AndroidGetAudioDevicesFlags
- Requires API level 23
- AndroidKeyEvent
- AndroidMicrophoneInfo
- Requires API level 28
- AndroidScoAudioEvent
- AndroidScoAudioState
- AudioDevice
- Information about an audio device. If you require platform specific device details, use AVAudioSession and AndroidAudioManager directly.
- AudioDevicesChangedEvent
- An event capturing the addition or removal of connected devices.
- AudioInterruptionEvent
- An audio interruption event.
- AudioSession
- Manages a single audio session to be used across different audio plugins in your app. AudioSession will configure your app by describing to the operating system the nature of the audio that your app intends to play.
- AudioSessionConfiguration
- A configuration for AudioSession describing what type of audio your app intends to play, and how it interacts with other audio apps. You can either create your own configuration or use the following recipes:
- AVAudioSession
- If you test any feature listed as UNTESTED, consider sharing whether it works on GitHub.
- AVAudioSessionCategoryOptions
- The category options for AVAudioSession.
- AVAudioSessionChannelDescription
- AVAudioSessionDataSourceDescription
- AVAudioSessionInterruptionNotification
- Details of an interruption in AVAudioSession.
- AVAudioSessionInterruptionOptions
- The interruption options for AVAudioSessionInterruptionNotification.
- AVAudioSessionPortDescription
- AVAudioSessionRouteChange
- AVAudioSessionRouteDescription
- AVAudioSessionSetActiveOptions
- The options for AVAudioSession.setActive.
Enums
- AndroidAudioContentType
- The content type options for AndroidAudioAttributes.
- AndroidAudioDeviceType
- AndroidMicrophoneDirectionality
- Requires API level 28
- AndroidMicrophoneLocation
- Requires API level 28
- AndroidRingerMode
- AndroidSoundEffectType
- AndroidStreamType
- AudioDeviceType
- An enumeration of the different audio device types.
- AudioInterruptionType
- The type of audio interruption.
- AVAudioSessionCategory
- The categories for AVAudioSession.
- AVAudioSessionInterruptionType
- The interruption types for AVAudioSessionInterruptionNotification.
- AVAudioSessionLocation
- AVAudioSessionMode
- The modes for AVAudioSession.
- AVAudioSessionOrientation
- AVAudioSessionPolarPattern
- AVAudioSessionPort
- AVAudioSessionPortOverride
- AVAudioSessionPromptStyle
- The prompt styles for AVAudioSession.
- AVAudioSessionRecordPermission
- The permissions for AVAudioSession.
- AVAudioSessionRouteChangeReason
- The route change reasons for AVAudioSession.
- AVAudioSessionRouteSharingPolicy
- The route sharing policies for AVAudioSession.
- AVAudioSessionSilenceSecondaryAudioHintType
-
The interruption types for
AVAudioSessionSilenceSecondaryAudioHint
.
Typedefs
-
AndroidOnAudioDevicesChanged
= void Function(List<
AndroidAudioDeviceInfo> devices) - AndroidOnAudioFocusChanged = void Function(AndroidAudioFocus focus)