Show / Hide Table of Contents

Property PreferredBackgroundStatusCheckSchedule

| Edit this page View Source

PreferredBackgroundStatusCheckSchedule

The preferred schedule for performing status checks while the application is in the background. This allows an application to check to see if jobs have completed and optionally post a local notification to update the user. The default value is disabled. When the value of this property is not disabled, this setting is just a preference. The operating system ultimately decides when to allow a background task to run. If you enable background status checks then you must also make sure to have enabled the "Background fetch" background mode in your application settings.

Declaration
public BackgroundStatusCheckSchedule PreferredBackgroundStatusCheckSchedule { get; set; }
Property Value
Type Description
BackgroundStatusCheckSchedule
Remarks
note

You must also add the StatusChecksTaskIdentifier to the "Permitted background task scheduler identifiers" in your application's plist file. The status checks task identifier will be com.esri.ArcGISToolkit.jobManager.statusCheck if using the shared instance. If you are using a job manager instance that you created with a specific ID, then the identifier will be com.esri.ArcGISToolkit.jobManager.<id>.statusCheck.

Background checks only work on device and not on the simulator. More information can be found here.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX