Class

INAddMediaMediaItemResolutionResult

A resolution result for the media item to add.

Declaration

class INAddMediaMediaItemResolutionResult : INMediaItemResolutionResult

Overview

You return an INAddMediaMediaItemResolutionResult object when resolving parameters containing an INMediaItemResolutionResult value. Use the creation method that best reflects your ability to resolve the parameter successfully.

For additional resolution operators, see INIntentResolutionResult.

Topics

Creating a Resolution Result

init(mediaItemResolutionResult: INMediaItemResolutionResult)

Creates an object whose resolution involves successfully adding a media item.

class func unsupported(forReason: INAddMediaMediaItemUnsupportedReason) -> Self

Creates an object whose resolution requires the user to confirm the request because your app is unable to support the current request.

enum INAddMediaMediaItemUnsupportedReason

Constants that describe why the app can’t add the media item.

Relationships

Conforms To

See Also

Resolution Results

class INAddMediaMediaDestinationResolutionResult

A resolution result for the types of destinations when adding media.

class INMediaDestinationResolutionResult

A resolution result for the media destination types.

class INMediaItemResolutionResult

A resolution result for media item types.

class INMediaAffinityTypeResolutionResult

A resolution result for the user’s affinity for a media item.

class INPlayMediaMediaItemResolutionResult

A resolution result for the media item to play.

class INPlayMediaPlaybackSpeedResolutionResult

A resolution result that determines the playback speed of a media item.

class INPlaybackRepeatModeResolutionResult

A resolution result for the playback repeat modes of a media item.

class INPlaybackQueueLocationResolutionResult

A resolution result for the requested playback queue location.

class INSearchForMediaMediaItemResolutionResult

A resolution result for the media item for which to search.

class INUpdateMediaAffinityMediaItemResolutionResult

A resolution result for updating the user’s affinity for a media item.