authorizationStatus()
Returns your app’s current authorization to perform speech recognition.
Declaration
class func authorizationStatus() -> SFSpeechRecognizerAuthorizationStatusReturn 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.