Initializes an intent object with the specified search parameters.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
The range of dates during which the photos were taken.
The location where the photos were taken.
The name of the album that contains the photos.
An array of terms to look for in the photo. These terms can refer to tags, keywords, descriptions, or names of people associated with the photo.
The attributes that are present in the photos. This parameter may contain multiple attributes.
The attributes that are not present in the photos. This parameter may contain multiple attributes.
One or more users present in the photos.
An initialized intent object or
nil if the object could not be created.
Normally, you do not create instances of this class yourself. Instead, Siri creates instances when the user asks to start a slideshow. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.