Instance Property

earliestBeginDate

The earliest date and time at which to run the task.

Declaration

var earliestBeginDate: Date? { get set }

Discussion

Specify nil for no start delay.

Setting the property indicates that the background task shouldn’t start any earlier than this date. However, the system doesn’t guarantee launching the task at the specified date, but only that it won’t begin sooner.

See Also

Configuring a Task Request

var identifier: String

The identifier of the task associated with the request.