Skip to main content

SignalWire.Relay.Calling.CallCollect.DigitsParams

This object represents the parameters specific to digits collecting.

Constructor

The only constructor is the default constructor, properties should all be assigned by initializer or after construction.

Parameters

None

Examples

Basic Example

CallCollect collect = new CallCollect
{
Digits = new CallCollect.DigitsParams
{
Max = 1
}
};

Properties

PropertyTypeDescription
MaxintThe maximum number of digits to collect, must be greater than zero.
TerminatorsstringA string of individual characters that can be used to terminate prematurely.
DigitTimeoutdouble?The timeout before terminating prematurely if at least one digit was collected.
Default: 1 second

Methods

None

Events

None