public interface NavAppClient
| Modifier and Type | Interface and Description |
|---|---|
static class |
NavAppClient.Factory
Factory to create the NavAppClient instance.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_LAUNCH_NAVAPP
The intent to launch NavApp.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the NavAppClient and release any resources
|
Debug |
getDebug()
Get the
Debug interface. |
GeoCoder |
getGeoCoder()
Get the
GeoCoder interface. |
LocationManager |
getLocationManager()
Get the
LocationManager interface. |
TripEventManager |
getTripEventManager()
Get the
TripEventManager interface. |
TripManager |
getTripManager()
Get the
TripManager interface. |
Utils |
getUtils()
Get the
Utils interface. |
NDSMapUpdateNetworkType |
makeNetworkType()
Create an empty
NDSMapUpdateNetworkType object. |
Routeable |
makeRouteable(double latitude,
double longitude)
Create a
Routeable object with the specified latitude and longitude. |
Track |
makeTrack()
Create an empty
Track object. |
VehicleProfile |
makeVehicleProfile()
Create an empty
VehicleProfile object. |
static final java.lang.String ACTION_LAUNCH_NAVAPP
private void launchNavApp() {
final Intent intent = new Intent(NavAppClient.ACTION_LAUNCH_NAVAPP);
startActivity(intent);
}
TripManager getTripManager()
TripManager interface.TripManager.LocationManager getLocationManager()
LocationManager interface.LocationManager.TripEventManager getTripEventManager()
TripEventManager interface.TripEventManager.Routeable makeRouteable(double latitude, double longitude)
Routeable object with the specified latitude and longitude.
To be used in for example the planTrip API.
Note that no checks for valid arguments is performed in this API, but for interfaces taking a Routeable the following rules apply:
latitude - The latitude in degrees.longitude - The longitude in degrees.Routeable.VehicleProfile makeVehicleProfile()
VehicleProfile object.VehicleProfile.NDSMapUpdateNetworkType makeNetworkType()
NDSMapUpdateNetworkType object.NDSMapUpdateNetworkType.void close()