AnnotatedString.Annotation
- 
            Cmn
sealed interface AnnotatedString.Annotation
 
Bullet | 
                
                   Draws a bullet point next to a paragraph.  | 
              
LinkAnnotation | 
                
                   An annotation that represents a clickable part of the text.  | 
              
ParagraphStyle | 
                
                   Paragraph styling configuration for a paragraph.  | 
              
SpanStyle | 
                
                   Styling configuration for a text span.  | 
              
StringAnnotation | 
                
                   An   | 
              
TtsAnnotation | 
                
                   An annotation that contains the metadata intended for text-to-speech engine.  | 
              
UrlAnnotation | 
                
                   This class is deprecated. Use LinkAnnotatation.Url(url) instead  | 
              
LinkAnnotation.Clickable | 
                
                   An annotation that contains a clickable marked with   | 
              
LinkAnnotation.Url | 
                
                   An annotation that contains a   | 
              
VerbatimTtsAnnotation | 
                
                   The text associated with this annotation is a series of characters that have to be read verbatim.  | 
              
Defines annotations that specify additional information to apply to ranges of text within the given AnnotatedString.
The AnnotatedString supports annotations that provide different kind of information, such as
- 
        
SpanStylespecifies character level styling such as color, font, letter spacing etc. - 
        
ParagraphStylefor configuring styling on a paragraph level such as line heights, text aligning, text direction etc. - 
        
LinkAnnotationto mark links in the text. - 
        
TtsAnnotationprovides information to assistive technologies such as screen readers. - 
        
Custom annotations using the
StringAnnotation.