Instance Property

mediaItems

The media content to add.

Declaration

@property(readonly, copy, nonatomic) NSArray<INMediaItem *> *mediaItems;

Discussion

A media item such as a song, audiobook, 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 INAddMediaIntent object.

See Also

Getting the Media

mediaSearch

The location to search for the media item to add.

mediaDestination

The location for the media to add.

INMediaDestination

An object that describes the destination for a media item.