Contents

INUpdateMediaAffinityIntent

A request to update the user’s affinity for a media item.

Declaration

class INUpdateMediaAffinityIntent

Mentioned in

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.

Additional Intent Attributes

The following table lists additional attributes of this intent object:

Attribute

Description

Supported by

Siri Intents (audio only)

Always requires unlocked device

No

Topics

Initializing the Intent Object

Getting the Media Information

See Also

Update Media Affinity