Contents

mediaItems

The media items for which to search.

Declaration

var mediaItems: [INMediaItem]? { get }

Discussion

A media item such as a song, TV show, or podcast episode. Although the array can contain more than one INMediaItem object, the system uses only the first item in the array. You set mediaItems when creating the INSearchForMediaIntent object.

See Also

Searching for Media