Enumeration

INMediaDestination

An object that describes the destination for a media item.

Declaration

enum INMediaDestination

Topics

Describing Media Destinations

var debugDescription: String

A textual description of the shortcut suitable for debugging.

var description: String

A textual description of the media destination.

func hash(into: inout Hasher)

The computed hash value of the media destination.

Getting the Playlist Name

var playlistName: String?

The name of the destination playlist.

Comparing Media Destinations

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.

Enumeration Cases

case library

The library destination.

case playlist(String)

The destination playlist.

Instance Properties

See Also

Getting the Media

var mediaItems: [INMediaItem]?

The media content to add.

Beta
var mediaSearch: INMediaSearch?

The location to search for the media item to add.

Beta
var mediaDestination: INMediaDestination?

The location for the media to add.

Beta
class INMediaDestinationReference

An object that describes the destination for a media item.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software