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));
Including the emoji2-bundled artifact disables the EmojiCompatInitializer. You must manually call EmojiCompat.init when using the bundled configuration.

See also:

Summary

Public constructors

BundledEmojiCompatConfig(Context context)

Default constructor.

Inherited methods

Public constructors

BundledEmojiCompatConfig

public BundledEmojiCompatConfig (Context context)

Default constructor.

Parameters
context Context: Context instance