Platform SDK: Web Telephony Engine

ConstrainsType

The ConstrainsType enumerated types specify the types of constraints that can be placed on a menu. The constraints apply when WTE is waiting for the caller to respond to the menu. The constraint values are used in the StepConstrains.Type property.

enum ConstrainsType {
  wteConsNone,
  wteConsTerminator,
  wteConsLegalDigits,
  wteConsBoundaries,
  wteConsAny
};

Elements

wteConsNone
wteConsTerminator
Termination string, indicating end of input in text fields (TextArea and input text). The constraint is fulfilled when the string is entered.
wteConsLegalDigits
A list of valid digits, used in menus. Each one-digit option is associated with a menu item. The constraint is fulfilled when a digit is selected.
wteConsBoundaries
Two numbers, with one or more digits, that signify the first and last numbers in a menu. Used in menus where more than one digit is associated with each menu item. For example, a 15-item menu can have options numbered 10 through 24. The constraint is fulfilled when one of the numbers is entered.
wteConsAny
Any key. Can be used only with text control or TEXTAREA attribute while recording or when rendering caller's speech.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswteenum.h.

See Also

StepConstrains.Type