---
title: code
framework: intents
role: symbol
role_heading: Instance Property
path: intents/inplaymediaintentresponse/code
---

# code

A response code that indicates whether the app can play the media.

## Declaration

```swift
var code: INPlayMediaIntentResponseCode { get }
```

## See Also

### Providing the Response Code

- [INPlayMediaIntentResponseCode](intents/inplaymediaintentresponsecode.md)
