Skip to content

BackgroundFetchStatus

Authorization status returned by BackgroundFetch.status and BackgroundFetch.configure.

STATUS_AVAILABLE

static const int STATUS_AVAILABLE = 2;

Background fetch is available and enabled.

STATUS_DENIED

static const int STATUS_DENIED = 1;

The user explicitly disabled background behavior for this app or for the whole system.

STATUS_RESTRICTED

static const int STATUS_RESTRICTED = 0;

Background fetch updates are unavailable and the user cannot enable them again (e.g. parental controls are in effect).