6월 3일의 ⁠#Android11: 베타 버전 출시 행사에 참여하세요.

TextLinks.SpanFactory

public static interface TextLinks.SpanFactory

androidx.textclassifier.TextLinks.SpanFactory


A factory to create spans from TextLinks.

Summary

Public methods

abstract TextLinks.TextLinkSpan createSpan(TextLinks.TextLinkSpanData textLinkSpanData)

Creates a span from a text link.

Public methods

createSpan

public abstract TextLinks.TextLinkSpan createSpan (TextLinks.TextLinkSpanData textLinkSpanData)

Creates a span from a text link.

Parameters
textLinkSpanData TextLinks.TextLinkSpanData

Returns
TextLinks.TextLinkSpan