BundledEmojiCompatConfig
class BundledEmojiCompatConfig : EmojiCompat.Config
| kotlin.Any | ||
| ↳ | 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 function is deprecated. please call BundledEmojiCompatConfig(context, executor) to control the font loading thread. |
BundledEmojiCompatConfig(context: Context, fontLoadExecutor: Executor)Controls the executor font is loaded on. |
Inherited functions |
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
BundledEmojiCompatConfig(context: Context)
Font will be loaded on a new temporary Thread.
| Parameters | |
|---|---|
context: Context |
Context instance |