10#define RECORD_JS_APP_INSTALLER "js_app_installer"
14typedef enum JsAppInstallerError {
15 JsAppInstallerErrorNone = 0,
16 JsAppInstallerErrorUnpack,
17 JsAppInstallerErrorManifest,
18 JsAppInstallerErrorApiVersion,
19 JsAppInstallerErrorInstall,
21 JsAppInstallerErrorMax
25 JsAppInstallerError error;
JavaScript application library.
JsAppInstallerStageResult js_app_installer_stage(JsAppInstaller *instance)
Unpack and check downloaded app package.
Definition js_app_installer.c:147
JsAppInstallerError js_app_installer_install(JsAppInstaller *instance, uint32_t install_key)
Install previously staged app.
Definition js_app_installer.c:221
Definition js_app_installer_i.h:39
Definition js_app_installer.h:24
JsApp * installed_app
Installed app with the same app id as the staged one or NULL if not found (valid if error == JsAppIns...
Definition js_app_installer.h:31
uint32_t install_key
Unique key used to install the app (valid if error == JsAppInstallerErrorNone).
Definition js_app_installer.h:28
JsApp * staged_app
Staged app (valid if error == JsAppInstallerErrorNone).
Definition js_app_installer.h:29