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]);
        }
예제 #2
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]);
        }