LinkData

data class LinkData(val link: String, val isUserOpenable: Boolean = true)

Represents an openable link, if the link is a valid URL and isUserOpenable is set to true, the user can open the link in a web browser.

Constructors

Link copied to clipboard
constructor(link: String, isUserOpenable: Boolean = true)

Functions

Link copied to clipboard

Checks if link is a valid url and isUserOpenable is set to true

Properties

Link copied to clipboard

If enable the link can be opened in a web browser by the user

Link copied to clipboard

The link to be represented