---
title: INPlayMediaIntentResponseCode.handleInApp
framework: intents
role: symbol
role_heading: Case
path: intents/inplaymediaintentresponsecode/handleinapp
---

# INPlayMediaIntentResponseCode.handleInApp

The system should launch the app in the background to play the media.

## Declaration

```swift
case handleInApp
```

## Mentioned in

Improving Siri Media Interactions and App Selection

## Discussion

Discussion Because the lifespan of an app extension is short, media playback should happen in your app, not in the Intents app extension. To handle media playback in your app while in the background, return INPlayMediaIntentResponseCode.handleInApp as the response code.

## See Also

### Intents App Extensions

- [INPlayMediaIntentResponseCode.ready](intents/inplaymediaintentresponsecode/ready.md)
- [INPlayMediaIntentResponseCode.continueInApp](intents/inplaymediaintentresponsecode/continueinapp.md)
