public class NavigationSettings
extends java.lang.Object
NavigationSDK.getGuidanceInformation(GPSData)
.Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
NavigationSettings()
Constructor
|
NavigationSettings(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
boolean |
getNavigStopped()
By default navigation rests if the velocity is zero.
|
long |
getReRouteAttractionFactor()
Returns the attraction factor of the route.
|
ReRouteStrategyMode |
getReRouteStrategy()
Returns the re-route-strategy.
|
boolean |
getVoidReRouting() |
void |
setNavigStopped(boolean navigStopped)
By default navigation rests if the velocity is zero.
|
void |
setReRouteAttractionFactor(long reRouteAttractionFactor)
Sets the attraction factor of the route.
|
void |
setReRouteStrategy(ReRouteStrategyMode reRouteStrategy)
Sets the re-route-strategy.
|
void |
setVoidReRouting(boolean voidReRouting) |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public NavigationSettings()
public NavigationSettings(long cPtr, boolean cMemoryOwn)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public boolean getNavigStopped()
public void setNavigStopped(boolean navigStopped)
navigStopped
- if set to true, the navigation status still changes
while the car stopspublic boolean getVoidReRouting()
public void setVoidReRouting(boolean voidReRouting)
voidReRouting
- true suppress ReRouting, false for stand behaviour with rerouting.public ReRouteStrategyMode getReRouteStrategy()
ReRouteStrategyMode
.public void setReRouteStrategy(ReRouteStrategyMode reRouteStrategy)
ReRouteStrategyMode
.reRouteStrategy
- - the re-route-strategy to set.public long getReRouteAttractionFactor()
public void setReRouteAttractionFactor(long reRouteAttractionFactor)
reRouteAttractionFactor
- - the attraction factor of the route.public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
public void delete()