Package 

Object EmojiUtil


  • 
    public class EmojiUtil
    
                        

    Util used for detecting emojis inside messages.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static EmojiUtil INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final Boolean isEmojiOnly(Message message) Checks whether the message consists of emoji only.
      final Boolean isSingleEmoji(Message message) Checks whether the message consists of single emoji.
      final Integer getEmojiCount(Message message) Counts the number of emoji inside a message.
      • Methods inherited from class java.lang.Object

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

      • isEmojiOnly

         final Boolean isEmojiOnly(Message message)

        Checks whether the message consists of emoji only.

        Parameters:
        message - The message that was sent/received by user.
      • isSingleEmoji

         final Boolean isSingleEmoji(Message message)

        Checks whether the message consists of single emoji.

        Parameters:
        message - The message that was sent/received by user.
      • getEmojiCount

         final Integer getEmojiCount(Message message)

        Counts the number of emoji inside a message.