public static enum PlatformChannel.HapticFeedbackType extends Enum<PlatformChannel.HapticFeedbackType>
Enum Constant and Description |
---|
HEAVY_IMPACT |
LIGHT_IMPACT |
MEDIUM_IMPACT |
SELECTION_CLICK |
STANDARD |
Modifier and Type | Method and Description |
---|---|
static PlatformChannel.HapticFeedbackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformChannel.HapticFeedbackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformChannel.HapticFeedbackType STANDARD
public static final PlatformChannel.HapticFeedbackType LIGHT_IMPACT
public static final PlatformChannel.HapticFeedbackType MEDIUM_IMPACT
public static final PlatformChannel.HapticFeedbackType HEAVY_IMPACT
public static final PlatformChannel.HapticFeedbackType SELECTION_CLICK
public static PlatformChannel.HapticFeedbackType[] values()
for (PlatformChannel.HapticFeedbackType c : PlatformChannel.HapticFeedbackType.values()) System.out.println(c);
public static PlatformChannel.HapticFeedbackType 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 null