Explain the difference between Siri Intents and App Intents.

Generated on 8/11/2024

1 search

Siri Intents and App Intents are two frameworks used to integrate apps with Siri and other system features, but they serve different purposes and have distinct characteristics:

  1. Siri Intents (SiriKit):

    • Introduced with iOS 10, Siri Intents are part of the SiriKit framework.
    • They allow developers to use predefined intents provided by the system to enable actions that users commonly ask Siri to perform, such as playing music or sending a text message.
    • SiriKit is organized into domains, and if your app's functionality fits within an existing SiriKit domain, it is the best way to enable those features with Siri.
  2. App Intents:

    • Introduced with iOS 16, App Intents is a newer framework designed to integrate apps with Siri, Shortcuts, Spotlight, and other system experiences.
    • App Intents allow developers to define a set of actions and content from their app that can be surfaced outside the app, making them accessible through various system features.
    • Unlike Siri Intents, App Intents are not limited to predefined domains, making them suitable for apps that do not overlap with existing SiriKit domains.
    • App Intents provide a common foundation for building features that can be shared across different system features, allowing for code reuse and consistent behavior.

In summary, if your app's functionality aligns with an existing SiriKit domain, Siri Intents are the appropriate choice. However, if your app's features do not fit within these domains, App Intents offer a flexible framework to expose your app's core features to Siri and other system experiences. For more details, you can refer to the session Bring your app to Siri (00:59).