The preferences and authorization related to using SiriKit.


@interface INPreferences : NSObject


Use the class methods of INPreferences to perform tasks related to the use of SiriKit. An iOS app must request authorization to use SiriKit before Siri or Maps are allowed to call on its Intents extension to handle intents. To request authorization, call the requestSiriAuthorization: method at some point during your app’s execution. The first time you call this method, the user is prompted to grant or deny authorization for your app. The user can change the authorization settings for your app later in the system settings. You can get your app’s current authorization status using the siriAuthorizationStatus method.


Managing the App’s Authorization

+ requestSiriAuthorization:

Requests authorization to use Siri services.

+ siriAuthorizationStatus

Returns the current authorization status of your app.


Constants indicating the authorization status of your Intents extension.

Getting the Siri Language

+ siriLanguageCode

Returns the language that Siri uses to communicate with the user.


Inherits From