方法: GatherDigits
|
功能: |
在线路上收集按键 |
|
|
Parameters: |
digitsCount:
terminatDigit: 重新开始收集按键,一旦检测到这个按键,收集过程重新开始.
SpecialDigits:
firstDigitTimeOut:
interDigitTimeOut:
|
|
| Events Raised: |
DigitsGathered | |
Sample Code In Visual Basic:
'The following code shows how to begin gathering digits after a digit "1" has been detected
Sub VoiceAngel1_DigitDetected(LineIndex as integer ,sDigit as String )
VoiceAngel1.CurrentLineIndex = LineIndex
if sDigit="1" then
VoiceAngel1.GatherDigits 4 ,"#","","","",6000,4000 ,50000
VoiceAngel1.OpenWaveFile "Prompt.wav"
VoiceAngel1.StartPlaying 0,false
end if
End sub