|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConfigurationBean.TrackChangeNotifEnum> sk.baka.ambient.ConfigurationBean.TrackChangeNotifEnum
public static enum ConfigurationBean.TrackChangeNotifEnum
A notification to show when the current playing track is changed.
Enum Constant Summary | |
---|---|
Long
Detailed info. |
|
None
No notification. |
|
Short
A quick info. |
Field Summary | |
---|---|
int |
caption
Caption text. |
int |
viewDuration
View duration, intended for the Toast.setDuration(int)
method. |
Method Summary | |
---|---|
static List<CharSequence> |
getCaptions(Context context)
Returns captions list. |
static ConfigurationBean.TrackChangeNotifEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigurationBean.TrackChangeNotifEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConfigurationBean.TrackChangeNotifEnum None
public static final ConfigurationBean.TrackChangeNotifEnum Short
public static final ConfigurationBean.TrackChangeNotifEnum Long
Field Detail |
---|
public final int caption
public final int viewDuration
Toast.setDuration(int)
method.
Method Detail |
---|
public static ConfigurationBean.TrackChangeNotifEnum[] values()
for (ConfigurationBean.TrackChangeNotifEnum c : ConfigurationBean.TrackChangeNotifEnum.values()) System.out.println(c);
public static ConfigurationBean.TrackChangeNotifEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static List<CharSequence> getCaptions(Context context)
context
- string resolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |