// Use this for initialization private void Start() { SpeechRecognizerDialogController speechRecognizer = FindObjectOfType <SpeechRecognizerDialogController>(); if (speechRecognizer != null) { DisplayText("isSpeechRecognizerSupported = " + speechRecognizer.IsSupportedRecognizer); } }
// Use this for initialization private void Start() { SpeechRecognizerDialogController speechRecognizer = FindObjectOfType <SpeechRecognizerDialogController>(); if (speechRecognizer != null) { DisplayText("IsSupportedRecognizer = " + speechRecognizer.IsSupportedRecognizer + "\n" + "'RECORD_AUDIO' permission = " + speechRecognizer.IsPermissionGranted, true); } }