---
title: MediaSearch
framework: SiriKit Cloud Media
role: symbol
role_heading: Object
platforms: [sirikit cloud media 1.0.2+]
path: sirikitcloudmedia/mediasearch
---

# MediaSearch

A description of the media items the user wants to play, add to a playlist, or express a preference for.

## Declaration

```data
object MediaSearch
```

## Properties

mediaName: The name of the media item. artistName: The creator or performer of the media item. albumName: The album that contains the media item. mediaType: The type of media the user wants. genreNames: Genres that apply to this media item. These are the same genres as those at genreNames. moodNames: Feelings that describe the media item the user wants, such as happy or focused. releaseDate: The date of the media item’s first publication, or a period of time. sortOrder: The prioritization to apply to search results. reference: An indicator of whether the client is playing this media item. mediaIdentifier: The identifier for a specific media item.

## Discussion

Discussion A releaseDate may refer to the publication of a specific media item, or to music typical of a particular decade. For example, the client represents Play some 80s music with a releaseDate ranging from the first moment of 1980 to the last moment of 1989.

## Topics

### Prioritizing Search Results

- [MediaSortOrder](sirikitcloudmedia/mediasortorder.md)

### Filtering by Release Date

- [DateComponentsRange](sirikitcloudmedia/datecomponentsrange.md)
- [DateComponents](sirikitcloudmedia/datecomponents.md)
- [ExplicitDateComponents](sirikitcloudmedia/explicitdatecomponents.md)

## See Also

### Media Items

- [MediaItem](sirikitcloudmedia/mediaitem.md)
- [MediaReference](sirikitcloudmedia/mediareference.md)
- [MediaItemType](sirikitcloudmedia/mediaitemtype.md)
