---
title: AudioSearch
framework: mediaintents
role: symbol
role_heading: Structure
path: mediaintents/audiosearch
---

# AudioSearch

Results and metadata for a person’s audio search and playback request with Siri.

## Declaration

```swift
struct AudioSearch
```

## Mentioned in

Responding to audio search and playback requests

## Overview

Overview People use Apple Intelligence and Siri to find and play audio. By integrating your app’s audio catalog with Apple Intelligence and Siri using the App Intents framework, the system forwards search and playback requests to your app, and your app returns audio search results and allows the system to play your app’s songs, podcasts, audiobooks, and so on. The AudioSearch structure captures a person’s audio search and playback request — music, podcasts, audiobooks, or other audio content — along with any Spotlight results the system finds. Use AudioSearch in your IntentValueQuery implementation to find matching audio content in your app’s media catalog. For more information about allowing people to find audio content in your app with Apple Intelligence and Siri, see Responding to audio search and playback requests.

## Topics

### Describing result criteria

- [criteria](mediaintents/audiosearch/criteria-swift.property.md)
- [AudioSearch.Criteria](mediaintents/audiosearch/criteria-swift.enum.md)

### Accessing Spotlight search results

- [spotlightSearchResults](mediaintents/audiosearch/spotlightsearchresults.md)
- [AudioSearch.SpotlightResult](mediaintents/audiosearch/spotlightresult.md)

### Providing default implementations

- [init(criteria:spotlightSearchResults:)](mediaintents/audiosearch/init(criteria:spotlightsearchresults:).md)
- [defaultResolverSpecification](mediaintents/audiosearch/defaultresolverspecification.md)

### Type Aliases

- [AudioSearch.Specification](mediaintents/audiosearch/specification.md)
- [AudioSearch.UnwrappedType](mediaintents/audiosearch/unwrappedtype.md)
- [AudioSearch.ValueType](mediaintents/audiosearch/valuetype.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomLocalizedStringResourceConvertible](foundation/customlocalizedstringresourceconvertible.md)
- [Decodable](swift/decodable.md)
- [DisplayRepresentable](appintents/displayrepresentable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [InstanceDisplayRepresentable](appintents/instancedisplayrepresentable.md)
- [IntentValueConvertible](appintents/intentvalueconvertible.md)
- [IntentValueExpressing](appintents/intentvalueexpressing.md)
- [PersistentlyIdentifiable](appintents/persistentlyidentifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [TypeDisplayRepresentable](appintents/typedisplayrepresentable.md)

## See Also

### Essentials

- [Responding to audio search and playback requests](mediaintents/responding-to-audio-search-and-playback-requests.md)
