Instance Method

updateFireDate(_:completionHandler:)

Updates the next fire date for the trigger.

Declaration

func updateFireDate(_ fireDate: Date, completionHandler completion: @escaping (Error?) -> Void)

Parameters

fireDate

The new fire date.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Choosing the Fire Date

var fireDate: Date

The time at which the trigger will next fire.