ITAgentEvent interface (tapi3.h)

The ITAgentEvent interface contains methods that retrieve the description of agent events. When the application's implementation of the ITTAPIEventNotification::Event method indicates a TAPI_EVENT equal to TE_AGENT, the method's pEvent parameter is an IDispatch pointer for the ITAgentEvent interface. The methods of this interface can be used to retrieve information concerning the agent event that has occurred.

See About Call Center Controls for additional information on agents.

Note  You must call the ITTAPI::put_EventFilter method and set an event filter mask that includes the TE_AGENT event to enable reception of agent 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 ITAgentEvent interface inherits from the IDispatch interface. ITAgentEvent also has these types of members:

Methods

The ITAgentEvent interface has these methods.

 
ITAgentEvent::get_Agent

The ITAgentEvent::get_Agent method (tapi3.h) gets the interface for the agent on which the event occurred.
ITAgentEvent::get_Event

The ITAgentEvent::get_Event method (tapi3.h) gets an AGENT_EVENT descriptor of the event that occurred.

Requirements

Requirement Value
Target Platform Windows
Header tapi3.h (include Tapi3.h)

See also

AGENT_EVENT

About Call Center Controls

IDispatch

ITAgent

ITTAPIEventNotification::Event

Register Events code snippet

TAPI_EVENT