public class

EmojiCompat.DefaultSpanFactory

extends java.lang.Object

implements EmojiCompat.SpanFactory

 java.lang.Object

↳androidx.emoji2.text.EmojiCompat.DefaultSpanFactory

Summary

Constructors
publicDefaultSpanFactory()

Methods
public EmojiSpancreateSpan(TypefaceEmojiRasterizer rasterizer)

Returns a TypefaceEmojiSpan.

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

Constructors

public DefaultSpanFactory()

Methods

public EmojiSpan createSpan(TypefaceEmojiRasterizer rasterizer)

Returns a TypefaceEmojiSpan.

Parameters:

rasterizer: TypefaceEmojiRasterizer instance, which can draw the emoji onto a Canvas.

Returns:

TypefaceEmojiSpan