Public Member Functions | List of all members
ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener Class Reference
Inheritance diagram for ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener:
Inheritance graph
[legend]

Public Member Functions

void onBeginningOfSpeech ()
 
void onBufferReceived (byte[] buffer)
 
void onEndOfSpeech ()
 
void onError (int error)
 
void onEvent (int eventType, Bundle params)
 
void onPartialResults (Bundle partialResults)
 
void onReadyForSpeech (Bundle params)
 
void onResults (Bundle results)
 
void onRmsChanged (float rmsdB)
 

Detailed Description

Definition at line 228 of file porcupine/demo/android/STT/porcupine-stt-demo-app/src/main/java/ai/picovoice/porcupine/sttdemo/MainActivity.java.

Member Function Documentation

◆ onBeginningOfSpeech()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onBeginningOfSpeech ( )
inline

◆ onBufferReceived()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onBufferReceived ( byte[]  buffer)
inline

◆ onEndOfSpeech()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onEndOfSpeech ( )
inline

◆ onError()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onError ( int  error)
inline

◆ onEvent()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onEvent ( int  eventType,
Bundle  params 
)
inline

◆ onPartialResults()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onPartialResults ( Bundle  partialResults)
inline

◆ onReadyForSpeech()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onReadyForSpeech ( Bundle  params)
inline

◆ onResults()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onResults ( Bundle  results)
inline

◆ onRmsChanged()

void ai.picovoice.porcupine.sttdemo.MainActivity.SpeechListener.onRmsChanged ( float  rmsdB)
inline

The documentation for this class was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20