Class

INUpdateMediaAffinityMediaItemResolutionResult

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

Declaration

class INUpdateMediaAffinityMediaItemResolutionResult : INMediaItemResolutionResult

Overview

You return an INUpdateMediaAffinityMediaItemResolutionResult 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 updating the user’s affinity for a media item.

class func unsupported(forReason: INUpdateMediaAffinityMediaItemUnsupportedReason) -> Self

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

enum INUpdateMediaAffinityMediaItemUnsupportedReason

Constants that describe why the app can’t update the user’s affinity for the media item.

Relationships

Conforms To

See Also

Resolution Results

class INAddMediaMediaDestinationResolutionResult

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

class INAddMediaMediaItemResolutionResult

A resolution result for the media item to add.

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.