OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
apps.carUi.car_ui_frontend_if.CarUiFrontendIf Class Reference

Shell services required by toolkit-independent Car UI composition. More...

Inheritance diagram for apps.carUi.car_ui_frontend_if.CarUiFrontendIf:
ui.ui_dispatcher_if.UiDispatcherIf

Public Member Functions

str empty_value (self)
 Return the shell placeholder for an unavailable compact value.
None close (self)
 Request idempotent frontend shutdown.
None show_main_menu (self)
 Navigate to the configured application home menu.
None show_menu (self, str menu_key)
 Display an application menu.
None show_screen (self, ScreenId screen_id)
 Navigate to a registered screen destination.
None handle_ui_action (self, UiAction action)
 Route one semantic input action through the active UI context.
Public Member Functions inherited from ui.ui_dispatcher_if.UiDispatcherIf
None dispatch_ui (self, Callable[[], None] callback)
 Enqueue work from any thread without calling frontend toolkit functions.
object schedule_ui_callback (self, int delay_ms, Callable[[], None] callback)
 Schedule a timer on the frontend thread and return a cancellation token.
None cancel_ui_callback (self, object callback_id)
 Cancel pending work from the frontend thread; inert tokens are harmless.

Detailed Description

Shell services required by toolkit-independent Car UI composition.

Member Function Documentation

◆ empty_value()

str apps.carUi.car_ui_frontend_if.CarUiFrontendIf.empty_value ( self)

Return the shell placeholder for an unavailable compact value.

Returns
Placeholder text used when compact data is unavailable.

◆ handle_ui_action()

None apps.carUi.car_ui_frontend_if.CarUiFrontendIf.handle_ui_action ( self,
UiAction action )

Route one semantic input action through the active UI context.

Parameters
actionToolkit-independent action to route.

◆ show_menu()

None apps.carUi.car_ui_frontend_if.CarUiFrontendIf.show_menu ( self,
str menu_key )

Display an application menu.

Parameters
menu_keyStable key identifying the menu to display.

◆ show_screen()

None apps.carUi.car_ui_frontend_if.CarUiFrontendIf.show_screen ( self,
ScreenId screen_id )

Navigate to a registered screen destination.

Parameters
screen_idStable identifier of the destination screen.

The documentation for this class was generated from the following file:
  • apps/carUi/car_ui_frontend_if.py