Public Member Functions | |
| virtual void | onStarted ()=0 |
| virtual void | onStopped ()=0 |
| virtual void | onError (ReturnCode::Type error)=0 |
Protected Member Functions | |
| UAPI_EXPORT | DeviceSpeakerListener () |
| virtual UAPI_EXPORT | ~DeviceSpeakerListener () |
Friends | |
| class | DeviceSpeakerListenerProxy |
| UAPI_EXPORT android.speech.recognition.DeviceSpeakerListener.DeviceSpeakerListener | ( | ) | [protected] |
Prevent construction.
| virtual UAPI_EXPORT android.speech.recognition.DeviceSpeakerListener.~DeviceSpeakerListener | ( | ) | [protected, virtual] |
Prevent destruction.
| virtual void android.speech.recognition.DeviceSpeakerListener.onStarted | ( | ) | [pure virtual] |
Invoked when the device speaker starts playback.
| virtual void android.speech.recognition.DeviceSpeakerListener.onStopped | ( | ) | [pure virtual] |
Invoked when the playback ends (either normally or due to an error).
| virtual void android.speech.recognition.DeviceSpeakerListener.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. |
1.5.3