Instance Property

mediaItems

The media content.

Declaration

var mediaItems: [INMediaItem]? { get }

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

Getting Media Items

var mediaContainer: INMediaItem?

The media item container.