Package com.geouniq.android
Enum GeoUniq.GeoFence.Status
- java.lang.Object
-
- java.lang.Enum<GeoUniq.GeoFence.Status>
-
- com.geouniq.android.GeoUniq.GeoFence.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeoUniq.GeoFence.Status>
- Enclosing class:
- GeoUniq.GeoFence
public static enum GeoUniq.GeoFence.Status extends java.lang.Enum<GeoUniq.GeoFence.Status>
Models the status of the device with respect to aGeofence. For a monitoredGeoFence, the status is automatically checked and updated- See Also:
GeoUniq.setGeoFence(GeoFence)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSIDEThe device is inside the area monitored by theGeofenceOUTSIDEThe device is outside the area monitored by theGeofenceUNKNOWNThe status is unknown.
This value either means that theGeoFenceis not being monitored or that the position of the device is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoUniq.GeoFence.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GeoUniq.GeoFence.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final GeoUniq.GeoFence.Status UNKNOWN
The status is unknown.
This value either means that theGeoFenceis not being monitored or that the position of the device is unknown.
-
INSIDE
public static final GeoUniq.GeoFence.Status INSIDE
The device is inside the area monitored by theGeofence
-
OUTSIDE
public static final GeoUniq.GeoFence.Status OUTSIDE
The device is outside the area monitored by theGeofence
-
-
Method Detail
-
values
public static GeoUniq.GeoFence.Status[] 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 (GeoUniq.GeoFence.Status c : GeoUniq.GeoFence.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoUniq.GeoFence.Status 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
-
-