Class MentionedInfo

    • Constructor Detail

      • MentionedInfo

        MentionedInfo()
      • MentionedInfo

        MentionedInfo(Parcel in)
    • Method Detail

      • getMentionedContent

         String getMentionedContent()

        Specifies the content displayed in the notification bar when a push notification or background @ message is received. If NULL, the default format will be displayed (e.g., Someone mentioned you).

        Returns:

        The content displayed in the notification bar when a push notification or background @ message is received. If NULL, the default format will be displayed (e.g., Someone mentioned you).

      • setMentionedContent

         void setMentionedContent(String content)

        Sets the content displayed in the notification bar when a push notification or background @ message is received. If NULL, the default format is displayed (Someone @ you).

        Parameters:
        content - The content displayed in the notification bar when a push notification or background @ message is received.
      • getMentionedUserIdList

         List<String> getMentionedUserIdList()

        Retrieves the list of users mentioned in @ messages. If @ is used for specific users, userIdList cannot be empty; if @ is used for everyone, userIdList should be NULL.

        Returns:

        The list of users mentioned in @ messages. If @ is used for specific users, userIdList cannot be empty; if @ is used for everyone, userIdList should be NULL.

      • setMentionedUserIdList

         void setMentionedUserIdList(List<String> userList)

        Sets the user list for @mentions. If mentioning specific users, userIdList cannot be empty; if mentioning all users, pass NULL for userIdList.

        Parameters:
        userList - The user list for @mentions.