---
title: UpdateMediaAffinityIntent
framework: SiriKit Cloud Media
role: symbol
role_heading: Object
platforms: [sirikit cloud media 1.0.2+]
path: sirikitcloudmedia/updatemediaaffinityintent
---

# UpdateMediaAffinityIntent

An object that describes a user’s stated preference regarding media items.

## Declaration

```data
object UpdateMediaAffinityIntent
```

## Properties

class: The specific type of intent. affinityType: The user’s preference for the media items. mediaItems: Specific media items the user expresses a preference for. mediaSearch: The description of the media items the user expresses a preference for.

## Relationships

### Inherits From

- [Intent](sirikitcloudmedia/intent.md)

## See Also

### Processing an Update Media Affinity Intent

- [UpdateMediaAffinityIntentHandlingInvocation](sirikitcloudmedia/updatemediaaffinityintenthandlinginvocation.md)
- [UpdateMediaAffinityIntentHandlingInvocationResponse](sirikitcloudmedia/updatemediaaffinityintenthandlinginvocationresponse.md)
