setReaderSettings

Return

The updated ReaderSettings

Parameters

parameters

The settings parameters to apply

See also

Updates the settings on the connected reader.

Example usage:

try {
val updatedSettings = terminal.setReaderSettings(
ReaderSettingsParameters.Builder()
.setTextToSpeechEnabled(true)
.build()
)
// Handle successful settings update
} catch (e: TerminalException) {
// Handle settings update failure
}

Throws

if the settings update operation fails