Class

INMediaAffinityTypeResolutionResult

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

Declaration

class INMediaAffinityTypeResolutionResult : INIntentResolutionResult

Overview

You return an INMediaAffinityTypeResolutionResult object when resolving parameters containing an INMediaAffinityType 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

class func success(with: INMediaAffinityType) -> Self

Creates an object whose resolution involves successfully matching the specified parameter.

class func confirmationRequired(with: INMediaAffinityType) -> Self

Creates an object whose resolution requires that the user must confirm the value before proceeding.

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