PeriodicSyncJobStatus

data class PeriodicSyncJobStatus(val lastSyncJobStatus: LastSyncJobStatus?, val currentSyncJobStatus: CurrentSyncJobStatus)

Data class representing the state of a periodic synchronization operation. It is a combined state of WorkInfo.State and SyncJobStatus. See CurrentSyncJobStatus and LastSyncJobStatus for more details.

Constructors

Link copied to clipboard
constructor(lastSyncJobStatus: LastSyncJobStatus?, currentSyncJobStatus: CurrentSyncJobStatus)

Properties

Link copied to clipboard

The current state of the synchronization job CurrentSyncJobStatus.

Link copied to clipboard

The result of the last synchronization job LastSyncJobStatus. It only represents terminal states.