SetTerminationTones Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Sets a collection of DTMF tones that will terminate DTMF recognition immediately.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Public Sub SetTerminationTones ( _
	tones As ICollection(Of DtmfTone) _
)
Visual Basic (Usage)
Dim instance As DtmfRecognitionEngine
Dim tones As ICollection(Of DtmfTone)

instance.SetTerminationTones(tones)
C#
public void SetTerminationTones(
	ICollection<DtmfTone> tones
)

Parameters

tones
Type: System.Collections.Generic..::..ICollection<(Of <(<'DtmfTone>)>)>

Remarks

A typical use of SetTerminationTone(DtmfTone) would set Hash (the symbol #, also known as the pound sign) as the termination tone. Using this setting, an application could issue the prompt "Please enter your PIN, followed by the pound sign".

See Also