-
public class EmojiPackHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static EmojiPackHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit,Boolean)>init(Context context, <ERROR CLASS><EmojiPack> emojiPacks, Boolean allowPackImports)Initializes the helper. final static Unit,Boolean)>init(Context context, <ERROR CLASS><EmojiPack> emojiPacks)Initializes the helper. final static Unit,Boolean)>init(Context context)Initializes the helper. final Unitreset(Context context)Reloads the currently set emoji configuration. -
-
Method Detail
-
init
@JvmOverloads() final static Unit ,Boolean)>init(Context context, <ERROR CLASS><EmojiPack> emojiPacks, Boolean allowPackImports)
Initializes the helper. The EmojiPackList.defaultList will be created including the packs given as a parameter (plus system default and any imported packs). If the list is empty and the EmojiPackList.defaultList already exists, it will not be overridden.
One of these ,Boolean)>init-functions should be called to set up EmojiCompat with this pack management.
- Parameters:
context- Can be the Application Context, etc.emojiPacks- A list of the emoji packs you want to add hardcoded.
-
init
@JvmOverloads() final static Unit ,Boolean)>init(Context context, <ERROR CLASS><EmojiPack> emojiPacks)
Initializes the helper. The EmojiPackList.defaultList will be created including the packs given as a parameter (plus system default and any imported packs). If the list is empty and the EmojiPackList.defaultList already exists, it will not be overridden.
One of these ,Boolean)>init-functions should be called to set up EmojiCompat with this pack management.
- Parameters:
context- Can be the Application Context, etc.emojiPacks- A list of the emoji packs you want to add hardcoded.
-
init
@JvmOverloads() final static Unit ,Boolean)>init(Context context)
Initializes the helper. The EmojiPackList.defaultList will be created including the packs given as a parameter (plus system default and any imported packs). If the list is empty and the EmojiPackList.defaultList already exists, it will not be overridden.
One of these ,Boolean)>init-functions should be called to set up EmojiCompat with this pack management.
- Parameters:
context- Can be the Application Context, etc.
-
reset
final Unit reset(Context context)
Reloads the currently set emoji configuration. Note: This assumes that EmojiPackList.defaultList has already been created!
- Parameters:
context- Can be the Application Context, etc.
-
-
-
-