CarProfile

Car routing profile

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(fuelType: EFuelType = EFuelType.Petrol, mass: Int = 0, maxSpeed: Double = 0.0)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Engine fuel type. Default is petrol

Link copied to clipboard
var mass: Int

Vehicle mass in kg. By default it is 0 and is not considered in routing

Link copied to clipboard

Vehicle max speed im m/s. By default it is 0. and is not considered in routing

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: