public class TollInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
TollInformation()
Constructor
|
TollInformation(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
TollInformation(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
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) |
TraceColor |
getTollColor()
Returns the toll color information of the trace.
|
long |
getTollLength()
Returns the length of the toll segments on route.
|
TraceColor |
getTruckTollColor()
Returns the ecotaxe color information of the trace.
|
long |
getTruckTollLength()
Returns the length of the ecotaxe segments on route.
|
void |
setTollColor(TraceColor tollColor)
Sets the toll color.
|
void |
setTollLength(long tollLength)
Sets the toll length.
|
void |
setTruckTollColor(TraceColor truckTollColor)
Sets the ecotaxe color.
|
void |
setTruckTollLength(long truckTollLength)
Sets the ecotaxe length.
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public TollInformation()
public TollInformation(long cPtr, boolean cMemoryOwn)
public TollInformation(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
public long getTollLength()
public void setTollLength(long tollLength)
tollLength
- toll length.public long getTruckTollLength()
public void setTruckTollLength(long truckTollLength)
truckTollLength
- ecotaxe length.public TraceColor getTollColor()
public void setTollColor(TraceColor tollColor)
tollColor
- toll color.public TraceColor getTruckTollColor()
public void setTruckTollColor(TraceColor truckTollColor)
truckTollColor
- color.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()