/AWS1/CL_AFBAUDIO¶
The audio message. There is a 1 MB limit on the audio file input and the only supported format is MP3. To convert your MP3 audio files to an Alexa-friendly,
required codec version (MPEG version 2) and bit rate (48 kbps), you might use converter
software. One option for this is a command-line tool, FFmpeg. For more information, see
FFmpeg. The following command converts the
provided
ffmpeg -i
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
IV_LOCALE
TYPE /AWS1/AFBLOCALE
/AWS1/AFBLOCALE
¶
The locale of the audio message. Currently, en-US is supported.
IV_LOCATION
TYPE /AWS1/AFBAUDIOLOCATION
/AWS1/AFBAUDIOLOCATION
¶
The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.
Queryable Attributes¶
Locale¶
The locale of the audio message. Currently, en-US is supported.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOCALE() |
Getter for LOCALE, with configurable default |
ASK_LOCALE() |
Getter for LOCALE w/ exceptions if field has no value |
HAS_LOCALE() |
Determine if LOCALE has a value |
Location¶
The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOCATION() |
Getter for LOCATION, with configurable default |
ASK_LOCATION() |
Getter for LOCATION w/ exceptions if field has no value |
HAS_LOCATION() |
Determine if LOCATION has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_AUDIOLIST
¶
TYPES TT_AUDIOLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_AFBAUDIO WITH DEFAULT KEY
.