OudsLinkAnnotation

abstract class OudsLinkAnnotation

An annotation that represents a clickable part of the text displayed by an OudsAnnotatedString.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

An annotation that contains a clickable marked with tag. When clicking on the text to which this annotation is attached, the app will trigger a linkInteractionListener listener.

Link copied to clipboard

An annotation that contains a url string. When clicking on the text to which this annotation is attached, the app will try to open the url using androidx.compose.ui.platform.UriHandler. However, if linkInteractionListener is provided, its LinkInteractionListener.onClick method will be called instead and so you need to then handle opening url manually (for example by calling androidx.compose.ui.platform.UriHandler).