addLink
Set an OudsLinkAnnotation.Url for the given range defined by start and end.
When clicking on the text in range, the corresponding URL from the url annotation will be opened using androidx.compose.ui.platform.UriHandler.
URLs may be treated specially by screen readers, including being identified while reading text with an audio icon or being summarized in a links menu.
Parameters
An OudsLinkAnnotation.Url object that stores the URL being linked to.
The inclusive starting offset of the range.
The exclusive end offset of the range.
Set an OudsLinkAnnotation.Clickable for the given range defined by start and end.
When clicking on the text in range, a LinkInteractionListener will be triggered with the clickable object.
Clickable link may be treated specially by screen readers, including being identified while reading text with an audio icon or being summarized in a links menu.
Parameters
An OudsLinkAnnotation.Clickable object that stores the tag being linked to.
The inclusive starting offset of the range.
The exclusive end offset of the range.