LISNR Radius Android SDK 2.0.0
Public Attributes | List of all members
com.lisnr.radius.StreamBuilder.Usage Enum Reference

Enum specifying usage types. More...

Public Attributes

 MEDIA
 
 VOICE_COMMUNICATION
 
 VOICE_COMMUNICATION_SIGNALLING
 
 ALARM
 
 NOTIFICATION
 
 NOTIFICATION_RINGTONE
 
 NOTIFICATION_EVENT
 
 ASSISTENCE_ACCESSIBILITY
 
 ASSISTENCE_NAVIGATION_GUIDANCE
 
 ASSISTANCE_SONIFICATION
 
 GAME
 
 ASSISTANT
 

Detailed Description

Enum specifying usage types.

The usage attribute expresses 'why' a sound is being played. On certain platforms or routing policies this is used to make more refined volume or routing decisions.

This only has an effect on Android API 28+.

Note
It is unclear what effect each of these settings may have on the quality and distance of tones played from the SDK. It is recommended to leave it as the default.

Member Data Documentation

◆ ALARM

com.lisnr.radius.StreamBuilder.Usage.ALARM

Use this to demand the users attentions.

◆ ASSISTANCE_SONIFICATION

com.lisnr.radius.StreamBuilder.Usage.ASSISTANCE_SONIFICATION

Use this for user interface sounds, beeps, etc.

◆ ASSISTANT

com.lisnr.radius.StreamBuilder.Usage.ASSISTANT

Use this for audio responses to user queries, audio instructions or help utterances.

◆ ASSISTENCE_ACCESSIBILITY

com.lisnr.radius.StreamBuilder.Usage.ASSISTENCE_ACCESSIBILITY

Use this for screen readers, etc.

◆ ASSISTENCE_NAVIGATION_GUIDANCE

com.lisnr.radius.StreamBuilder.Usage.ASSISTENCE_NAVIGATION_GUIDANCE

Use this for driving or navigation directions.

◆ GAME

com.lisnr.radius.StreamBuilder.Usage.GAME

Use this for game audio and sound effects.

◆ MEDIA

com.lisnr.radius.StreamBuilder.Usage.MEDIA

Use this for streaming media, music performance, video, podcasts, etc. Default.

◆ NOTIFICATION

com.lisnr.radius.StreamBuilder.Usage.NOTIFICATION

Use this for notifying the user when a message has arrived or some other background event has occurred.

◆ NOTIFICATION_EVENT

com.lisnr.radius.StreamBuilder.Usage.NOTIFICATION_EVENT

Use this to attract the users attention when, for example, the battery is low.

◆ NOTIFICATION_RINGTONE

com.lisnr.radius.StreamBuilder.Usage.NOTIFICATION_RINGTONE

Use this when the phone rings.

◆ VOICE_COMMUNICATION

com.lisnr.radius.StreamBuilder.Usage.VOICE_COMMUNICATION

Use this for voice over IP, telephony, etc.

◆ VOICE_COMMUNICATION_SIGNALLING

com.lisnr.radius.StreamBuilder.Usage.VOICE_COMMUNICATION_SIGNALLING

Use this for sounds associated with telephony such as busy tones, etc.


The documentation for this enum was generated from the following file: