---
title: "init(mediaItemResolutionResult:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/insearchformediamediaitemresolutionresult/init(mediaitemresolutionresult:)"
---

# init(mediaItemResolutionResult:)

Creates a result that involves successfully searching for a media item.

## Declaration

```swift
init(mediaItemResolutionResult: INMediaItemResolutionResult)
```

## Parameters

- `mediaItemResolutionResult`: The value that resolves the requested parameter of the intent. This value may be different than the one specified in the intent object.

## Return Value

Return Value A new INSearchForMediaMediaItemResolutionResult object.

## Discussion

Discussion Use this method to create a result object when you’re able to successfully search for a media item.

## See Also

### Providing Successful Results

- [successes(with:)](intents/insearchformediamediaitemresolutionresult/successes(with:).md)
