-
public interface ChatNotifications
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSetUser()abstract UnitsetDevice(Device device)abstract UnitonPushMessage(PushMessage message, PushNotificationReceivedListener pushNotificationReceivedListener)abstract UnitonNewMessageEvent(NewMessageEvent newMessageEvent)abstract UnitonLogout()abstract UnitdisplayNotification(Channel channel, Message message)abstract UnitonDismissNotification(Integer notificationId)abstract UnitdismissChannelNotifications(String channelType, String channelId)abstract ChatNotificationHandlergetHandler()-
-
Method Detail
-
onPushMessage
abstract Unit onPushMessage(PushMessage message, PushNotificationReceivedListener pushNotificationReceivedListener)
-
onNewMessageEvent
abstract Unit onNewMessageEvent(NewMessageEvent newMessageEvent)
-
displayNotification
abstract Unit displayNotification(Channel channel, Message message)
-
onDismissNotification
abstract Unit onDismissNotification(Integer notificationId)
-
dismissChannelNotifications
abstract Unit dismissChannelNotifications(String channelType, String channelId)
-
getHandler
abstract ChatNotificationHandler getHandler()
-
-
-
-