이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

Android

Description

TUIKit supports showing "Typing..." in a one-to-one chat in the classic UI starting from version 6.5.2803.
This feature is implemented using the Online Message capability of IMSDK.
Enabling "Typing..."
Disabling "Typing..."



Disabling "Typing..."

In the TUIChat component, within the GeneralConfig.java file, a switch for the "Typing..." feature, named enableTypingStatus, is provided. Its type is boolean, with a default value of true.
public class GeneralConfig {
private boolean enableTypingStatus = true;
}
To disable the typing indicator feature, simply change the default value of enableTypingStatus to false, or call the following method before initializing the chat page.
TUIChatConfigs.getConfigs().getGeneralConfig().setEnableTypingStatus(false);

FAQs

Why is there no prompt for typing after the switch is turned on?

The rule for showing "Typing..." in a one-to-one chat is: the other party has sent you a message within the last 30 seconds and is currently typing.

Exchange and Feedback

Join the Telegram technical exchange group or WhatsApp discussion group, benefit from the support of professional engineers, and solve your toughest challenges.