The interface that handles media search requests.
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Use the methods of the
INSearch protocol to resolve, confirm, and handle requests to search for media. Adopt this protocol in an object of your Intents extension capable of searching for media.
Siri delivers an
INSearch object to your handler when the user asks to search for media using your app. Use the methods of this protocol to resolve the parameters and search for the media.