The handler interface that adds media.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Intents
Declaration
protocol INAddMediaIntentHandling
Overview
Use the methods of the INAdd
protocol to resolve, confirm, and handle requests to add media. Adopt this protocol in an object of your Intents extension that’s capable of adding media.
Siri delivers an INAdd
object to your handler when the user asks to add media using your app. Use the methods of this protocol to resolve the parameters and add the media.