IChatListSummaryProvider

public interface IChatListSummaryProvider<T extends MessageContent>

Conversation List Content Summary Provider

Author

shaunak

Since

2023-08-15

Functions

Link copied to clipboard
public Spannable getSummarySpannable(Context context, Conversation conversation)
The content to be displayed in the conversation when the last message in the conversation list is of this type.
public abstract Spannable getSummarySpannable(Context context, T t)
Specifies the content to be displayed in the conversation list when the last message of a conversation is of this type.
Link copied to clipboard
public abstract boolean isSummaryType(MessageContent messageContent)
Indicates whether the message content is processed by this template.
Link copied to clipboard
public abstract boolean showSummaryWithName()
Whether to append the sender's name in the conversation.