---
title: INStartPhotoPlaybackIntent
framework: intents
role: symbol
role_heading: Class
path: intents/instartphotoplaybackintent
---

# INStartPhotoPlaybackIntent

A request to search for photos and initiate a slideshow with the results.

## Declaration

```swift
class INStartPhotoPlaybackIntent
```

## Overview

Overview The system creates an INStartPhotoPlaybackIntent object when the user asks to start a slideshow of a set of photos. This intent object contains the parameters to use when searching for the photos, including the possible name of a photo album, the people in the photos, or the location of the photos. Use this intent object to perform the search and initiate the slideshow in your app. When performing the search, use only the parameters provided and ignore any that have no values. To handle this intent, the handler object in your Intents extension must adopt the INStartPhotoPlaybackIntentHandling protocol. Your handler should confirm the request and create an INStartPhotoPlaybackIntentResponse object with the results of the search. After a successful search, Siri launches your app so that it can begin the slideshow. For a list of other intents in the photos domain, see INPhotosDomainHandling. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |

## Topics

### Creating the Intent Object

- [init(dateCreated:locationCreated:albumName:searchTerms:includedAttributes:excludedAttributes:peopleInPhoto:)](intents/instartphotoplaybackintent/init(datecreated:locationcreated:albumname:searchterms:includedattributes:excludedattributes:peopleinphoto:).md)

### Getting the People in the Photos

- [peopleInPhoto](intents/instartphotoplaybackintent/peopleinphoto.md)
- [peopleInPhotoOperator](intents/instartphotoplaybackintent/peopleinphotooperator.md)

### Getting the Search Terms

- [searchTerms](intents/instartphotoplaybackintent/searchterms.md)
- [searchTermsOperator](intents/instartphotoplaybackintent/searchtermsoperator.md)

### Getting the Search Attributes

- [dateCreated](intents/instartphotoplaybackintent/datecreated.md)
- [locationCreated](intents/instartphotoplaybackintent/locationcreated.md)
- [albumName](intents/instartphotoplaybackintent/albumname.md)
- [includedAttributes](intents/instartphotoplaybackintent/includedattributes.md)
- [excludedAttributes](intents/instartphotoplaybackintent/excludedattributes.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.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)
- [INStartPhotoPlaybackIntentResponse](intents/instartphotoplaybackintentresponse.md)
