Sync Policy
Network sync policy.
Default is disabled to avoid any silent off-device transfer. The host app must explicitly enable it.
Properties
OkHttp end-to-end call timeout in seconds. Upper bound on a single batch send including retries and redirects; prevents a hung server from pinning a sync worker until Android kills it. Set to 0 to disable.
OkHttp connect timeout in seconds. Applied to the SDK-built HTTP client; ignored when the host supplies okHttpClientOverride to com.sarastarquant.kioskops.sdk.KioskOpsSdk.init.
Max attempts per event before we stop retrying automatically.
OkHttp read timeout in seconds. A slow server trickling bytes can stall a worker for a long time without callTimeoutSeconds; this caps inter-byte wait.
If true, periodic sync requires unmetered network (Wi-Fi). Useful for large payloads.
OkHttp write timeout in seconds.