public static class GeoFenceAlerting.Alert extends WarningComponent.Alert
| Constructor and Description |
|---|
Alert(GeoFenceMonitor monitor,
PointMapItem item,
long timestamp,
GeoPoint detectedPoint,
boolean entered) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlertGroupName()
Used to navigate within Overlay Manager when alert widget is clicked
|
GeoPoint |
getDetectedPoint() |
PointMapItem |
getItem()
Returns the item associated with this alert.
|
java.lang.String |
getMessage()
Message to display in alert widget
|
MapItem |
getMonitorItem() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isEntered() |
boolean |
isValid() |
void |
onClick()
Invoked when alert widget is clicked, if this is the sole alert
Also invoked if alert is clicked in the overlay manager
|
java.lang.String |
toString() |
panTopublic Alert(GeoFenceMonitor monitor, PointMapItem item, long timestamp, GeoPoint detectedPoint, boolean entered)
public PointMapItem getItem()
public MapItem getMonitorItem()
public long getTimestamp()
public boolean isEntered()
public GeoPoint getDetectedPoint()
public boolean isValid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getMessage()
WarningComponent.AlertgetMessage in class WarningComponent.Alertpublic void onClick()
WarningComponent.AlertonClick in class WarningComponent.Alertpublic java.lang.String getAlertGroupName()
WarningComponent.AlertgetAlertGroupName in class WarningComponent.Alert