# FeatureConfig

public class FeatureConfig

## Constructors

FeatureConfig
Link copied to clipboard
public void FeatureConfig()

## Types

SSLInterceptor
Link copied to clipboard
public interface SSLInterceptor

## Properties

audioNBEncodingBitRate
Link copied to clipboard
public int audioNBEncodingBitRate
audioWBEncodingBitRate
Link copied to clipboard
public int audioWBEncodingBitRate
groupCacheMaxCount
Link copied to clipboard
public int groupCacheMaxCount
groupMemberCacheMaxCount
Link copied to clipboard
public int groupMemberCacheMaxCount
hideEmojiButton
Link copied to clipboard
public boolean hideEmojiButton
isDestructEnable
Link copied to clipboard
public boolean isDestructEnable
isEditMessageEnable
Link copied to clipboard
public boolean isEditMessageEnable
isQuickReply
Link copied to clipboard
public MutableLiveData<Boolean> isQuickReply
isQuickReplyEnable
Link copied to clipboard
public boolean isQuickReplyEnable
isReferenceEnable
Link copied to clipboard
public boolean isReferenceEnable
isUserOnlineStatusEnable
Link copied to clipboard
public boolean isUserOnlineStatusEnable
kitMediaInterceptor
Link copied to clipboard
public KitMediaInterceptor kitMediaInterceptor
quickReplyProvider
Link copied to clipboard
public IQuickReplyProvider quickReplyProvider
rc_set_java_script_enabled
Link copied to clipboard
public boolean rc_set_java_script_enabled
rc_translation_src_language
Link copied to clipboard
public String rc_translation_src_language
rc_translation_target_language
Link copied to clipboard
public String rc_translation_target_language
rc_wipe_out_notification_message
Link copied to clipboard
public boolean rc_wipe_out_notification_message
soundInForeground
Link copied to clipboard
public boolean soundInForeground
userCacheMaxCount
Link copied to clipboard
public int userCacheMaxCount
voiceMessageType
Link copied to clipboard
public IMCenter.VoiceMessageType voiceMessageType

## Functions

enableDestruct
Link copied to clipboard
public void enableDestruct(Boolean value)
enableEditMessage
Link copied to clipboard
public void enableEditMessage(boolean value)
设置消息长按后是否支持编辑消息
enableQuickReply
Link copied to clipboard
public void enableQuickReply(IQuickReplyProvider provider)
开启快捷回复功能。需要在init 之前调用。
enableReadReceipt
Link copied to clipboard
public void enableReadReceipt(Array<ConversationType> supportedTypes)
enableReference
Link copied to clipboard
public void enableReference(Boolean value)
enableUserOnlineStatus
Link copied to clipboard
public void enableUserOnlineStatus(boolean value)
设置支持用户在线状态
getAudioNBEncodingBitRate
Link copied to clipboard
public int getAudioNBEncodingBitRate()
getAudioWBEncodingBitRate
Link copied to clipboard
public int getAudioWBEncodingBitRate()
getGroupCacheMaxCount
Link copied to clipboard
public int getGroupCacheMaxCount()
getGroupMemberCacheMaxCount
Link copied to clipboard
public int getGroupMemberCacheMaxCount()
getIsQuickReply
Link copied to clipboard
public MutableLiveData<Boolean> getIsQuickReply()
getKitImageEngine
Link copied to clipboard
public KitImageEngine getKitImageEngine()
getKitMediaInterceptor
Link copied to clipboard
public KitMediaInterceptor getKitMediaInterceptor()
getQuickReplyProvider
Link copied to clipboard
public IQuickReplyProvider getQuickReplyProvider()
getSSLInterceptor
Link copied to clipboard
public FeatureConfig.SSLInterceptor getSSLInterceptor()
getUserCacheMaxCount
Link copied to clipboard
public int getUserCacheMaxCount()
getVoiceMessageType
Link copied to clipboard
public IMCenter.VoiceMessageType getVoiceMessageType()
initConfig
Link copied to clipboard
public void initConfig(Context context)
isDestructEnable
Link copied to clipboard
public boolean isDestructEnable()
isEditMessageEnable
Link copied to clipboard
public boolean isEditMessageEnable()
获取消息长按后是否支持编辑消息
isForceUseAAC
Link copied to clipboard
@Deprecated()
public boolean isForceUseAAC()
是否强制开启了 aac 编码 5.4.
isHideEmojiButton
Link copied to clipboard
public boolean isHideEmojiButton()
是否隐藏表情按钮
isPreLoadUserCache
Link copied to clipboard
public boolean isPreLoadUserCache()
isQuickReplyEnable
Link copied to clipboard
public boolean isQuickReplyEnable()
isQuickReplyType
Link copied to clipboard
public boolean isQuickReplyType()
isReadReceiptConversationType
Link copied to clipboard
public boolean isReadReceiptConversationType(ConversationType type)
isReferenceEnable
Link copied to clipboard
public boolean isReferenceEnable()
isShowUnknownMessage
Link copied to clipboard
public boolean isShowUnknownMessage()
isShowUnknownMessageNotification
Link copied to clipboard
public boolean isShowUnknownMessageNotification()
isSoundInForeground
Link copied to clipboard
public boolean isSoundInForeground()
消息是否响铃
isUserOnlineStatusEnable
Link copied to clipboard
public boolean isUserOnlineStatusEnable()
获取是否支持用户在线状态
isVibrateInForeground
Link copied to clipboard
public boolean isVibrateInForeground()
消息是否震动
setAudioNBEncodingBitRate
Link copied to clipboard
public void setAudioNBEncodingBitRate(int audioNBEncodingBitRate)
setAudioWBEncodingBitRate
Link copied to clipboard
public void setAudioWBEncodingBitRate(int audioWBEncodingBitRate)
setForceUseAAC
Link copied to clipboard
@Deprecated()
public void setForceUseAAC(boolean forceUseAAC)
音频录音强制使用 aac 编码 5.4.
setGroupCacheMaxCount
Link copied to clipboard
public void setGroupCacheMaxCount(int groupCacheMaxCount)
setGroupMemberCacheMaxCount
Link copied to clipboard
public void setGroupMemberCacheMaxCount(int groupMemberCacheMaxCount)
setHideEmojiButton
Link copied to clipboard
public void setHideEmojiButton(boolean hideEmojiButton)
setKitImageEngine
Link copied to clipboard
public void setKitImageEngine(KitImageEngine engine)
setKitMediaInterceptor
Link copied to clipboard
public void setKitMediaInterceptor(KitMediaInterceptor kitMediaInterceptor)
setPreLoadUserCache
Link copied to clipboard
public void setPreLoadUserCache(boolean preLoadUserCache)
setShowUnknownMessage
Link copied to clipboard
public void setShowUnknownMessage(boolean showUnknownMessage)
setShowUnknownMessageNotification
Link copied to clipboard
public void setShowUnknownMessageNotification(boolean showUnknownMessageNotification)
setSoundInForeground
Link copied to clipboard
public void setSoundInForeground(boolean soundInForeground)
设置消息是否响铃
setSSLInterceptor
Link copied to clipboard
public void setSSLInterceptor(FeatureConfig.SSLInterceptor sSSLInterceptor)
setUserCacheMaxCount
Link copied to clipboard
public void setUserCacheMaxCount(int userCacheMaxCount)
setVibrateInForeground
Link copied to clipboard
public void setVibrateInForeground(boolean vibrateInForeground)
设置消息是否震动
setVoiceMessageType
Link copied to clipboard
public void setVoiceMessageType(IMCenter.VoiceMessageType type)