Class

INIntent

A request for you to fulfill using your Intents extension.

Declaration

@interface INIntent : NSObject

Overview

The INIntent class is abstract and provides behaviors shared by all intent objects. You do not create instances of this class directly or implement your own custom subclasses. The Intents framework defines subclasses for each of the requests that users can make in Siri and Maps. You use instances of those classes when responding to a request sent to your Intents extension by SiriKit.

Each subclass of INIntent defines the properties needed to perform the corresponding action. For more information about a specific type of action, see the appropriate subclass.

Topics

Getting the Identifier

identifier

The unique identifier for this intent object.

Getting a Description

intentDescription

A string describing the content of the intent.

Suggesting a Spoken Phrase

Associating an Image

- keyImage

The most relevant image to display to the receiver.

Relationships

Inherits From

See Also

Intents

INIntentResponse

Your response to an intent object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software