Class

INMediaDestinationReference

An object that describes the destination for a media item.

Declaration

class INMediaDestinationReference : NSObject

Topics

Creating a Media Destination Object

class func library() -> Self

Creates a new library destination for the media item.

class func playlistDestination(withName: String) -> Self

Creates a new playlist destination for the media item.

Describing the Media Destination

var playlistName: String?

The name of the playlist to which you add the media.

var mediaDestinationType: INMediaDestinationType

The destination of the media your app adds.

enum INMediaDestinationType

Constants that describe the different media destination types.

Relationships

Inherits From

See Also

Getting the Media

var mediaItems: [INMediaItem]?

The media content to add.

var mediaSearch: INMediaSearch?

The location to search for the media item to add.

var mediaDestination: INMediaDestination?

The location for the media to add.

enum INMediaDestination

An object that describes the destination for a media item.