Apps functions
dev.apps - wire path a - generated from fwMenuApps.
launch_app
Launch App.
Wire command: a\a
| Arg | Wire type |
|---|---|
| app_id | decS32 |
Returns: none (Ok/Err only)
dev.apps.launch_app(app_id: int) -> Result
ow_status ow_apps_launch_app(ow_device* dev, int32_t app_id);
dev.apps().launch_app(app_id: i32) -> Result<(), OwError>
The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).
dev.apps.launch_app(app_id) # check dev.ok