Interface AdvancedSettings.DtmfSettingsOrBuilder (0.47.0)

public static interface AdvancedSettings.DtmfSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getFinishDigit()

public abstract String getFinishDigit()

The digit that terminates a DTMF digit sequence.

string finish_digit = 3;

Returns
TypeDescription
String

The finishDigit.

getFinishDigitBytes()

public abstract ByteString getFinishDigitBytes()

The digit that terminates a DTMF digit sequence.

string finish_digit = 3;

Returns
TypeDescription
ByteString

The bytes for finishDigit.

getMaxDigits()

public abstract int getMaxDigits()

Max length of DTMF digits.

int32 max_digits = 2;

Returns
TypeDescription
int

The maxDigits.