Package com.skyhookwireless.wps
Enum WPSGeoFence.Type
- java.lang.Object
-
- java.lang.Enum<WPSGeoFence.Type>
-
- com.skyhookwireless.wps.WPSGeoFence.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WPSGeoFence.Type>
- Enclosing class:
- WPSGeoFence
public static enum WPSGeoFence.Type extends java.lang.Enum<WPSGeoFence.Type>
Geofence type- Since:
- 4.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WPS_GEOFENCE_ENTER
identify a geofence that triggers when the user enters the defined zoneWPS_GEOFENCE_INSIDE
identify a geofence that triggers when the user's location starts within or enters the defined zone.WPS_GEOFENCE_LEAVE
identify a geofence that triggers when the user leaves the defined zoneWPS_GEOFENCE_OUTSIDE
identify a geofence that triggers when the user's location starts outside of or leaves the defined zone
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static WPSGeoFence.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WPSGeoFence.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WPS_GEOFENCE_ENTER
public static final WPSGeoFence.Type WPS_GEOFENCE_ENTER
identify a geofence that triggers when the user enters the defined zone
-
WPS_GEOFENCE_LEAVE
public static final WPSGeoFence.Type WPS_GEOFENCE_LEAVE
identify a geofence that triggers when the user leaves the defined zone
-
WPS_GEOFENCE_INSIDE
public static final WPSGeoFence.Type WPS_GEOFENCE_INSIDE
identify a geofence that triggers when the user's location starts within or enters the defined zone.- Since:
- 4.8
-
WPS_GEOFENCE_OUTSIDE
public static final WPSGeoFence.Type WPS_GEOFENCE_OUTSIDE
identify a geofence that triggers when the user's location starts outside of or leaves the defined zone- Since:
- 4.8
-
-
Method Detail
-
values
public static WPSGeoFence.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WPSGeoFence.Type c : WPSGeoFence.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WPSGeoFence.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<WPSGeoFence.Type>
-
-