Rate this page:

AudioFileUsage

Android

Enum representing supported audio file usage modes

Constants

IN_CALL

Copy URL

Should be used to play audio files 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 audio file for notifications outside a call The volume is controlled by system alarm volume

RINGTONE

Copy URL

Should be used to play audio file for ringtone The volume is controlled by system ring volume

UNKNOWN

Copy URL

Should be used if other modes are not applicable.