RecentEmojiProvider


public interface RecentEmojiProvider


An interface to provide recent emoji list.

Summary

Public methods

abstract @NonNull List<@NonNull String>

Returns a list of recent emojis.

abstract void

Records an emoji into recent emoji list.

Public methods

getRecentEmojiList

abstract @NonNull List<@NonNull StringgetRecentEmojiList()

Returns a list of recent emojis. Default behavior: The most recently used emojis will be displayed first. Clients could also specify the behavior such as displaying the emojis from high click frequency to low click frequency.

recordSelection

Added in 1.4.0
abstract void recordSelection(@NonNull String emoji)

Records an emoji into recent emoji list. This fun will be called when an emoji is selected. Clients could specify the behavior to record recently used emojis.(e.g. click frequency).