Enum GeoUniq.GeoFence.Status

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      INSIDE
      The device is inside the area monitored by the Geofence
      OUTSIDE
      The device is outside the area monitored by the Geofence
      UNKNOWN
      The status is unknown.
      This value either means that the GeoFence is 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.Status valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNKNOWN

        public static final GeoUniq.GeoFence.Status UNKNOWN
        The status is unknown.
        This value either means that the GeoFence is 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 the Geofence
      • OUTSIDE

        public static final GeoUniq.GeoFence.Status OUTSIDE
        The device is outside the area monitored by the Geofence
    • 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 name
        java.lang.NullPointerException - if the argument is null