Class AndroidEmoji

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AndroidEmoji()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void init(Context context)
      static List<AndroidEmoji.EmojiInfo> getEmojiList()
      static List<String> getEmojiUnicodeList() 按表情资源(rc_emoji.xml)定义顺序返回全部 emoji 的 unicode 字符串。 输出与输入框表情面板的数量、排序完全一致,供消息回应默认表情库复用,避免两套表情数据脱节。 复用 getEmojiString 的取值逻辑,因此带变体选择符的符号(如 ❤️)已是含 \\uFE0F 的全限定写法, 可直接作为跨端回应标识。init 未调用时返回空列表。
      static int getEmojiSize()
      static int getEmojiCode(int index)
      static Drawable getEmojiDrawable(Context context, int index)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidEmoji

        AndroidEmoji()
    • Method Detail

      • init

         static void init(Context context)
      • getEmojiList

         static List<AndroidEmoji.EmojiInfo> getEmojiList()
      • getEmojiUnicodeList

         static List<String> getEmojiUnicodeList()

        按表情资源(rc_emoji.xml)定义顺序返回全部 emoji 的 unicode 字符串。

        输出与输入框表情面板的数量、排序完全一致,供消息回应默认表情库复用,避免两套表情数据脱节。 复用 getEmojiString 的取值逻辑,因此带变体选择符的符号(如 ❤️)已是含 \\uFE0F 的全限定写法, 可直接作为跨端回应标识。init 未调用时返回空列表。

      • getEmojiDrawable

         static Drawable getEmojiDrawable(Context context, int index)