Class MentionedInfo

    • Constructor Detail

      • MentionedInfo

        MentionedInfo()
      • MentionedInfo

        MentionedInfo(Parcel in)
    • Method Detail

      • getMentionedContent

         String getMentionedContent()

        获取推送或者后台收到 @ 消息时, 通知栏显示的内容。如果是 NULL, 则按默认格式显示(有人 @ 你)。

        Returns:

        推送或者后台收到 @ 消息时, 通知栏显示的内容。如果是 NULL, 则按默认格式显示(有人 @ 你)。

      • setMentionedContent

         void setMentionedContent(String content)

        设置推送或者后台收到 @ 消息时, 通知栏显示的内容。如果是 NULL, 则按默认格式显示(有人 @ 你)。

        Parameters:
        content - 推送或者后台收到 @ 消息时, 通知栏显示的内容。如果是 NULL, 则按默认格式显示(有人 @ 你)。
      • getMentionedUserIdList

         List<String> getMentionedUserIdList()

        获取 @ 消息用户列表。如果是 @ 部分人,userIdList 不能为空;如果是 @ 所有人,userIdList 传 NULL 即可。

        Returns:

        @ 消息用户列表。如果是 @ 部分人,userIdList 不能为空;如果是 @ 所有人,userIdList 传 NULL 即可。

      • setMentionedUserIdList

         void setMentionedUserIdList(List<String> userList)

        设置 @ 消息用户列表。如果是 @ 部分人,userIdList 不能为空;如果是 @ 所有人,userIdList 传 NULL 即可。

        Parameters:
        userList - @ 消息用户列表。如果是 @ 部分人,userIdList 不能为空;如果是 @ 所有人,userIdList 传 NULL 即可。