Last active
November 28, 2022 15:57
-
-
Save StephenVinouze/3039394072804ad56935695d8f11deab 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
private val speech: SpeechRecognizer by lazy { SpeechRecognizer.createSpeechRecognizer(context) } | |
if (SpeechRecognizer.isRecognitionAvailable(context)) { | |
speechRecognizer.setRecognitionListener(this) | |
} else { | |
// Handle error | |
} |
Sorry for being not polite in my comment. I was frustrated while I wrote the comment.
Why did you needed half a year to answer my comment? 😂
Just bumped into it, I'm never logged in on my personal account since I use a professional one for my company ;)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fair enough, I've completed the Gist. Thanks for pointing it out