Created
September 25, 2016 22:41
-
-
Save gaelfoppolo/0cf5869d73440563fcec7ed1affe1c96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public func speechRecognizer(_ speechRecognizer: SFSpeechRecognizer, availabilityDidChange available: Bool) { | |
if available { | |
// e.g. enable record button | |
} else { | |
// e.g. disable record button | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment