-
- All Implemented Interfaces:
-
java.io.Serializable
public class GeofenceEvent implements Serializable
Class represents information for geofence event
-
-
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()
-
-
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
-
getMessage
String getMessage()
Get the message of the geofence 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
-
getGeofence
Geofence getGeofence()
-
hashCode
int hashCode()
-
-
-
-