AI2 Component  (Version nb184)
SpeechListener.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2019 MIT, All rights reserved
3 // Released under the Apache License, Version 2.0
4 // http://www.apache.org/licenses/LICENSE-2.0
5 
6 package com.google.appinventor.components.runtime;
7 
12 public interface SpeechListener {
13 
17  void onPartialResult(String text);
18 
22  void onResult(String text);
23 
27  void onError(int errorCode);
28 }
com.google.appinventor.components.runtime.SpeechListener.onPartialResult
void onPartialResult(String text)
com.google.appinventor.components.runtime.SpeechListener.onError
void onError(int errorCode)
com.google.appinventor.components.runtime.SpeechListener
Definition: SpeechListener.java:12
com.google.appinventor.components.runtime.SpeechListener.onResult
void onResult(String text)