public abstract class

TextLinks.TextLinkSpan

extends ClickableSpan

 java.lang.Object

↳ClickableSpan

↳androidx.textclassifier.TextLinks.TextLinkSpan

Subclasses:

TextLinks.DefaultTextLinkSpan

Overview

A ClickableSpan for a TextLink.

You can implement the TextLinks.TextLinkSpan function to specify the on click behavior of the span.

Summary

Constructors
publicTextLinkSpan(TextLinks.TextLinkSpanData textLinkSpanData)

Methods
public final TextLinks.TextLinkSpanDatagetTextLinkSpanData()

Returns the data that is relevant to this span.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public TextLinkSpan(TextLinks.TextLinkSpanData textLinkSpanData)

Methods

public final TextLinks.TextLinkSpanData getTextLinkSpanData()

Returns the data that is relevant to this span.