-
- All Implemented Interfaces:
-
kotlin.collections.Iterable
public final class EmojiPackList implements Iterable<EmojiPack>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEmojiPackList.Companion
-
Constructor Summary
Constructors Constructor Description EmojiPackList(Context context, String storageDirectory, <ERROR CLASS><EmojiPack> emojiPacks, Boolean allowPackImports)
-
Method Summary
Modifier and Type Method Description final EmojiPackget(String packId)final Booleancontains(EmojiPack pack)final IntegerindexOf(EmojiPack pack)final List<String>packIds()final EmojiPackaddCustomPack(Context context, String hash)Creates a Custom/imported emoji pack based on the given hash, adds it to the list and returns it. final UnitaddPack(EmojiPack pack, Integer index)final UnitremovePack(EmojiPack pack)Iterator<EmojiPack>iterator()-
-
Method Detail
-
addCustomPack
final EmojiPack addCustomPack(Context context, String hash)
Creates a Custom/imported emoji pack based on the given hash, adds it to the list and returns it.
- Parameters:
hash- The hash for the file containing the pack
-
removePack
final Unit removePack(EmojiPack pack)
-
-
-
-