package

androidx.emoji2.text

Interfaces

EmojiCompat.GlyphCheckerInterface to check if a given emoji exists on the system.
EmojiCompat.MetadataRepoLoaderInterface to load emoji metadata.
EmojiCompat.SpanFactoryFactory class that creates the EmojiSpans.

Classes

DefaultEmojiCompatConfigThe default config will use downloadable fonts to fetch the emoji compat font file.
DefaultEmojiCompatConfig.DefaultEmojiCompatConfigFactoryActual factory for generating default emoji configs, does service locator lookup internally.
DefaultEmojiCompatConfig.DefaultEmojiCompatConfigHelper
DefaultEmojiCompatConfig.DefaultEmojiCompatConfigHelper_API28Helper to lookup signatures in package manager > API 28
EmojiCompatMain class to keep Android devices up to date with the newest emojis by adding EmojiSpans to a given java.lang.CharSequence.
EmojiCompat.ConfigConfiguration class for EmojiCompat.
EmojiCompat.DefaultSpanFactory
EmojiCompat.InitCallbackListener class for the initialization of the EmojiCompat.
EmojiCompat.MetadataRepoLoaderCallbackCallback to inform EmojiCompat about the state of the metadata load.
EmojiCompatInitializerInitializer for configuring EmojiCompat with the system installed downloadable font provider.
EmojiDefaultsDefaults for emojicompat
EmojiMetadataInformation about a single emoji.
EmojiSpanBase span class for the emoji replacement.
FontRequestEmojiCompatConfigEmojiCompat.Config implementation that asynchronously fetches the required font and the metadata using a FontRequest.
FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicyA retry policy implementation that doubles the amount of time in between retries.
FontRequestEmojiCompatConfig.FontProviderHelperDelegate class for mocking FontsContractCompat.fetchFonts.
FontRequestEmojiCompatConfig.RetryPolicyRetry policy used when the font provider is not ready to give the font file.
MetadataRepoClass to hold the emoji metadata required to process and draw emojis.
SpannableBuilderWhen setSpan functions is called on EmojiSpannableBuilder, it checks if the mObject is instance of the DynamicLayout$ChangeWatcher.
TypefaceEmojiRasterizerInformation about a single emoji.
TypefaceEmojiSpanEmojiSpan subclass used to render emojis using Typeface.

Annotation Types

EmojiCompat.CodepointSequenceMatchResult
EmojiCompat.LoadStrategy
EmojiCompat.ReplaceStrategy
EmojiMetadata.HasGlyphDefines whether the system can render the emoji.
TypefaceEmojiRasterizer.HasGlyphDefines whether the system can render the emoji.