audioStreamType

var audioStreamType: Int

The audio stream type to use when requesting audio focus on pre-O devices.

Defaults to AudioManager.STREAM_VOICE_CALL.

Refer to this compatibility table to ensure that your values match between android versions.

Note: Manual audio routing may not work appropriately when using non-default values.

Sources

SDK source
Link copied to clipboard