|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--danger.audio.ToneClass
bits for Tone
| Field Summary | |
static int |
ALL
all bits on |
static int |
BACKGROUND
|
static int |
BACKGROUND_SYSTEM
foreground/background but doesn't show up in pickers |
static int |
CUSTOM
imported |
static int |
FOREGROUND
rings and reminders |
static int |
FOREGROUND_ON_PHONE
ringtones need to play while phone is active |
static int |
FOREGROUND_SYSTEM
by default |
static int |
HIDDEN
|
static int |
KEY
key presses |
static int |
NONE
|
static int |
ON_PHONE
plays when on phone |
static int |
SYSTEM
system UI |
static int |
UNMUTABLE
plays even when system mute is in effect |
| Constructor Summary | |
ToneClass()
|
|
| Method Summary | |
static int |
toVolumeClass(int klass)
convert a ToneClass to a VolumeSelector |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NONE
public static final int FOREGROUND
public static final int BACKGROUND
public static final int SYSTEM
public static final int CUSTOM
public static final int KEY
public static final int UNMUTABLE
public static final int ON_PHONE
public static final int BACKGROUND_SYSTEM
public static final int FOREGROUND_SYSTEM
public static final int FOREGROUND_ON_PHONE
public static final int HIDDEN
public static final int ALL
| Constructor Detail |
public ToneClass()
| Method Detail |
public static int toVolumeClass(int klass)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||