android.speech.recognition.MicrophoneListener Class Reference

Inheritance diagram for android.speech.recognition.MicrophoneListener:

Inheritance graph
[legend]
Collaboration diagram for android.speech.recognition.MicrophoneListener:

Collaboration graph
[legend]

List of all members.


Detailed Description

Listens for Microphone events.

Public Member Functions

virtual void onStarted ()=0
virtual void onStopped ()=0
virtual void onError (ReturnCode::Type error)=0

Protected Member Functions

UAPI_EXPORT MicrophoneListener ()
virtual UAPI_EXPORT ~MicrophoneListener ()

Friends

class MicrophoneListenerProxy
class AudioSourceListenerProxy

Constructor & Destructor Documentation

UAPI_EXPORT android.speech.recognition.MicrophoneListener.MicrophoneListener (  )  [protected]

Prevent construction.

virtual UAPI_EXPORT android.speech.recognition.MicrophoneListener.~MicrophoneListener (  )  [protected, virtual]

Prevent destruction.


Member Function Documentation

virtual void android.speech.recognition.AudioSourceListener.onStarted (  )  [pure virtual, inherited]

Invoked when reading begins.

virtual void android.speech.recognition.AudioSourceListener.onStopped (  )  [pure virtual, inherited]

Invoked when the reading ends (either normally or due to an error).

virtual void android.speech.recognition.AudioSourceListener.onError ( ReturnCode::Type  error  )  [pure virtual, inherited]

Invoked when an unexpected error occurs. This is normally followed by onStopped() if the component shuts down successfully.

Parameters:
error specific error code.


Generated on Thu May 1 17:16:48 2008 for UAPI by  doxygen 1.5.3