CTI32 Class Library

cti.GetSilence Method (Int32, Int32, Int32)

Waits for X deciseconds of continuous silence before returning or until y deciseconds of non-silence elapses.

[Visual Basic]
Overloads Public Shared Function GetSilence( _
   ByVal chdev As Integer, _
   ByVal timeout As Integer, _
   ByVal maxtime As Integer _
) As TermCode
[C#]
public static TermCode GetSilence(
   int chdev,
   int timeout,
   int maxtime
);

Parameters

chdev
The channel device handle.
timeout
10 = 1 second. How many deciseconds to wait for silence.
maxtime
10 = 1 second. How many deciseconds of non-silence before returning.

Return Value

The terminating event. See TermCode enum for a list of terminating events. (i.e. TM_MAXDTMF if it returned because a key was pressed.)

See Also

cti Class | CTI32NetLib Namespace | cti.GetSilence Overload List