ElectricBikeProfile

eBike profile

Constructors

Link copied to clipboard
constructor(bikeType: EEBikeType? = null, bikeMassKg: Float? = null, bikerMassKg: Float? = null, auxConsDayW: Float? = null, auxConsNightW: Float? = null)
constructor(address: Long)

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

Bike auxiliary power consumption during day in Watts. If 0, a default value is used

Link copied to clipboard

Bike auxiliary power consumption during night in Watts. If 0, a default value is used

Link copied to clipboard

Bike mass in kg. If 0, a default value is used

Link copied to clipboard

Biker mass in kg. If 0, a default value is used

Link copied to clipboard

Ignore country based legal restrictions related to e-bikes

Link copied to clipboard

Reference speed in m/s. The usual speed for this e-bike type, default is 0 meaning an internal SDK parameter is used

Link copied to clipboard

Bike type

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: