ebonet
11/20/2017, 9:52 PMif (response.resultsCount == 0) return "No match found, try again"
val speechRecognitionResult = response.resultsList[0];
if( speechRecognitionResult.alternativesCount == 0) return "No match found, try again";
return speechRecognitionResult.alternativesList[0].transcript;