Package ai.nexconn.chatui.notification
Class MessageNotificationHelper
-
- All Implemented Interfaces:
public class MessageNotificationHelper
-
-
Constructor Summary
Constructors Constructor Description MessageNotificationHelper()
-
Method Summary
Modifier and Type Method Description static voidupdateLevelMap(ChannelIdentifier identifier, int level)static voidupdateLevelMap(String key, int level)static voidupdateQuietHour(int level, String startTime, int spanTime, String timezone)static voidclearCache()static voidgetNotificationQuietHoursLevelLegacy(String startTime, int spanTime, Runnable onSuccess)static voidgetNotificationQuietHoursLevel(Message message)static voidgetConversationChannelNotificationLevel(Message message)static voidgetConversationNotificationLevel(Message message)static voidgetConversationTypeNotificationLevel(Message message)static voidsetPushNotifyLevelListener()Per-channel DND level updates are now handled by ChannelHandler.onChannelNoDisturbLevelSync registered in ChatUINotificationManager.init(). -
-
Method Detail
-
updateLevelMap
static void updateLevelMap(ChannelIdentifier identifier, int level)
-
updateLevelMap
static void updateLevelMap(String key, int level)
-
updateQuietHour
static void updateQuietHour(int level, String startTime, int spanTime, String timezone)
-
clearCache
static void clearCache()
-
getNotificationQuietHoursLevelLegacy
static void getNotificationQuietHoursLevelLegacy(String startTime, int spanTime, Runnable onSuccess)
-
getNotificationQuietHoursLevel
static void getNotificationQuietHoursLevel(Message message)
-
getConversationChannelNotificationLevel
static void getConversationChannelNotificationLevel(Message message)
-
getConversationNotificationLevel
static void getConversationNotificationLevel(Message message)
-
getConversationTypeNotificationLevel
static void getConversationTypeNotificationLevel(Message message)
-
setPushNotifyLevelListener
static void setPushNotifyLevelListener()
Per-channel DND level updates are now handled by ChannelHandler.onChannelNoDisturbLevelSync registered in ChatUINotificationManager.init(). Global quiet hours are refreshed via NCEngine.getNoDisturbTime() on ChannelHandler.onChannelStatusSyncCompleted.
-
-
-
-