BackoffPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by the Exponential, Linear, and BackoffPolicyValue members and taken as a parameter of the F:Android.App.Job.JobInfo+Builder.SetBackoffCriteria member.
public enum BackoffPolicy
type BackoffPolicy =
- Inheritance
-
BackoffPolicy
Fields
| Name | Value | Description |
|---|---|---|
| Linear | 0 | Back off a failed job linearly. For one or more failures, the delay can be based on initial_backoff_millis * num_failures. The system can count some system stops as retry attempts, apply minimum and maximum delays, or select a different policy. Job constraints can delay execution further. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Exponential | 1 | Back off a failed job exponentially. For one or more failures, the delay can be based on initial_backoff_millis * 2 ^ (num_failures - 1). The system can count some system stops as retry attempts and apply minimum and maximum delays. Job constraints can delay execution further. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.