public static enum IToast.Visibility extends java.lang.Enum<IToast.Visibility>
Modifier and Type | Field and Description |
---|---|
private SoundEvent |
sound |
Modifier and Type | Method and Description |
---|---|
void |
playSound(SoundHandler handler) |
static IToast.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IToast.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IToast.Visibility SHOW
public static final IToast.Visibility HIDE
private final SoundEvent sound
public static IToast.Visibility[] values()
for (IToast.Visibility c : IToast.Visibility.values()) System.out.println(c);
public static IToast.Visibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void playSound(SoundHandler handler)