Skip to main content

AndroidConfig

@siteed/expo-audio-studio


@siteed/expo-audio-studio / AndroidConfig

Interface: AndroidConfig

Defined in: src/ExpoAudioStream.types.ts:242

Android platform specific configuration options

Properties

audioFocusStrategy?

optional audioFocusStrategy: "background" | "interactive" | "communication" | "none"

Defined in: src/ExpoAudioStream.types.ts:253

Audio focus strategy for handling interruptions and background behavior

  • 'background': Continue recording when app loses focus (voice recorders, transcription apps)
  • 'interactive': Pause when losing focus, resume when gaining (music apps, games)
  • 'communication': Maintain priority for real-time communication (video calls, voice chat)
  • 'none': No automatic audio focus management (custom handling)

Default

'background' when keepAwake=true, 'interactive' otherwise