Class

INMediaSearch

An object that describes a media type to search for, such as a station name, song name, or album name.

Declaration

class INMediaSearch : NSObject

Topics

Retrieving Search Information

var activityNames: [String]?

The activity names to search for.

Deprecated
var genreNames: [String]?

The media genres to search.

var mediaIdentifier: String?

The unique media identifier to search for.

var mediaName: String?

The name of the media to search for.

var mediaType: INMediaItemType

The type of media to search for.

var moodNames: [String]?

The moods to search for.

var reference: INMediaReference

A reference for the media item to search for.

enum INMediaReference

Constants that describe a reference for a media item.

var releaseDate: INDateComponentsRange?

The release date to search for.

var sortOrder: INMediaSortOrder

The sort order for the found media items.

enum INMediaSortOrder

Constants indicating the sort order for the found media items.

Modifying the Media Name

The following properties can only be used in conjunction with the mediaName property.

var albumName: String?

The name of the album to search for.

var artistName: String?

The name of the artist to search for.

Relationships

Inherits From

See Also

Data Objects

class INMediaItem

An object that describes a piece of media content, such as a song, TV show, artist, or podcast playlist.