Type Method

unsupported(forReason:)

Creates an object whose resolution provides a reason why the temporal event trigger cannot be applied to the task the user intends to create.

Declaration

class func unsupported(forReason reason: INAddTasksTemporalEventTriggerUnsupportedReason) -> Self

Parameters

reason

The reason that the temporal event trigger is not supported.

Return Value

Discussion

Use this method to create a resolution result object when your app doesn’t support the intent parameter for the specified reason.

See Also

Creating a Resolution Result

init(temporalEventTriggerResolutionResult: INTemporalEventTriggerResolutionResult)

Creates an object whose resolution successfully matches the specified temporal event.

enum INAddTasksTemporalEventTriggerUnsupportedReason

Reasons the app can't create a task with a particular temporal event trigger.