Public Member Functions | |
virtual void | onStarted ()=0 |
virtual void | onStopped ()=0 |
virtual void | onError (ReturnCode::Type error)=0 |
Protected Member Functions | |
UAPI_EXPORT | AudioSourceListener () |
virtual UAPI_EXPORT | ~AudioSourceListener () |
Friends | |
class | AudioSourceListenerProxy |
UAPI_EXPORT android.speech.recognition.AudioSourceListener.AudioSourceListener | ( | ) | [protected] |
Prevent construction.
virtual UAPI_EXPORT android.speech.recognition.AudioSourceListener.~AudioSourceListener | ( | ) | [protected, virtual] |
Prevent destruction.
virtual void android.speech.recognition.AudioSourceListener.onStarted | ( | ) | [pure virtual] |
Invoked when reading begins.
virtual void android.speech.recognition.AudioSourceListener.onStopped | ( | ) | [pure virtual] |
Invoked when the reading ends (either normally or due to an error).
virtual void android.speech.recognition.AudioSourceListener.onError | ( | ReturnCode::Type | error | ) | [pure virtual] |
Invoked when an unexpected error occurs. This is normally followed by onStopped() if the component shuts down successfully.
error | specific error code. |