INSearchForMediaIntent

INSearchForMediaIntent

INSearchForMediaIntent Class of Intents A request to search for a media item.

class INSearchForMediaIntent

Overview

The system creates an INSearchForMediaIntent object when the user asks Siri to search for a media item, or searches for a musician or band in Spotlight.

To handle this intent, provide a handler that conforms to the INSearchForMediaIntentHandling protocol. Your handler should confirm the request and create an INSearchForMediaIntentResponse object with the media to search for.