{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

VerbatimTtsAnnotation

public final class VerbatimTtsAnnotation extends TtsAnnotation

java.lang.Object
   ↳ androidx.compose.ui.text.TtsAnnotation
     ↳ androidx.compose.ui.text.VerbatimTtsAnnotation

The text associated with this annotation is a series of characters that have to be read verbatim.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull String

a string where the characters are read verbatim except whitespace.

int
@NonNull String

Extension functions

final @NonNull TtsSpan

Public constructors

VerbatimTtsAnnotation

public VerbatimTtsAnnotation(@NonNull String verbatim)
Parameters
@NonNull String verbatim

a string where the characters are read verbatim except whitespace.

Public methods

equals

public boolean equals(Object other)

getVerbatim

public final @NonNull String getVerbatim()

a string where the characters are read verbatim except whitespace.

hashCode

public int hashCode()

toString

public @NonNull String toString()

Extension functions

TtsAnnotationExtensionsKt.toSpan

public final @NonNull TtsSpan TtsAnnotationExtensionsKt.toSpan(
    @NonNull VerbatimTtsAnnotation receiver
)