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.

class BGTaskRequest

An abstract class for representing task requests.