Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

BackoffPolicy

class BackoffPolicy
kotlin.Any
   ↳ kotlin.Enum<androidx.work.BackoffPolicy>
   ↳ androidx.work.BackoffPolicy

An enumeration of backoff policies when retrying work. These policies are used when you have a return ListenableWorker.Result#retry() from a worker to determine the correct backoff time. Backoff policies are set in WorkRequest.Builder#setBackoffCriteria(BackoffPolicy, long, TimeUnit) or one of its variants.

Summary

Enum values

EXPONENTIAL

EXPONENTIAL

LINEAR

LINEAR