RouteInfo class is used during retrieving informations about computed route by ApiNavigation#getRouteInfo(boolean,int). More...
Classes | |
class | RouteInfoTime |
Helper class for getting date and time data from RouteInfo#getEstimatedTimeArrival() function. More... | |
Public Member Functions | |
RouteInfo () | |
Class constructor. More... | |
RouteInfo (int bottom, int left, int right, int top, int estimatedTimeArrival, int remainingDistance, int remainingTime, int status, int totalDistance, int totalTime, int[] timeToWp, int[] distToWp) | |
int | getTotalDistance () |
int | getRemainingDistance () |
Rectangle | getBoundaryRectangle () |
Notes: BrowseMap is map shown on after clicking Browse Map menu button. More... | |
int | getStatus () |
Notes: Possible values are: More... | |
int | getRemainingTime () |
int | getTotalTime () |
int[] | getTimeToWp () |
int[] | getDistanceToWp () |
RouteInfoTime | getEstimatedTimeArrival () |
Returns class which contains estimated time of arrival. More... | |
String | toString () |
Static Public Member Functions | |
static Bundle | writeBundle (RouteInfo info) |
static RouteInfo | readBundle (Bundle b) |
RouteInfo class is used during retrieving informations about computed route by ApiNavigation#getRouteInfo(boolean,int).
RouteInfo | ( | ) |
Class constructor.
Referenced by RouteInfo.readBundle().
RouteInfo | ( | int | bottom, |
int | left, | ||
int | right, | ||
int | top, | ||
int | estimatedTimeArrival, | ||
int | remainingDistance, | ||
int | remainingTime, | ||
int | status, | ||
int | totalDistance, | ||
int | totalTime, | ||
int[] | timeToWp, | ||
int[] | distToWp | ||
) |
Rectangle getBoundaryRectangle | ( | ) |
Notes:
BrowseMap is map shown on after clicking Browse Map menu button.
BrowseMap allows browse the loaded maps and change zoom.
Referenced by RouteInfo.writeBundle().
int [] getDistanceToWp | ( | ) |
Referenced by RouteInfo.writeBundle().
RouteInfoTime getEstimatedTimeArrival | ( | ) |
Returns class which contains estimated time of arrival.
Use class methods to obtain values.
Referenced by RouteInfo.toString().
int getRemainingDistance | ( | ) |
Referenced by RouteInfo.writeBundle().
int getRemainingTime | ( | ) |
Referenced by RouteInfo.writeBundle().
int getStatus | ( | ) |
Notes:
Possible values are:
Referenced by RouteInfo.writeBundle().
int [] getTimeToWp | ( | ) |
Referenced by RouteInfo.writeBundle().
int getTotalDistance | ( | ) |
Referenced by RouteInfo.writeBundle().
int getTotalTime | ( | ) |
Referenced by RouteInfo.writeBundle().
|
static |
References RouteInfo.RouteInfo().
Referenced by ApiNavigation.getRouteInfo().
String toString | ( | ) |
References RouteInfo.getEstimatedTimeArrival(), and RouteInfo.RouteInfoTime.toString().
|
static |