/AWS1/CL_LM2PROMPTATTEMPTSPEC¶
Specifies the settings on a prompt attempt.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
io_allowedinputtypes TYPE REF TO /AWS1/CL_LM2ALLOWEDINPUTTYPES /AWS1/CL_LM2ALLOWEDINPUTTYPES¶
Indicates the allowed input types of the prompt attempt.
Optional arguments:¶
iv_allowinterrupt TYPE /AWS1/LM2BOXEDBOOLEAN /AWS1/LM2BOXEDBOOLEAN¶
Indicates whether the user can interrupt a speech prompt attempt from the bot.
io_audioanddtmfinputspec TYPE REF TO /AWS1/CL_LM2AUDIOANDDTMFINPS00 /AWS1/CL_LM2AUDIOANDDTMFINPS00¶
Specifies the settings on audio and DTMF input.
io_textinputspecification TYPE REF TO /AWS1/CL_LM2TEXTINPUTSPEC /AWS1/CL_LM2TEXTINPUTSPEC¶
Specifies the settings on text input.
Queryable Attributes¶
allowInterrupt¶
Indicates whether the user can interrupt a speech prompt attempt from the bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALLOWINTERRUPT() |
Getter for ALLOWINTERRUPT, with configurable default |
ASK_ALLOWINTERRUPT() |
Getter for ALLOWINTERRUPT w/ exceptions if field has no valu |
HAS_ALLOWINTERRUPT() |
Determine if ALLOWINTERRUPT has a value |
allowedInputTypes¶
Indicates the allowed input types of the prompt attempt.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALLOWEDINPUTTYPES() |
Getter for ALLOWEDINPUTTYPES |
audioAndDTMFInputSpecification¶
Specifies the settings on audio and DTMF input.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUDIOANDDTMFINPUTSPEC() |
Getter for AUDIOANDDTMFINPUTSPEC |
textInputSpecification¶
Specifies the settings on text input.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEXTINPUTSPECIFICATION() |
Getter for TEXTINPUTSPECIFICATION |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TS_PROMPTATTEMPTSSPEC00_MAPROW¶
TYPES: BEGIN OF TS_PROMPTATTEMPTSSPEC00_MAPROW,
key TYPE /AWS1/LM2PROMPTATTEMPT,
value TYPE REF TO /AWS1/CL_LM2PROMPTATTEMPTSPEC,
END OF TS_PROMPTATTEMPTSSPEC00_MAPROW.
TT_PROMPTATTEMPTSSPECMAP¶
TYPES TT_PROMPTATTEMPTSSPECMAP TYPE HASHED TABLE OF /AWS1/CL_LM2PROMPTATTEMPTSPEC=>TS_PROMPTATTEMPTSSPEC00_MAPROW WITH UNIQUE KEY key
.