syncState

abstract fun syncState(): Flow<SyncState>

Returns a flow of Sync state changes It follows the following truth table:

  • when the user is not signed with Sync is disabled the flow will emit a SyncState.OFF

  • else it will map the state to the last SyncAttempt