public class LNGeoBroadcast
extends java.lang.Object
| Constructor and Description |
|---|
LNGeoBroadcast(android.content.Intent intent)
Processes the geo information intent of the LBNavigator
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCurrentSpeed()
Returns the current speed in km/h
|
java.lang.String |
getDestinations()
Returns the list of current destination locations as concatenated string
|
double |
getDistanceNext()
Returns the remaining distance to the next destination
|
double |
getDistanceTotal()
Returns the remaining distance to the last destination
|
long |
getEtaNext()
Returns the unix time stamp of the estimated time of arrival to the next destination
|
long |
getEtaTotal()
Returns the unix time stamp of the estimated time of arrival to the last destination
|
java.lang.String |
getEventType()
Returns the event type that caused the creation of this shared information package
|
double |
getLatitude()
Returns the decimal latitude of the current coordinate
|
double |
getLongitude()
Returns the decimal longitude of the current coordinate
|
java.lang.String |
getPosition()
Returns the current position as decimal coordinate: concatenated floating points that are separated with a comma (WGS84 Decimal Coordinate).
|
int |
getSpeedLimit()
Returns the current speed limit in km/h
|
long |
getTimeStamp()
Returns the time stamp when the intent was parsed
|
int |
hashCode() |
boolean |
isNavigating()
Returns the flag that indicates if a navigation process is currently active
|
java.lang.String |
toString() |
public LNGeoBroadcast(android.content.Intent intent)
intent - The intent received, which contains the information to be extractedpublic long getTimeStamp()
public java.lang.String getDestinations()
public long getEtaTotal()
public long getEtaNext()
public double getDistanceTotal()
public double getDistanceNext()
public java.lang.String getPosition()
public double getLatitude()
public double getLongitude()
public int getCurrentSpeed()
public int getSpeedLimit()
public boolean isNavigating()
public java.lang.String getEventType()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object