LinkAnnotation


Known direct subclasses
LinkAnnotation.Clickable

An annotation that contains a clickable marked with tag.

LinkAnnotation.Url

An annotation that contains a url string.


An annotation that represents a clickable part of the text.

Summary

Nested types

An annotation that contains a clickable marked with tag.

An annotation that contains a url string.

Public properties

abstract SpanStyle?

Style configuration for this link applied on top of the style when the link is focused.

Cmn
abstract SpanStyle?

Style configuration for this link applied on top of the style when the link is hovered.

Cmn
abstract LinkInteractionListener?

Interaction listener triggered when user interacts with this link.

Cmn
abstract SpanStyle?

Style configuration for this link applied on top of the style when the link is pressed.

Cmn
abstract SpanStyle?

Style configuration for this link that is always applied

Cmn

Public properties

focusedStyle

abstract val focusedStyleSpanStyle?

Style configuration for this link applied on top of the style when the link is focused.

The resulting style of the link is always a combination of all styles merged into one in the order style.merge(focusedStyle).merge(hoveredStyle).merge(pressedStyle)

hoveredStyle

abstract val hoveredStyleSpanStyle?

Style configuration for this link applied on top of the style when the link is hovered.

The resulting style of the link is always a combination of all styles merged into one in the order style.merge(focusedStyle).merge(hoveredStyle).merge(pressedStyle)

linkInteractionListener

abstract val linkInteractionListenerLinkInteractionListener?

Interaction listener triggered when user interacts with this link.

pressedStyle

abstract val pressedStyleSpanStyle?

Style configuration for this link applied on top of the style when the link is pressed.

The resulting style of the link is always a combination of all styles merged into one in the order style.merge(focusedStyle).merge(hoveredStyle).merge(pressedStyle)

style

abstract val styleSpanStyle?

Style configuration for this link that is always applied