Extension-Related Classes

Learn about the classes you use to build your Intents extension.

Topics

Extension

class INExtension

The entry point for an Intents extension.

protocol INIntentHandlerProviding

The interface for dispatching intents to the custom objects that handle those intents.

Intents

class INIntent

A request for you to fulfill using your Intents extension.

class INIntentResponse

Your response to an intent object.

Preferences

class INPreferences

The preferences and authorization related to using SiriKit.

Parameters

class INParameter

A parameter of an interaction object.

Errors

struct INIntentError

Errors returned by SiriKit.

enum INIntentError.Code

Constants for error codes returned by the framework.

let INIntentErrorDomain: String

The error domain for the Intents framework.

See Also

Siri Intents

Creating an Intents App Extension

Add and configure an Intents app extension in your Xcode project.

Structuring Your Code to Support App Extensions

Move your back-end services to a private framework so your app and app extensions can use them.

Dispatching Intents to Handler Objects

Provide SiriKit with an object capable of handling a given intent.

Resolving and Handling Intents

Resolve, confirm, and handle user requests for your app’s services.

protocol INIntentHandlerProviding

The interface for dispatching intents to the custom objects that handle those intents.