Enumeration

INMediaDestination

An object that describes the destination for a media item.

Declaration

enum INMediaDestination

Topics

Specifying the Destination

case library

The library destination.

case playlist(String)

The destination playlist.

Getting the Playlist Name

var playlistName: String?

The name of the destination playlist.

Describing Media Destinations

var description: String

A textual description of the media destination.

var debugDescription: String

A textual description of the shortcut suitable for debugging.

Comparing Media Destinations

static func == (INMediaDestination, INMediaDestination) -> Bool

Compares two media destinations for equality.

static func != (INMediaDestination, INMediaDestination) -> Bool

Returns a Boolean value that indicates whether two values are not equal.

Using Reference Types

class INMediaDestinationReference

An object that describes the destination for a media item.

typealias INMediaDestination.ReferenceType

An alias for this value type’s equivalent reference type.

Providing a Hash Value

For more information, see Hashable.

func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.

var hashValue: Int

The computed hash value of the media destination.

See Also

Accessing 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.

class INMediaDestinationReference

An object that describes the destination for a media item.