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() |
panTo
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMessage()
WarningComponent.Alert
getMessage
in class WarningComponent.Alert
public void onClick()
WarningComponent.Alert
onClick
in class WarningComponent.Alert
public java.lang.String getAlertGroupName()
WarningComponent.Alert
getAlertGroupName
in class WarningComponent.Alert