/AWS1/CL_BDRAUDIOBLOCK¶
An audio content block that contains audio data in various supported formats.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_format TYPE /AWS1/BDRAUDIOFORMAT /AWS1/BDRAUDIOFORMAT¶
The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.
io_source TYPE REF TO /AWS1/CL_BDRAUDIOSOURCE /AWS1/CL_BDRAUDIOSOURCE¶
The source of the audio data, which can be provided as raw bytes or an S3 location.
Optional arguments:¶
io_error TYPE REF TO /AWS1/CL_BDRERRORBLOCK /AWS1/CL_BDRERRORBLOCK¶
Error information if the audio block could not be processed or contains invalid data.
Queryable Attributes¶
format¶
The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FORMAT() |
Getter for FORMAT, with configurable default |
ASK_FORMAT() |
Getter for FORMAT w/ exceptions if field has no value |
HAS_FORMAT() |
Determine if FORMAT has a value |
source¶
The source of the audio data, which can be provided as raw bytes or an S3 location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCE() |
Getter for SOURCE |
error¶
Error information if the audio block could not be processed or contains invalid data.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ERROR() |
Getter for ERROR |