Contents

init(identifier:title:type:artwork:)

Creates a media item with an identifier, title, type, and artwork.

Declaration

convenience init(identifier: String?, title: String?, type: INMediaItemType, artwork: INImage?)

Parameters

  • identifier:

    The value your app uses to identify the media item.

  • title:

    The media title.

  • type:

    The media type.

  • artwork:

    An image that represents a media item such as an album cover.

Return Value

A newly initialized media item object.

See Also

Creating a Media Item