Instance Property

mediaItems

The media content.

Declaration

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

Discussion

This property is 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 INPlayMediaIntent object.

See Also

Accessing Media Items

mediaContainer

The media item container.