EmojiViewItem


public final class EmojiViewItem


EmojiViewItem is a class holding the displayed emoji and its emoji variants

Summary

Public constructors

Public methods

final @NonNull String

Used to represent the displayed emoji of the EmojiViewItem.

final @NonNull List<@NonNull String>

Used to represent the corresponding emoji variants of this base emoji.

Public constructors

EmojiViewItem

Added in 1.4.0
public EmojiViewItem(@NonNull String emoji, @NonNull List<@NonNull String> variants)
Parameters
@NonNull String emoji

Used to represent the displayed emoji of the EmojiViewItem.

@NonNull List<@NonNull String> variants

Used to represent the corresponding emoji variants of this base emoji.

Public methods

getEmoji

Added in 1.4.0
public final @NonNull String getEmoji()

Used to represent the displayed emoji of the EmojiViewItem.

getVariants

Added in 1.4.0
public final @NonNull List<@NonNull StringgetVariants()

Used to represent the corresponding emoji variants of this base emoji.