audioStreamType

var audioStreamType: Int

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

Defaults to AudioManager.STREAM_MUSIC.

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

Sources

SDK source
Link copied to clipboard