Protocol

INSearchForMediaIntentHandling

The interface that handles media search requests.

Declaration

@protocol INSearchForMediaIntentHandling

Overview

Use the methods of the INSearchForMediaIntentHandling 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 INSearchForMediaIntent 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.

Topics

Resolving Details of the Intent

- resolveMediaItemsForSearchForMedia:withCompletion:

Resolves the media items for which to search.

Confirming the Response

- confirmSearchForMedia:completion:

Confirms the details of the media search request.

Handling the Intent

- handleSearchForMedia:completion:

Handles the media search request.

Required.

Relationships

Inherits From

See Also

Search for Media

INSearchForMediaIntent

A request to search for a media item.

INSearchForMediaIntentResponse

Your app’s response to a search media intent.