-
public interface EmojiPackDeletionListenerUsed when an emoji pack should be deleted
-
-
Method Summary
Modifier and Type Method Description abstract UnitonDeleted(Context context, DeletableEmojiPack pack, Integer oldIndex)Called when the timeout is over and the emoji pack actually needs to be deleted. abstract UnitonDeletionScheduled(Context context, DeletableEmojiPack pack, Long timeToDeletion)Called when the given emoji pack is about to be deleted, although deletion may still be cancelled. abstract UnitonDeleteCancelled(Context context, DeletableEmojiPack pack)Called when deletion for the given emoji pack is canceled. -
-
Method Detail
-
onDeleted
abstract Unit onDeleted(Context context, DeletableEmojiPack pack, Integer oldIndex)
Called when the timeout is over and the emoji pack actually needs to be deleted.
- Parameters:
pack- The pack to be deletedoldIndex- The index the pack had in the de.c1710.filemojicompat_ui.helpers.EmojiPackList, or -1 if it hasn't been removed from there
-
onDeletionScheduled
abstract Unit onDeletionScheduled(Context context, DeletableEmojiPack pack, Long timeToDeletion)
Called when the given emoji pack is about to be deleted, although deletion may still be cancelled.
- Parameters:
timeToDeletion- The time in ms how long it will take until the pack gets deleted (i.e.
-
onDeleteCancelled
abstract Unit onDeleteCancelled(Context context, DeletableEmojiPack pack)
Called when deletion for the given emoji pack is canceled. In this case, onDeleted will not be called
-
-
-
-