Features

Features the running firmware adapter may support. Read them with has, at call time: the adapter can learn a feature after this plugin was enabled, and a feature it lacks this boot may be there after a restart. Never assume one; a missing feature makes the matching Ui call inert, not failing.

Properties

Link copied to clipboard
val HOOK_PARKING: String = "hook.parking"
The adapter exposes the parking hook points, so veto and observe work; without it they throw UnsupportedOperationException.
Link copied to clipboard
val IGNITION: String = "vehicle.ignition"
The adapter can report ignition (terminal 15).
Link copied to clipboard
val PARKING: String = "vehicle.parking"
The unit has the parking-sensor system, so vehicle().parking() works; without it that call throws UnsupportedOperationException.
Link copied to clipboard
val SLOT_CAR_MENU: String = "slot.carmenu"
The unit has a Car menu, so carMenuRow draws its row; without it the call returns an inert row.
Link copied to clipboard
val SLOT_STATUS_BAR: String = "slot.statusbar"
The unit has a status line, so statusItem shows and toast can pop up; without it both are inert.
Link copied to clipboard
val UI_ICONS: String = "ui.icons"
The unit can draw icons on Car rows and status items.
Link copied to clipboard
val UI_INPUTS: String = "ui.inputs"
The unit draws api 5 input entries (choice, dropdown, slider, progress) and shows confirm, toast and speller.
Link copied to clipboard
val UI_PAGES: String = "ui.pages"
The unit can show plugin pages, so page is live; without it the page is inert.
Link copied to clipboard
val WIFI: String = "network.wifi"
The unit has the stock Wi-Fi service, so wifi works and Wifi calls are live.