Class

BGProcessingTaskRequest

A request to launch your app in the background to execute a processing task that can take minutes to complete.

Declaration

class BGProcessingTaskRequest : BGTaskRequest

Topics

Initializing a Processing Task Request

init(identifier: String)

Return a new processing task request for the specified identifier.

Setting Task Request Options

var requiresExternalPower: Bool

A Boolean specifying if the processing task requires a device connected to power.

var requiresNetworkConnectivity: Bool

A Boolean specifying if the processing task requires network connectivity.

Relationships

Inherits From

Conforms To

See Also

Requests

class BGAppRefreshTaskRequest

A request to launch your app in the background to execute a short refresh task.

Beta
class BGTaskRequest

An abstract class for representing task requests.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software