TWSEngine

Represents the processing engine for rendering web content in the TWSView.

This enum defines the available content processing engines, determining how the input content is processed and displayed in the SDK's TWSView.

Entries

Link copied to clipboard
@Json(name = "mustache")
MUSTACHE

Content will be processed using the Mustache templating engine. The content is rendered dynamically by interpolating the provided properties (props) into the Mustache template syntax. This allows for generating custom HTML content based on the data passed to the engine. For more details on Mustache syntax, refer to Mustache Documentation.

Link copied to clipboard
@Json(name = "none")
NONE

Content will be displayed as normal static HTML without any additional processing.

Link copied to clipboard

Indicates that the specified processing engine is not supported by the current SDK version. If this value is encountered, the behavior will default to the same as NONE.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): TWSEngine

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.