Class GeofenceEvent

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class GeofenceEvent
     implements Serializable
                        

    Class represents information for geofence event

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getType() Get the type of the geofence event (enter or exit)
      Geofence getGeofence() Check if the event is internal, i.e.
      boolean equals(Object o)
      int hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getType

         int getType()

        Get the type of the geofence event (enter or exit)

        Returns:

        the type of the event

      • getGeofence

         Geofence getGeofence()

        Check if the event is internal, i.e. it is created by the SDK and not defined by the user on PC

        Returns:

        true if the event is internal, false otherwise