markAsSynced

abstract suspend fun markAsSynced(id: String, timestamp: Long = System.currentTimeMillis())

Marks a jetpack as synced by setting the needsSync flag to 0, the syncAction to 'NONE', and updating the lastSynced timestamp.

Parameters

id

The ID of the jetpack to mark as synced.

timestamp

The timestamp to set as the last synced time. Defaults to the current system time.