Package 

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
      long getId() Get the geofence event id
      long getStartDateInMillis() Get unix timestamp of the datetime that the event becomes active and can cause the event to fire
      long getEndDateInMillis() Get unix timestamp of the datetime that the event becomes inactive and no longer causes the event to fire
      int getDwellTimeInSeconds() Get the dwell time in seconds for the notification to trigger
      String getTitle() Get the title for the geofence notification
      String getUrl() Get the geofence url (for the notification)
      String getMessage() Get the message of the geofence notification
      int getType() Get the type of the geofence event (enter or exit)
      boolean isInternal() Check if the event is internal, i.e.
      Geofence getGeofence()
      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

      • getId

         long getId()

        Get the geofence event id

      • getStartDateInMillis

         long getStartDateInMillis()

        Get unix timestamp of the datetime that the event becomes active and can cause the event to fire

      • getEndDateInMillis

         long getEndDateInMillis()

        Get unix timestamp of the datetime that the event becomes inactive and no longer causes the event to fire

      • getDwellTimeInSeconds

         int getDwellTimeInSeconds()

        Get the dwell time in seconds for the notification to trigger

      • getTitle

         String getTitle()

        Get the title for the geofence notification

      • getUrl

         String getUrl()

        Get the geofence url (for the notification)

      • getType

         int getType()

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

      • isInternal

         boolean isInternal()

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