---
title: UpdateMediaAffinityIntentResponseCode
framework: SiriKit Cloud Media
role: symbol
role_heading: Type
platforms: [sirikit cloud media 1.0.2+]
path: sirikitcloudmedia/updatemediaaffinityintentresponsecode
---

# UpdateMediaAffinityIntentResponseCode

Codes your service can return when handling an update media affinity intent.

## Declaration

```data
string UpdateMediaAffinityIntentResponseCode
```

## Possible Values

success: Your service successfully updates information about the media affinity. inProgress: Your service is handling the intent, but it may take some time. failureRequiringAppLaunch: The user needs to launch your app on their iOS device to resolve a problem. failure: A failure occurs while handling the intent. unspecified: An unspecified response code.

## See Also

### Handling an Update Media Affinity Intent

- [UpdateMediaAffinityIntentHandlingHandleInvocationResponse](sirikitcloudmedia/updatemediaaffinityintenthandlinghandleinvocationresponse.md)
- [UpdateMediaAffinityIntentResponse](sirikitcloudmedia/updatemediaaffinityintentresponse.md)
