Sync and Install Modes
Check, download, and schedule updates with the high-level sync helper.
Install modes
| Mode | Activation |
|---|---|
IMMEDIATE | Restart after installation |
ON_NEXT_RESTART | Next cold launch |
ON_NEXT_RESUME | Next eligible foreground transition |
ON_NEXT_SUSPEND | When the app backgrounds, ready for the following resume |
sync() coalesces concurrent calls for the same client and reports every check, download, install, and error transition through the status callback.