---
title: INStartPhotoPlaybackIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/instartphotoplaybackintentresponse
---

# INStartPhotoPlaybackIntentResponse

Your app’s response to a start photo playback intent.

## Declaration

```swift
class INStartPhotoPlaybackIntentResponse
```

## Overview

Overview Use an INStartPhotoPlaybackIntentResponse object to specify the status of searching the user’s photos and the readiness of your app to begin playing those photos in a slideshow. After performing a search using the criteria specified in the INStartPhotoPlaybackIntent object, create an instance of this class with the results. Siri communicates the status from your response to the user at appropriate times. You create an INStartPhotoPlaybackIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your start photo playback handler object. For more information about implementing your handler object, see INStartPhotoPlaybackIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/instartphotoplaybackintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/instartphotoplaybackintentresponse/code.md)
- [INStartPhotoPlaybackIntentResponseCode](intents/instartphotoplaybackintentresponsecode.md)

### Accessing the Response Details

- [searchResultsCount](intents/instartphotoplaybackintentresponse/searchresultscount-5r7e7.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Photo Playback

- [INStartPhotoPlaybackIntentHandling](intents/instartphotoplaybackintenthandling.md)
- [INStartPhotoPlaybackIntent](intents/instartphotoplaybackintent.md)
