Initializes and returns an interaction object with an intent object and your app’s response.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
The intent object containing the user’s request.
The response object that your app provided in response to the intent.
An initialized interaction object or
nil if the object could not be created.
Use this method to initialize interaction objects that you intend to donate. You do not need to create interaction objects for any custom
NSUser objects that you create during the handling of an intent. SiriKit automatically creates an instance of this class before delivering an
NSUser object to your app.