<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSearchForMediaIntentHandling",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSearchForMediaIntentHandling"
  },
  "title" : "INSearchForMediaIntentHandling"
}
-->

# INSearchForMediaIntentHandling

The interface that handles media search requests.

```
protocol INSearchForMediaIntentHandling : NSObjectProtocol
```

## Overview

Use the methods of the [`INSearchForMediaIntentHandling`](/documentation/Intents/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`](/documentation/Intents/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

[`-  resolveMediaItemsForSearchForMedia:withCompletion:`](/documentation/Intents/INSearchForMediaIntentHandling/resolveMediaItems(for:with:))

Resolves the media items for which to search.

### Confirming the Response

[`-  confirmSearchForMedia:completion:`](/documentation/Intents/INSearchForMediaIntentHandling/confirm(intent:completion:))

Confirms the details of the media search request.

### Handling the Intent

[`-  handleSearchForMedia:completion:`](/documentation/Intents/INSearchForMediaIntentHandling/handle(intent:completion:))

Handles the media search request.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)