IntentCancellationReason
Reasons for the cancellation of an app intent’s operation.
Declaration
struct IntentCancellationReasonOverview
This type contains the possible reasons for the cancellation of an app intent. You don’t create instances of this type yourself. Instead, you receive a value in the cancellation handler you pass to the withIntentCancellationHandler(operation:onCancel:isolation:) method when running your app intent’s code. Use the reason to make decisions about how to respond to the cancellation.