INPreferences

INPreferences

INPreferences Class of Intents The preferences and authorization related to using SiriKit.

class INPreferences

Overview

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.

Inherits From

NSObject

Conforms To

CVarArg CustomDebugStringConvertible CustomStringConvertible Equatable Hashable NSObjectProtocol