Cancel() method
Elements/Objects that the method can be called on
<listen ...>
Attribute description:
The
Cancel
method stops the audio feed to the recognizer and releases recognizer resources.
The platform may return a recognition result for a cancelled recognition (although this may be empty).
If the recognizer has not been started, the call has no effect.
In a recording only
listen
, this method is used to cancel audio recording .
Any written audio data may be removed by the platform.
No event is thrown when the
Cancel
method is called.
Syntax:
Object.Cancel();
Parameters:
none
Retrun Value:
none
Exception:
none
Example
not available at this time
Extra info
For details on usage of this element, see the
SALT Specification, Version 1.0
.