Rate this page:

AudioFileUsage

Enum representing supported audio file usage modes.

Consts

IN_CALL

Copy URL
IN_CALL: 

Should be used to play an audio file during a call, for example to play progress tone.

The volume is controlled by system call volume.

NOTIFICATION

Copy URL
NOTIFICATION: 

Should be used to play an audio file for notifications outside a call.

The volume is controlled by system alarm volume.

RINGTONE

Copy URL
RINGTONE: 

Should be used to play an audio file for ringtone.

The volume is controlled by system ring volume.

UNKNOWN

Copy URL
UNKNOWN: 

Should be used if other modes are not applicable.