Type Method

unsupportedForReason:

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

Declaration

+ (instancetype)unsupportedForReason:(INUpdateMediaAffinityMediaItemUnsupportedReason)reason;

Parameters

reason

The reason that playing the media item isn’t supported.

Return Value

A new INUpdateMediaAffinityMediaItemResolutionResult object.

Discussion

Use this method to create a resolution result object when your app doesn’t support the intent parameter for the specified reason.

See Also

Creating a Resolution Result

- initWithMediaItemResolutionResult:

Creates an object whose resolution involves successfully updating the user’s affinity for a media item.

INUpdateMediaAffinityMediaItemUnsupportedReason

Reasons the app can’t update the user’s affinity for the media item.