Relay.Calling.DetectResult
Relay.Calling.DetectResult
This object returned from one of synchronous detect methods that represents the final result of a detector.
Methods-submenu
GetEvent
Returns the last Relay Event arrived for this operation.
Parameters
None
Returns
Relay.Event
- Last Relay Event.
GetResult
Returns the result of the detector. It could be the digits or the type (machine
or human
) detected.
Parameters
None
Returns
string
- Detector result.
GetType
Returns the type
of detector.
Parameters
None
Returns
string
- Detector type: digit
, machine
or fax
.
GetSuccessful
Return true
if detector succeeded, false
otherwise.
Parameters
None
Returns
Boolean
- True/False accordingly to the state.