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

# AddMediaIntentResponseCode

Codes your service can return when confirming or handling an add media intent.

## Declaration

```data
string AddMediaIntentResponseCode
```

## Possible Values

success: Your service successfully adds the media items to the specified destination. Use this in an AddMediaIntentHandlingHandleInvocationResponse.Result. ready: Your service is ready and able to add the media items to the specified destination. Use this in an AddMediaIntentHandlingConfirmInvocationResponse.Result. inProgress: Your service is adding the media items to the specified destination, but it may take some time. Use this in an AddMediaIntentHandlingHandleInvocationResponse.Result. failureRequiringAppLaunch: The user needs to launch your app on their iOS device to resolve a problem. failure: A failure occurs while confirming or handling the intent. unspecified: An unspecified response code.

## See Also

### Confirming and Handling an Add Media Intent

- [AddMediaIntentResponse](sirikitcloudmedia/addmediaintentresponse.md)
- [AddMediaIntentHandlingConfirmInvocationResponse](sirikitcloudmedia/addmediaintenthandlingconfirminvocationresponse.md)
- [AddMediaIntentHandlingHandleInvocationResponse](sirikitcloudmedia/addmediaintenthandlinghandleinvocationresponse.md)
