package

androidx.emoji2.text

Interfaces

EmojiCompat.GlyphCheckerInterface to check if a given emoji exists on the system.
EmojiCompat.MetadataRepoLoaderInterface to load emoji metadata.

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.DefaultEmojiCompatConfigHelperHelper to lookup signatures in package manager.
DefaultEmojiCompatConfig.DefaultEmojiCompatConfigHelper_API19Actually do lookups > API 19
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.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.
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.