---
title: INSearchForMediaIntentHandling
framework: intents
role: symbol
role_heading: Protocol
path: intents/insearchformediaintenthandling
---

# INSearchForMediaIntentHandling

The interface that handles media search requests.

## Declaration

```swift
protocol INSearchForMediaIntentHandling : NSObjectProtocol
```

## Overview

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 Siri to search for media using your app, or when Spotlight search results include an artist. Use the methods of this protocol to resolve the parameters and search for the media.

## Topics

### Resolving Details of the Intent

- [resolveMediaItems(for:with:)](intents/insearchformediaintenthandling/resolvemediaitems(for:with:).md)

### Confirming the Response

- [confirm(intent:completion:)](intents/insearchformediaintenthandling/confirm(intent:completion:).md)

### Handling the Intent

- [handle(intent:completion:)](intents/insearchformediaintenthandling/handle(intent:completion:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Search for Media

- [INSearchForMediaIntent](intents/insearchformediaintent.md)
- [INSearchForMediaIntentResponse](intents/insearchformediaintentresponse.md)
