Skip to content

Instantly share code, notes, and snippets.

@gaelfoppolo
Created September 25, 2016 22:41
Show Gist options
  • Save gaelfoppolo/0cf5869d73440563fcec7ed1affe1c96 to your computer and use it in GitHub Desktop.
Save gaelfoppolo/0cf5869d73440563fcec7ed1affe1c96 to your computer and use it in GitHub Desktop.
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