Type Method

authorizationStatus

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

Declaration

+ (SFSpeechRecognizerAuthorizationStatus)authorizationStatus;

Return Value

The app's current authorization status value. For a list of values, see SFSpeechRecognizerAuthorizationStatus.

Discussion

The user can reject your app's request to perform speech recognition, but your request can also be denied if speech recognition is not supported on the device. The app can also change your app's authorization status at any time from the Settings app.

See Also

Requesting Authorization from the User

+ requestAuthorization:

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

SFSpeechRecognizerAuthorizationStatus

The app's authorization to perform speech recognition.