rxlabz / speech_recognition

A Flutter plugin to use speech recognition on iOS & Android (Swift/Java)
https://pub.dartlang.org/packages/speech_recognition
Other
336 stars 197 forks source link

would you please make the result be list of string? instead of currently a string #80

Closed peterweb2005 closed 4 years ago

peterweb2005 commented 4 years ago

used android before, the result is:

        final ArrayList<String> results = bundle.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION);
        log.trace("results = {}", results);

but now

  void onRecognitionResult(String text) {
    log.fine('onRecognitionResult()');
    log.finest('text: ', text);
  }

thanks