Vehicle time

State

Vehicle time

Declaration

getVehicleTime()

Discussion

Vehicle time in a 24h format

Example

val state:VehicleTime.State
assertTrue(state.vehicleTime.value?.hour == 19)
assertTrue(state.vehicleTime.value?.minute == 55)
// Vehicle time is 19:55

Getters

Get Vehicle Time property availability information

Declaration

public GetVehicleTimeAvailability()

Example

// get all property availabilities
val getAvailability = GetVehicleTimeAvailability()

Get vehicle time

Declaration

public GetVehicleTime()

Example

// get all properties
val getState = GetVehicleTime()