public override void onResults(AndroidJavaObject results) { var bundle = new AndroidBundle(results); var recognized = bundle.GetStringList(SpeechRecognizerConstants.RESULTS_RECOGNITION); var confidence = bundle.GetFloatArray(SpeechRecognizerConstants.CONFIDENCE_SCORES); ShowOnScreen(recognized[0]); }
public override void onResults(AndroidJavaObject results) { var bundle = new AndroidBundle(results); var recognized = bundle.GetStringList(SpeechRecognizerConstants.RESULTS_RECOGNITION); var confidence = bundle.GetFloatArray(SpeechRecognizerConstants.CONFIDENCE_SCORES); Debug.Log("RecognitionListenerProxy|onResults|" + recognized[0]); }