ChannelListConfig

public class ChannelListConfig

Configuration for the channel-list screen.

Obtain the singleton instance via channelListConfig.

Constructors

Link copied to clipboard
public void ChannelListConfig()

Properties

Link copied to clipboard
public int delayRefreshTime

Functions

Link copied to clipboard
Returns the number of conversations loaded per page.
Link copied to clipboard
public DataProcessor<BaseChannel> getDataProcessor()
Returns the current data processor for the channel list.
Link copied to clipboard
public int getDelayRefreshTime()
Returns the refresh delay (ms) after receiving a message.
Link copied to clipboard
public ChannelListBehaviorListener getListener()
Returns the current behavior listener.
Link copied to clipboard
public ProviderManager<BaseUiChannel> getProviderManager()
Returns the provider manager for the channel list.
Link copied to clipboard
public void initConfig(Context context)
Initializes this configuration from Android resource values.
Link copied to clipboard
Returns whether high-quality voice messages are downloaded automatically.
Link copied to clipboard
public boolean isEnableConnectStateNotice()
Returns whether the connection-state notification banner is enabled.
Link copied to clipboard
public boolean isTopPriority()
Returns whether top-priority channels always appear first in the list.
Link copied to clipboard
public void setBehaviorListener(ChannelListBehaviorListener listener)
Sets the behavior listener for the channel-list screen.
Link copied to clipboard
public void setConversationListProvider(ProviderManager<BaseUiChannel> providerManager)
Replaces the provider manager for the channel list.
Link copied to clipboard
public void setConversationProvider(ConversationListProvider provider)
Adds a conversation list view provider.
Link copied to clipboard
public void setCountPerPage(int count)
Sets the number of conversations to load per page.
Link copied to clipboard
public void setDataProcessor(BaseDataProcessor<BaseChannel> dataFilter)
Sets a custom data processor for filtering and gathering channels.
@Deprecated()
public void setDataProcessor(DataProcessor<BaseChannel> dataFilter)
Sets the data processor.
Link copied to clipboard
public void setDelayRefreshTime(int delayRefreshTime)
Sets the refresh delay (ms) after receiving a message.
Link copied to clipboard
public void setEnableAutomaticDownloadHQVoice(boolean enable)
Enables or disables automatic download of high-quality voice messages.
Link copied to clipboard
public void setTopPriority(boolean topPriority)
Sets whether top-priority channels always appear first.