Ui
Declarative plugin UI. Obtained from ui. Text is never rejected for length: the runtime truncates it. Exceeding a count limit throws IllegalStateException; a missing or invalid argument throws IllegalArgumentException.
A missing feature is not an error. When the unit lacks the feature (the SDK UI is off this boot, or the unit has no such slot) each method still returns a handle, but an inert one: update, open, set and cancel are accepted and show nothing. Count limits and argument checks apply as usual, so a plugin that works with the UI on works the same with it off. Use has to tell the two apart.
Properties
Link copied to clipboard
The most Car-menu rows one plugin may have live at once; one more carMenuRow throws IllegalStateException.
Link copied to clipboard
The longest confirm text; the runtime truncates longer text.
Link copied to clipboard
The most pages one plugin may have live at once; one more page throws IllegalStateException.
Link copied to clipboard
The largest speller
maxLen.Link copied to clipboard
The most status items one plugin may have live at once; one more statusItem throws IllegalStateException.
Link copied to clipboard
The largest textInput
maxLen.Link copied to clipboard
The largest Car-row icon, in pixels, either way.
Functions
Link copied to clipboard
A row in the Car menu that opens
opens, a live page from page.carMenuRow with an icon; a null icon means none.
Link copied to clipboard
An icon this plugin declared by name in its manifest's
"icons" (needs "api": 3); the package carries it as icons/<name>.png, and mibpkg installs it as icons/<id>/<sha16>.png (the first 16 hex digits of its SHA-256).Link copied to clipboard
One short status-line item; set(null|"") hides it.
statusItem with an icon; a null icon means none.
Link copied to clipboard
One of the SDK's built-in icons, named by a StockIcons constant; any other name throws IllegalArgumentException.