public enum ConditionalBroadcasting extends java.lang.Enum<ConditionalBroadcasting>
Enum Constant and Description |
---|
FLIP_TO_SLEEP
Beacon does not advertise when it's stationary and facing gecko pad up.
|
MOTION_ONLY
Beacon only advertises when in motion.
|
OFF
No conditional broadcasting is turned on.
|
Modifier and Type | Method and Description |
---|---|
static ConditionalBroadcasting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConditionalBroadcasting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionalBroadcasting OFF
public static final ConditionalBroadcasting FLIP_TO_SLEEP
public static final ConditionalBroadcasting MOTION_ONLY
public static ConditionalBroadcasting[] values()
for (ConditionalBroadcasting c : ConditionalBroadcasting.values()) System.out.println(c);
public static ConditionalBroadcasting 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 null