Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

65
Vistas
How do I hide spoken text in Android Speech Services by Google?

I am saving voice data with Google Speech Service.

When I record my voice, RecognizerIntent.ACTION_RECOGNIZE_SPEECH is called, and the text I speak is displayed at the bottom of the Google Speech Service.

Is there a way to hide this text?

setStudy: function () {
  let options = {
    language: this.language,
    prompt: this.cur_question,
    matches: this.matches,
    showPopup: this.showPopup,
    showPartial: this.showPartial
  };

  if (this.avaliable && "" != this.prompt) {
    window.plugins.speechRecognition.startListening(
      res => {
        if (this.category === VOCA) {
          this.getScoreWord(res);
        } else {
          this.getScore(res[0]);
        }
        this.record_cnt += 1;
        this.$emit("update:recordCnt", this.record_cnt);
        this.$store.commit("Audio/ADD_SPEAKING_REC_CNT");
      },
      err => window.console.error(err),
      options
    );
  }
},

JS

if (showPopup) {
  NotificationSentence(MainActivity.getSentence());

  cordova.startActivityForResult(this, intent, REQUEST_CODE_SPEECH);
}

Android

enter image description here

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.