Dashboard lights

State

Dashboard lights

Declaration

getDashboardLights()

Example

val state:DashboardLights.State
assertTrue(state.dashboardLights[0].value?.name == DashboardLight.Name.HIGH_BEAM)
assertTrue(state.dashboardLights[0].value?.state == OnOffState.OFF)
// High beam is off

Getters

Get Dashboard Lights property availability information

Declaration

public GetDashboardLightsAvailability()

Example

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

Get dashboard lights

Declaration

public GetDashboardLights()

Example

// get all properties
val getState = GetDashboardLights()