usage

val usage: Int

Defines the context in which the stream is used, providing information about why the sound is playing and what the sound is used for. Usage information is more expressive than a stream type and allows platforms or routing policies to refine volume or routing decisions Defaults to AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE

See also

<a href="https://source.android.com/devices/audio/attributes#using">Using attributes</a>