Channel Config
Configuration for the conversation (channel) screen.
Obtain the singleton instance via channelConfig.
Properties
Link copied to clipboard
public int conversationHistoryMessageCount
Link copied to clipboard
public int conversationRemoteMessageCount
Link copied to clipboard
public int conversationShowUnreadMessageCount
Link copied to clipboard
Enables multi-device unread count sync (direct and group channels only).
Link copied to clipboard
public int rc_chatroom_first_pull_message_count
Link copied to clipboard
public boolean rc_enable_automatic_download_voice_msg
Link copied to clipboard
public boolean rc_enable_mentioned_message
Link copied to clipboard
public boolean rc_enable_recall_message
Link copied to clipboard
public boolean rc_enable_resend_message
Link copied to clipboard
public boolean rc_enable_send_combine_message
Link copied to clipboard
public int rc_gifmsg_auto_download_size
Link copied to clipboard
public boolean rc_is_show_warning_notification
Link copied to clipboard
public int rc_max_message_selected_count
Link copied to clipboard
public boolean rc_media_selector_contain_video
Link copied to clipboard
public int rc_message_recall_edit_interval
Link copied to clipboard
public int rc_message_recall_interval
Link copied to clipboard
public boolean rc_play_audio_continuous
Link copied to clipboard
public int rc_read_receipt_request_interval
Functions
Link copied to clipboard
Link copied to clipboard
Inserts a click action at the specified position in the "more" actions list.
Link copied to clipboard
Adds a UI renderer to the channel fragment.
Link copied to clipboard
Returns the current channel click listener.
Link copied to clipboard
Returns the current remote-message loading strategy.
Link copied to clipboard
Returns the maximum number of history messages to show in the channel screen.
Link copied to clipboard
Returns the maximum number of messages to fetch from the remote server.
Link copied to clipboard
Returns the maximum number of unread messages to display.
Link copied to clipboard
Internal use only.
Link copied to clipboard
Link copied to clipboard
Returns the display summary spannable for a channel's latest message.
Returns the display summary spannable for a message content.
Link copied to clipboard
Returns the list of actions shown in the bottom panel when "more" is tapped after long-pressing a message.
Link copied to clipboard
Returns the set of channel types that support read receipts.
Link copied to clipboard
Returns the custom ViewModel processor, or
null if not set.Link copied to clipboard
Link copied to clipboard
Initializes this configuration from Android resource values.
Link copied to clipboard
Returns whether multi-device read status sync is enabled.
Link copied to clipboard
Returns whether read receipts are enabled.
Link copied to clipboard
Returns whether remote messages are also deleted on long-press delete.
Link copied to clipboard
Returns whether to refresh the list when it becomes empty after deleting messages.
Link copied to clipboard
Link copied to clipboard
Returns whether to show the history unread message bubble (direct and group channels only).
Link copied to clipboard
Link copied to clipboard
Returns whether to show the unread @mention count badge (group channels only).
Link copied to clipboard
Returns whether to show the new-message unread bubble (direct and group channels only).
Link copied to clipboard
Returns whether to show the read receipt indicator (direct channels only).
Link copied to clipboard
Returns whether to show the read receipt request indicator (group channels only).
Link copied to clipboard
Returns whether to show the receiver user title for the given channel type.
Link copied to clipboard
Registers icon resource mappings for file message suffixes.
Link copied to clipboard
Removes a click action from the "more" actions list.
Link copied to clipboard
Replaces an existing message item provider with a new one.
Link copied to clipboard
Sets the click event listener for the channel screen.
Link copied to clipboard
Sets the strategy for loading remote messages when entering a channel.
Link copied to clipboard
Sets the maximum number of history messages to show in the channel screen.
Link copied to clipboard
Sets the maximum number of messages to fetch from the remote server.
Link copied to clipboard
Sets the maximum number of unread messages to display.
Link copied to clipboard
Enables or disables multi-device unread count sync.
Link copied to clipboard
Enables or disables read receipts (direct and group channels only).
Link copied to clipboard
Sets whether remote messages are also deleted on long-press delete.
Link copied to clipboard
Sets whether to refresh the list when it becomes empty after deleting messages.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the channel types that support read receipts.
Link copied to clipboard
Sets a custom ViewModel processor to extend channel screen business logic.
Link copied to clipboard
Returns whether to show the sender name alongside the message summary.