set Speech To Text Visible
Set Voice speech-to-text Result Visibility.
Control Voice speech-to-text Result Whether In display on UI, visible Status will Sync to Local Data database.
Usage Example:
// show speech-to-text Result
message.setSpeechToTextVisible(true) { error ->
if (error == null) {
// Set successfully
}
}
// hide speech-to-text Result
message.setSpeechToTextVisible(false) { error ->
// ...
}Content copied to clipboard
Parameters
visible
Whether visible
handler
Operation result callback.Success When error null