Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.emoji2.text\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/emoji2/text/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [EmojiCompat.GlyphChecker](/reference/kotlin/androidx/emoji2/text/EmojiCompat.GlyphChecker) | Interface to check if a given emoji exists on the system. |\n| [EmojiCompat.MetadataRepoLoader](/reference/kotlin/androidx/emoji2/text/EmojiCompat.MetadataRepoLoader) | Interface to load emoji metadata. |\n| [EmojiCompat.SpanFactory](/reference/kotlin/androidx/emoji2/text/EmojiCompat.SpanFactory) | Factory class that creates the EmojiSpans. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DefaultEmojiCompatConfig](/reference/kotlin/androidx/emoji2/text/DefaultEmojiCompatConfig) | The default config will use downloadable fonts to fetch the emoji compat font file. |\n| [EmojiCompat](/reference/kotlin/androidx/emoji2/text/EmojiCompat) | Main class to keep Android devices up to date with the newest emojis by adding [EmojiSpan](/reference/kotlin/androidx/emoji2/text/EmojiSpan)s to a given [CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html). |\n| [EmojiCompat.Config](/reference/kotlin/androidx/emoji2/text/EmojiCompat.Config) | Configuration class for EmojiCompat. |\n| [EmojiCompat.InitCallback](/reference/kotlin/androidx/emoji2/text/EmojiCompat.InitCallback) | Listener class for the initialization of the EmojiCompat. |\n| [EmojiCompat.MetadataRepoLoaderCallback](/reference/kotlin/androidx/emoji2/text/EmojiCompat.MetadataRepoLoaderCallback) | Callback to inform EmojiCompat about the state of the metadata load. |\n| [EmojiCompatInitializer](/reference/kotlin/androidx/emoji2/text/EmojiCompatInitializer) | Initializer for configuring EmojiCompat with the system installed downloadable font provider. |\n| [EmojiSpan](/reference/kotlin/androidx/emoji2/text/EmojiSpan) | Base span class for the emoji replacement. |\n| [FontRequestEmojiCompatConfig](/reference/kotlin/androidx/emoji2/text/FontRequestEmojiCompatConfig) | [EmojiCompat.Config](/reference/kotlin/androidx/emoji2/text/EmojiCompat.Config) implementation that asynchronously fetches the required font and the metadata using a [FontRequest](/reference/kotlin/androidx/core/provider/FontRequest). |\n| [FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy](/reference/kotlin/androidx/emoji2/text/FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy) | A retry policy implementation that doubles the amount of time in between retries. |\n| [FontRequestEmojiCompatConfig.RetryPolicy](/reference/kotlin/androidx/emoji2/text/FontRequestEmojiCompatConfig.RetryPolicy) | Retry policy used when the font provider is not ready to give the font file. |\n| [MetadataRepo](/reference/kotlin/androidx/emoji2/text/MetadataRepo) | Class to hold the emoji metadata required to process and draw emojis. |\n| [TypefaceEmojiRasterizer](/reference/kotlin/androidx/emoji2/text/TypefaceEmojiRasterizer) | Information about a single emoji. |"]]