Enumeration

INSiriAuthorizationStatus

Constants indicating the authorization status of your Intents extension.

Declaration

enum INSiriAuthorizationStatus : Int

Topics

Constants

case notDetermined

Not yet determined. An authorization request has not yet been made or the user has not yet made a choice regarding the status of the app. Call the requestSiriAuthorization(_:) method to request authorization from the user.

case restricted

Restricted. The app is not authorized to use Siri services. This status could be the result of active restrictions on Siri services rather than on the user denying access.

case denied

Not authorized. The user explicitly denied authorization for this app.

case authorized

Authorized. Siri is enabled and your app is authorized to interact with it.

See Also

Managing the App’s Authorization

class func siriAuthorizationStatus() -> INSiriAuthorizationStatus

Returns the current authorization status of your app.