Enumeration

SFSpeechRecognizerAuthorizationStatus

The app's authorization to perform speech recognition.

Declaration

enum SFSpeechRecognizerAuthorizationStatus : Int

Topics

Authorization Statuses

case notDetermined

The app's authorization status has not yet been determined.

case denied

The user denied your app's request to perform speech recognition.

case restricted

The device prevents your app from performing speech recognition.

case authorized

The user granted your app's request to perform speech recognition.

See Also

Requesting Authorization from the User

class func requestAuthorization((SFSpeechRecognizerAuthorizationStatus) -> Void)

Asks the user to allow your app to perform speech recognition.

class func authorizationStatus() -> SFSpeechRecognizerAuthorizationStatus

Returns your app's current authorization to perform speech recognition.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software