Skip to main content

Crate lingxia_update

Crate lingxia_update 

Source

Structs§

AppUpdateApply
AppUpdateProgressReporter
SemanticVersion
UpdateConfig
UpdatePackageInfo
Version
A semantic version representation (major.minor.patch) shared by update policy and lxapp metadata persistence.

Enums§

AppUpdateEvent
AppUpdateStage
LxAppUpdateQuery
ReleaseType
RuntimeCompatibilityError
UpdateError
UpdateTarget
VersionError

Traits§

AppUpdateHost
LxAppUpdateHost
UpdateProvider
Update contract shared by app and lxapp update implementations.

Functions§

app_update_scope_key
check_app_update
configure_update
ensure_app_update_candidate_version
ensure_lxapp_first_install
ensure_lxapp_force_update_for_installed
ensure_lxapp_target_version_ready
host_channel
The release channel this host build belongs to, derived from app.json’s envVersion. The host app’s own update check already uses it; lxapps the host installs and updates must agree, or a developer build pulls release packages over the ones it shipped with.
lxapp_update_scope_key
send_app_update_event
send_app_update_failed
spawn_lxapp_background_update_check
subscribe_app_update_events
update_config

Type Aliases§

AppUpdateEventReceiver
AppUpdateEventSender