Class ChannelStatusHandler
-
- All Implemented Interfaces:
public class ChannelStatusHandler extends MultiDataHandler
Channel status handler.
Note: Call stop to release resources when done.
- Since:
5.12.2
-
-
Field Summary
Fields Modifier and Type Field Description public final static MultiDataHandler.DataKey<ChannelNoDisturbLevel>KEY_GET_CONVERSATION_NOTIFICATION_STATUSpublic final static MultiDataHandler.DataKey<Boolean>KEY_GET_CONVERSATION_TOP_STATUSprotected volatile booleanisAlive
-
Constructor Summary
Constructors Constructor Description ChannelStatusHandler(ChannelIdentifier channelIdentifier)
-
Method Summary
Modifier and Type Method Description voidgetConversationNotificationStatus()Gets the conversation notification status. voidgetConversationTopStatus()Gets the conversation pinned (top) status. voidstop()Stops the handler. -
Methods inherited from class ai.nexconn.chatui.base.BaseHandler
isAlive -
Methods inherited from class ai.nexconn.chatui.base.MultiDataHandler
addDataChangeListener, notifyDataChange, notifyDataError, notifyDataError, replaceDataChangeListener -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getConversationNotificationStatus
void getConversationNotificationStatus()
Gets the conversation notification status.
-
getConversationTopStatus
void getConversationTopStatus()
Gets the conversation pinned (top) status.
-
stop
void stop()
Stops the handler.
-
-
-
-