INSearchForMediaIntent
A request to search for a media item.
Declaration
class INSearchForMediaIntentMentioned in
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.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Siri Intents (audio only) |
Always requires unlocked device | No |