TimeDistance

Time distance representation based on meters and seconds

Constructors

Link copied to clipboard
constructor()
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

Get restricted begin/end ratio

Link copied to clipboard

Get the restricted distance in meters

Link copied to clipboard

Get the restricted distance at beginning in meters

Link copied to clipboard

Get the restricted distance at end in meters

Link copied to clipboard

Get the restricted time in seconds

Link copied to clipboard

Get the restricted time at beginning

Link copied to clipboard

Get the restricted time at end

Link copied to clipboard

Get the total distance in meters

Link copied to clipboard

Get the total time in seconds

Link copied to clipboard

Get the unrestricted distance in meters

Link copied to clipboard

Get the unrestricted time in seconds

Functions

Link copied to clipboard
external fun assign(unrestrictedTimeS: Int, unrestrictedDistanceM: Int, restrictedTimeS: Int = 0, restrictedDistanceM: Int = 0, ndBeginEndRatio: Double = -1.0)

Assigns input values to current instance

Link copied to clipboard
external fun equalsTo(value: TimeDistance): Boolean

Comparison operator equal

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

Check if it has different begin/end

Link copied to clipboard
external fun isEmpty(): Boolean

Check if empty

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
external fun notEquals(value: TimeDistance): Boolean

Comparison operator not equal

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: