SyncCursorStore

interface SyncCursorStore

Cursor/quota bookkeeping persisted per resource, keyed by SyncResourceAdapter.resourceName.

A minimal Room-backed implementation typically wraps a single-table DAO keyed by resourceName, mirroring the shape of SyncCursorRecord.

Functions

Link copied to clipboard
abstract suspend fun get(resourceName: String): SyncCursorRecord?
Link copied to clipboard
abstract suspend fun save(record: SyncCursorRecord)