audioAttributeContentType

var audioAttributeContentType: Int

The audio attribute content type to use when requesting audio focus on devices O and beyond.

Defaults to AudioAttributes.CONTENT_TYPE_SPEECH.

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

Sources

SDK source
Link copied to clipboard