Url
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).
Properties
Functions
Link copied to clipboard
fun copy(url: String = this.url, linkInteractionListener: LinkInteractionListener? = this.linkInteractionListener): OudsLinkAnnotation.Url
Creates a copy of this URL link with optionally modified properties.