public class Tour
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Modifier and Type | Method and Description |
---|---|
void |
addStation(WayPoint wayPoint)
Add a regular station to a tour
|
void |
addStations(NativeArray<WayPoint> wayPoints)
Add multiple regular stations to a formerly created tour.
|
void |
addSVPs(NativeArray<SVPWayPoint> wayPoints)
Add SVP stations to a tour
An SVP station is a set of coordinates + direction which describe an approximation of a
route to a destination.
|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public Tour(WayPoint start) throws NavigationException
NavigationException
public void addSVPs(NativeArray<SVPWayPoint> wayPoints) throws NavigationException
wayPoints
- The provided SVP route coordinatesNavigationException
public void addStations(NativeArray<WayPoint> wayPoints) throws NavigationException
wayPoints
- An array of waypoints to add to the tour.NavigationException
public void addStation(WayPoint wayPoint) throws NavigationException
wayPoint
- The coordinate (and direction) of the station.NavigationException
public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()