ThbTapiCall.StateHistory
Unit: hbTapi
 

Availability

Design-Time: none / Run-Time: Read

Declaration

property StateHistory: DWORD;

Description

This property holds all call states the call passes while its lifetime. StateHistory is set the first time the state transits to another call state than idle and then ored with all call states till the state transits back to idle. This property is usefull e.g. for journaling functions.

Example

Form1.hbTapiLine1CallEnd(Sender: ThbTapiLine; Call: ThbTapiCall);
begin
  if Call.StateHistory and LINECALLSTATE_CONNECTED <> 0 then
  begin
    // the call has been connected
  end;
end;

See Also

ThbTapiCall.State, ThbTapiLine.OnCallState