public class GoogleRecognitionServiceImpl extends AIService
| Modifier | Constructor and Description |
|---|---|
protected |
GoogleRecognitionServiceImpl(android.content.Context context,
AIConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel listening process and don't request to AI service
|
void |
pause() |
void |
resume() |
void |
startListening()
Starts listening process
|
void |
startListening(java.util.List<AIContext> contexts)
Starts listening process.
|
void |
stopListening()
Stop listening and start request to the AI service with current recognition results
|
getService, onAudioLevelChanged, onError, onListeningFinished, onListeningStarted, onResult, setListenerprotected GoogleRecognitionServiceImpl(android.content.Context context,
AIConfiguration config)
public void startListening()
AIServicestartListening in class AIServicepublic void startListening(java.util.List<AIContext> contexts)
AIServicestartListening in class AIServicepublic void stopListening()
AIServicestopListening in class AIServicepublic void cancel()
AIService