calendar_sync_background
Syncs local calendar changes to Google and pulls server updates while the Android device is locked or the screen is off, optionally waiting until pending uploads finish.
Instructions
Sync the calendar with Google without the screen (Android sync manager, requestsync).
Pushes local changes (create/update/delete/respond) and pulls server changes; works with the phone locked and the screen off. calendar.sync does the same and falls back to the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Also wait until no local change is left to upload (pending_uploads = 0). | |
| timeout | No | Maximum seconds to wait. |