Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

BackoffPolicy

public final enum BackoffPolicy
extends Enum<BackoffPolicy>

java.lang.Object
   ↳ java.lang.Enum<androidx.work.BackoffPolicy>
     ↳ androidx.work.BackoffPolicy


The backoff policy to use when rescheduling work.

Summary

Enum values

BackoffPolicy  EXPONENTIAL

An exponentially-increasing backoff policy  

BackoffPolicy  LINEAR

A linearly-increasing backoff policy  

Public methods

static BackoffPolicy valueOf(String name)
static final BackoffPolicy[] values()

Inherited methods

Enum values

EXPONENTIAL

public static final BackoffPolicy EXPONENTIAL

An exponentially-increasing backoff policy

LINEAR

public static final BackoffPolicy LINEAR

A linearly-increasing backoff policy

Public methods

valueOf

public static BackoffPolicy valueOf (String name)

Parameters
name String

Returns
BackoffPolicy

values

public static final BackoffPolicy[] values ()

Returns
BackoffPolicy[]