ITASRTerminalEvent interface (tapi3if.h)
The ITASRTerminalEvent interface contains methods that retrieve the description of Automatic Speech Recognition terminal events that have occurred. When the application's implementation of the ITTAPIEventNotification::Event method indicates a TAPI_EVENT equal to TE_ASRTERMINAL, the method's pEvent parameter is an IDispatch pointer for the ITASRTerminalEvent interface.
Note You must call the
ITTAPI::put_EventFilter method and set an event filter mask that includes TE_ASRTERMINAL to enable reception of Automatic Speech Recognition terminal events. If you do not call ITTAPI::put_EventFilter, your application will not receive any events. For more information, see the
Events overview.
Inheritance
The ITASRTerminalEvent interface inherits from the IDispatch interface. ITASRTerminalEvent also has these types of members:
Methods
The ITASRTerminalEvent interface has these methods.
ITASRTerminalEvent::get_Call The get_Call method returns a pointer to the ITCallInfo interface for the call object involved in the terminal event. |
ITASRTerminalEvent::get_Error The get_Error method returns an HRESULT cast of the error associated with the terminal event. |
ITASRTerminalEvent::get_Terminal The get_Terminal method returns a pointer to the ITTerminal interface for the terminal on which the event occurred. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |