Deletes the specified interactions that were donated by the calling app.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
An array of strings containing the identifiers of the interactions that you want to delete. Each string corresponds to the value stored in the
identifierproperty of the interaction object.
A block to execute with the results. Provide a block if you want to know whether the deletion action was successful. The block has no return value and takes the following parameter.
An error object indicating a problem occurred. On success, this parameter is
nil. If there was an error, this parameter contains an error object describing what happened.
Call this method to delete a specific set of donated Siri interactions. Typically, you delete interactions when they are no longer relevant. If you provide a block in the
completion parameter, the system executes your block asynchronously with the results.