StringAnnotation
-
Cmn
value class StringAnnotation : AnnotatedString.Annotation
An AnnotatedString.Annotation class which holds a String value.
You can use it to provide a custom annotation to the AnnotatedString.
If you use the AnnotatedString.Builder methods like withAnnotation and provide a string annotation, it will be automatically wrapped into this holder class.
| See also | |
|---|---|
withAnnotation |
|
getStringAnnotations |
Summary
Public constructors |
|
|---|---|
StringAnnotation(value: String) |
Cmn
|