Instance Method


Resolves the time-based trigger associated with the new tasks.


optional func resolveTemporalEventTrigger(for intent: INAddTasksIntent, with completion: @escaping (INTemporalEventTriggerResolutionResult) -> Void)



Details about the user’s request. Use this object to get the initial information, if any, provided by the user.


The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:


Details of your proposed resolution. For successful resolutions, create a resolution object with the INTemporalEventTrigger object representing the trigger that you intend to use.


Implement this method to resolve any time-based triggers associated with the new tasks. Use the intent object to obtain the trigger information, if any, suggested by the user. If the intent doesn’t contain any trigger information, and you don’t require any, return a notRequired() resolution.