Class

INPlayMediaMediaItemResolutionResult

A resolution result for the media item to play.

Declaration

class INPlayMediaMediaItemResolutionResult : INMediaItemResolutionResult

Overview

You return an INPlayMediaMediaItemResolutionResult 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 playing a media item.

class func unsupported(forReason: INPlayMediaMediaItemUnsupportedReason) -> Self

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

enum INPlayMediaMediaItemUnsupportedReason

Constants that describe why the app can’t play 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 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.