Instance Property

mediaSearch

The location to search for the media item to add.

Declaration

@NSCopying var mediaSearch: INMediaSearch? { get }

Discussion

Depending on the user’s request, you may need to search for a particular media item. For example, adding a specific song would set mediaSearch to mediaName to “name” and mediaType to INMediaItemType.song.

See Also

Getting the Media

var mediaItems: [INMediaItem]?

The media content to add.

var mediaDestination: INMediaDestination?

The location for the media to add.

enum INMediaDestination

An object that describes the destination for a media item.

class INMediaDestinationReference

An object that describes the destination for a media item.