Used to notify when the audio recorder state changes.
Namespace: iSpeechAssembly: iSpeechSDK (in iSpeechSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public abstract void stateChanged(
int eventState,
int freeFormValue,
Exception lastException
) |
| Visual Basic |
|---|
Public MustOverride Sub stateChanged ( _
eventState As Integer, _
freeFormValue As Integer, _
lastException As Exception _
) |
| Visual C++ |
|---|
public:
virtual void stateChanged(
int eventState,
int freeFormValue,
Exception^ lastException
) abstract |
Parameters
- eventState
- Type: System..::..Int32
One of RECORDING_COMPLETE, RECORDING_COMMITTED or RECORDING_CANCELED
- freeFormValue
- Type: System..::..Int32
The value provided to the{@link SpeechRecognizer.setFreeForm} method
- lastException
- Type: System..::..Exception
The last exception that occurred (if any)
See Also