BackoffCriteria

data class BackoffCriteria(val backoffPolicy: BackoffPolicy, val backoffDelay: Long, val timeUnit: TimeUnit)

The criteria for FhirSyncWorker failure retry based on androidx.work.WorkRequest.Builder.setBackoffCriteria

Constructors

Link copied to clipboard
constructor(backoffPolicy: BackoffPolicy, backoffDelay: Long, timeUnit: TimeUnit)

Properties

Link copied to clipboard

Backoff delay for each retry attempt. Check androidx.work.PeriodicWorkRequest.MIN_BACKOFF_MILLIS and androidx.work.PeriodicWorkRequest.MAX_BACKOFF_MILLIS for the min-max supported values

Link copied to clipboard
Link copied to clipboard

The time unit for backoffDelay