Skip to content

/AWS1/CL_PLYTEXTEVENT

Contains text content to be synthesized into speech.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_text TYPE /AWS1/PLYTEXT /AWS1/PLYTEXT

The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

Optional arguments:

iv_texttype TYPE /AWS1/PLYTEXTTYPE /AWS1/PLYTEXTTYPE

Specifies whether the input text is plain text or SSML. Default: plain text.

io_flushstreamconfiguration TYPE REF TO /AWS1/CL_PLYFLUSHSTREAMCONF /AWS1/CL_PLYFLUSHSTREAMCONF

Configuration for controlling when synthesized audio flushes to the output stream.


Queryable Attributes

Text

The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

TextType

Specifies whether the input text is plain text or SSML. Default: plain text.

Accessible with the following methods

Method Description
GET_TEXTTYPE() Getter for TEXTTYPE, with configurable default
ASK_TEXTTYPE() Getter for TEXTTYPE w/ exceptions if field has no value
HAS_TEXTTYPE() Determine if TEXTTYPE has a value

FlushStreamConfiguration

Configuration for controlling when synthesized audio flushes to the output stream.

Accessible with the following methods

Method Description
GET_FLUSHSTREAMCONFIGURATION() Getter for FLUSHSTREAMCONFIGURATION