calendar_sync
Forces a Google Calendar sync and optionally waits until it finishes, so new server events appear and local changes upload.
Instructions
Force a Calendar sync with Google and wait for it to finish.
New server events then show in the provider (calendar.events) and local changes are uploaded. method auto (default): Android's sync manager first (fast, no screen), the app's Refresh if no sync started; background: sync manager only (same as calendar.sync_background); ui: the app's Refresh (drawer). The sync start is verified on Android's sync manager.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Also wait until no local change is left to upload (pending_uploads = 0). | |
| method | No | auto, background or ui. | auto |
| timeout | No | Maximum seconds to wait. |