Feature Config
Feature flag configuration for the ChatUI SDK.
Obtain the singleton instance via featureConfig.
Types
Properties
Link copied to clipboard
public int audioNBEncodingBitRate
Link copied to clipboard
public int audioWBEncodingBitRate
Link copied to clipboard
public int groupCacheMaxCount
Link copied to clipboard
public int groupMemberCacheMaxCount
Link copied to clipboard
public boolean hideEmojiButton
Link copied to clipboard
public boolean isEditMessageEnable
Link copied to clipboard
public MutableLiveData<Boolean> isQuickReply
Link copied to clipboard
public boolean isQuickReplyEnable
Link copied to clipboard
public boolean isReferenceEnable
Link copied to clipboard
public boolean isUserOnlineStatusEnable
Link copied to clipboard
public IQuickReplyProvider quickReplyProvider
Link copied to clipboard
public boolean rc_set_java_script_enabled
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public boolean rc_wipe_out_notification_message
Link copied to clipboard
public boolean soundInForeground
Link copied to clipboard
public int userCacheMaxCount
Link copied to clipboard
Functions
Link copied to clipboard
Enables or disables message editing on long-press.
Link copied to clipboard
Enables the quick-reply feature.
Link copied to clipboard
Enables read receipts for the specified channel types.
Link copied to clipboard
Enables or disables the message reference (quote) feature.
Link copied to clipboard
Enables or disables user online status display.
Link copied to clipboard
Returns the AMR-NB voice encoding bit rate (bps).
Link copied to clipboard
Returns the AMR-WB voice encoding bit rate (bps).
Link copied to clipboard
Returns the active image engine.
Link copied to clipboard
Returns the media interceptor, or
null if not set.Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a LiveData that tracks whether quick-reply is enabled.
Link copied to clipboard
Returns the quick-reply content provider, or
null if not set.Link copied to clipboard
Returns the SSL interceptor, or
null if not set.Link copied to clipboard
Link copied to clipboard
Returns the current voice message type.
Link copied to clipboard
Initializes this configuration from Android resource values.
Link copied to clipboard
Returns whether message editing on long-press is enabled.
Link copied to clipboard
Returns whether AAC encoding is forced.
Link copied to clipboard
Returns whether the emoji button is hidden.
Link copied to clipboard
Link copied to clipboard
Returns whether the quick-reply feature is enabled.
Link copied to clipboard
Returns an observable for the quick-reply enabled state.
Link copied to clipboard
Returns whether read receipts are enabled for the given channel type.
Link copied to clipboard
Returns whether the message reference (quote) feature is enabled.
Link copied to clipboard
Returns whether unknown message types should be displayed with a fallback view.
Link copied to clipboard
Returns whether an unknown message type should generate a notification.
Link copied to clipboard
Returns whether to play a sound on new messages while in the foreground.
Link copied to clipboard
Returns whether user online status display is enabled.
Link copied to clipboard
Returns whether to vibrate on new messages while in the foreground.
Link copied to clipboard
Sets the AMR-NB voice encoding bit rate (bps).
Link copied to clipboard
Sets the AMR-WB voice encoding bit rate (bps).
Link copied to clipboard
Sets a custom image engine.
Link copied to clipboard
Sets a media interceptor for customizing Glide and WebView loading.
Link copied to clipboard
No-op since 5.4.1.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Shows or hides the emoji button in the input bar.
Link copied to clipboard
Link copied to clipboard
Sets whether unknown message types should be displayed with a fallback view.
Link copied to clipboard
Sets whether an unknown message type should generate a notification.
Link copied to clipboard
Sets whether to play a sound on new messages while in the foreground.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets whether to vibrate on new messages while in the foreground.
Link copied to clipboard
Sets the voice message type.