Options
All
  • Public
  • Public/Protected
  • All
Menu

capacitor-background-fetch

Index

Type aliases

BackgroundFetchStatus

BackgroundFetchStatus: 0 | 1 | 2
BackgroundFetchStatus Description
BackgroundFetch.STATUS_RESTRICTED Background fetch updates are unavailable and the user cannot enable them again. For example, this status can occur when parental controls are in effect for the current user. See iOS Docs
BackgroundFetch.STATUS_DENIED The user explicitly disabled background behavior for this app or for the whole system. See iOS Docs
BackgroundFetch.STATUS_AVAILABLE Background fetch is available and enabled.

NetworkType

NetworkType: 0 | 1 | 2 | 3 | 4
NetworkType Description
BackgroundFetch.NETWORK_TYPE_NONE This job doesn't care about network constraints, either any or none.
BackgroundFetch.NETWORK_TYPE_ANY This job requires network connectivity.
BackgroundFetch.NETWORK_TYPE_CELLULAR This job requires network connectivity that is a cellular network.
BackgroundFetch.NETWORK_TYPE_UNMETERED This job requires network connectivity that is unmetered.
BackgroundFetch.NETWORK_TYPE_NOT_ROAMING This job requires network connectivity that is not roaming.

Generated using TypeDoc