Class

INStartPhotoPlaybackIntentResponse

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

Declaration

@interface INStartPhotoPlaybackIntentResponse : INIntentResponse

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 confirmStartPhotoPlayback:completion: and handleStartPhotoPlayback:completion: methods of your start photo playback handler object. For more information about implementing your handler object, see INStartPhotoPlaybackIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INStartPhotoPlaybackIntentResponseCode

Constants indicating the status of the response.

Accessing the Response Details

searchResultsCount

The number of photos that match the search parameters.

Relationships

Inherits From

See Also

Start Photo Playback

INStartPhotoPlaybackIntentHandling

The handler interface for searching the user’s photos and the playback of the results.

INStartPhotoPlaybackIntent

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