Skip to content

BackgroundFetchStatus

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

STATUS_AVAILABLE

static STATUS_AVAILABLE: BackgroundFetchStatus = 2;

Background fetch is available and enabled.

STATUS_DENIED

static STATUS_DENIED: BackgroundFetchStatus = 1;

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

STATUS_RESTRICTED

static STATUS_RESTRICTED: BackgroundFetchStatus = 0;

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