

Public Member Functions | |
| virtual void | setCodec (Codec::Type recordingCodec, ReturnCode::Type &returnCode)=0 |
| virtual void | setListener (AudioSourceListenerProxy &listener, ReturnCode::Type &returnCode)=0 |
| virtual AudioStreamProxy | createAudio (ReturnCode::Type &returnCode)=0 |
| virtual void | start (ReturnCode::Type &returnCode)=0 |
| virtual void | stop (ReturnCode::Type &returnCode)=0 |
Static Public Member Functions | |
| static UAPI_EXPORT MicrophoneProxy | getInstance (ReturnCode::Type &returnCode) |
Protected Member Functions | |
| Microphone () | |
| virtual | ~Microphone () |
Static Protected Attributes | |
| static Microphone * | instance |
Friends | |
| class | MicrophoneProxy |
| android.speech.recognition.Microphone.Microphone | ( | ) | [protected] |
Prevent construction.
| virtual android.speech.recognition.Microphone.~Microphone | ( | ) | [protected, virtual] |
Prevent destruction.
| static UAPI_EXPORT MicrophoneProxy android.speech.recognition.Microphone.getInstance | ( | ReturnCode::Type & | returnCode | ) | [static] |
Returns the microphone.
| returnCode | the return code. |
| virtual void android.speech.recognition.Microphone.setCodec | ( | Codec::Type | recordingCodec, | |
| ReturnCode::Type & | returnCode | |||
| ) | [pure virtual] |
Sets the recording codec. This must be called before start() is invoked.
| recordingCodec | the codec in which the samples will be recorded | |
| returnCode | the return code |
| virtual void android.speech.recognition.Microphone.setListener | ( | AudioSourceListenerProxy & | listener, | |
| ReturnCode::Type & | returnCode | |||
| ) | [pure virtual] |
Set the microphone listener.
| listener | the microphone listener | |
| returnCode | the return code |
| virtual AudioStreamProxy android.speech.recognition.AudioSource.createAudio | ( | ReturnCode::Type & | returnCode | ) | [pure virtual, inherited] |
Returns an object that contains audio samples.
| returnCode | the return code |
| virtual void android.speech.recognition.AudioSource.start | ( | ReturnCode::Type & | returnCode | ) | [pure virtual, inherited] |
Starts collecting audio samples.
| returnCode | the return code |
| virtual void android.speech.recognition.AudioSource.stop | ( | ReturnCode::Type & | returnCode | ) | [pure virtual, inherited] |
Stops collecting audio samples.
| returnCode | the return code |
Microphone* android.speech.recognition.Microphone.instance [static, protected] |
singleton instance
1.5.3