Rate this page:

AudioFileUsage

Enum representing supported audio file usage modes.

Consts

IN_CALL

Copy URL

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

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

The volume is controlled by system alarm volume.

RINGTONE

Copy URL

Should be used to play an audio file for ringtone.

The volume is controlled by system ring volume.

UNKNOWN

Copy URL

Should be used if other modes are not applicable.