|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.audio.ToneClass
public class ToneClass
bits for Tone
| Field Summary | |
|---|---|
static int |
ALL
all bits on |
static int |
APPS
bits open for application use: 1<<16 1<<31 |
static int |
BACKGROUND
email, looping is off |
static int |
BACKGROUND_DEFAULT
Default background configuration |
static int |
BACKGROUND_SYSTEM
foreground/background but doesn't show up in pickers |
static int |
CUSTOM
imported, looping available |
static int |
FOREGROUND
rings and reminders, looping is enabled |
static int |
FOREGROUND_DEFAULT
Default foreground configuration |
static int |
FOREGROUND_SYSTEM
by default |
static int |
HIDDEN
|
static int |
KEY
key presses |
static int |
MEDIAPLAYER_FORCE_FOLLOW
foreground and background |
static int |
MOOD
built in mood ringtones "mood-tones :)". |
static int |
NONE
|
static int |
ON_PHONE
plays when on phone |
static int |
ON_PHONE_ONLY
on phone only |
static int |
SYSTEM
system UI, looping is off |
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_DEFAULT
public static final int BACKGROUND_DEFAULT
public static final int MEDIAPLAYER_FORCE_FOLLOW
public static final int ON_PHONE_ONLY
public static final int MOOD
public static final int HIDDEN
public static final int APPS
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||