addLink
Set a 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
A 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 a 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
A LinkAnnotation.Clickable object that stores the tag being linked to.
The inclusive starting offset of the range.
The exclusive end offset of the range.