public enum VibrationType extends Enum<VibrationType>
| Enum Constant and Description |
|---|
VIBRATION_LONG |
VIBRATION_MEDIUM |
VIBRATION_SHORT |
| Modifier and Type | Method and Description |
|---|---|
static VibrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VibrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VibrationType VIBRATION_SHORT
public static final VibrationType VIBRATION_MEDIUM
public static final VibrationType VIBRATION_LONG
public static VibrationType[] values()
for (VibrationType c : VibrationType.values()) System.out.println(c);
public static VibrationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.