FeatureConfig

public class FeatureConfig

Global Configuration Settings

Author

shaunak

Since

2023-08-15

Types

Link copied to clipboard
public enum LanguageType
Language Type
Link copied to clipboard
public enum ThemeMode
Topic Type

Properties

Link copied to clipboard
public int groupCacheMaxCount
*Group Cache Maximum Count**
Link copied to clipboard
Maximum count of group member cache
Link copied to clipboard
public boolean isReadReceiptEnabled
// Whether to enable read receipt
Link copied to clipboard
public boolean isTurnOnMentionEveryone
Whether to enable the 'Notify All' feature
Link copied to clipboard
public int userCacheMaxCount
Maximum user cache count

Functions

Link copied to clipboard
public HashMap<String, Integer> getFileSuffixTypes()
For internal use only, clients should not call this method.
Link copied to clipboard
public int getGroupCacheMaxCount()
Link copied to clipboard
Link copied to clipboard
public IKitImageEngine getKitImageEngine()
Get the image loading engine
Link copied to clipboard
Get the current language type
Link copied to clipboard
public PageUnacceptableListener getPageUnacceptableListener()
Link copied to clipboard
public PermissionInterceptor getPermissionInterceptor()
Link copied to clipboard
Get the theme mode
Link copied to clipboard
public UnacceptableListener getUnacceptableListener()
Link copied to clipboard
public int getUserCacheMaxCount()
Link copied to clipboard
public boolean isReadReceiptEnabled()
Whether to enable read receipts
Link copied to clipboard
public boolean isTurnOnMentionEveryone()
Whether to enable reminders for all members
Link copied to clipboard
public void registerFileSuffixTypes(HashMap<String, Integer> map)
Register the ICON configuration list for file message suffix types
Link copied to clipboard
public void setGroupCacheMaxCount(int groupCacheMaxCount)
Link copied to clipboard
public void setGroupMemberCacheMaxCount(int groupMemberCacheMaxCount)
Link copied to clipboard
public void setKitImageEngine(IKitImageEngine engine)
Set Image Loading Engine
Link copied to clipboard
Set Voice Type
Link copied to clipboard
public void setPageUnacceptableListener(PageUnacceptableListener mPageUnacceptableListener)
Link copied to clipboard
public void setPermissionInterceptor(PermissionInterceptor mPermissionInterceptor)
Link copied to clipboard
public void setReadReceiptEnabled(boolean state)
Sets whether to enable read receipts
Link copied to clipboard
Set theme mode
Link copied to clipboard
public void setTurnOnMentionEveryone(boolean turnOnMentionEveryone)
Sets whether to enable the mention everyone feature
Link copied to clipboard
public void setUnacceptableListener(UnacceptableListener listener)
Link copied to clipboard
public void setUserCacheMaxCount(int userCacheMaxCount)