BundledEmojiCompatConfig
public class BundledEmojiCompatConfig extends EmojiCompat.Config
| java.lang.Object | ||
| ↳ | androidx.emoji2.text.EmojiCompat.Config | |
| ↳ | androidx.emoji2.bundled.BundledEmojiCompatConfig |
EmojiCompat.Config implementation that loads the metadata using AssetManager and bundled resources.
EmojiCompat.init(new BundledEmojiCompatConfig(context));
androidx.emoji2.text.EmojiCompatInitializer. You must manually call EmojiCompat.init when using the bundled configuration.
| See also | |
|---|---|
EmojiCompat |
Summary
Public constructors |
|---|
This method is deprecated. please call BundledEmojiCompatConfig(context, executor) to control the font loading thread. |
BundledEmojiCompatConfig(Controls the executor font is loaded on. |
Inherited methods |
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
publicBundledEmojiCompatConfig(@NonNull Context context)
Font will be loaded on a new temporary Thread.