copy

fun copy(url: String = this.url, linkInteractionListener: LinkInteractionListener? = this.linkInteractionListener): OudsLinkAnnotation.Url

Creates a copy of this URL link with optionally modified properties.

Return

A new Url instance with the specified properties.

Parameters

url

The URL for the new link. Defaults to the current URL.

linkInteractionListener

The interaction listener for the new link. Defaults to the current listener.