INUpdateMediaAffinityIntent

INUpdateMediaAffinityIntent

INUpdateMediaAffinityIntent Class of Intents A request to update the user’s affinity for a media item.

class INUpdateMediaAffinityIntent

Overview

Siri creates an INUpdateMediaAffinityIntent object when the user expresses a preference for or disinterest in a media item. The intent object contains the media to update.

To handle this intent, the handler object in your Intents extension must adopt the INUpdateMediaAffinityIntentHandling protocol. Your handler should confirm the request and create an INUpdateMediaAffinityIntentResponse object with the media to update.