Package io.smooch.ui
Class NotificationController
- java.lang.Object
-
- io.smooch.ui.NotificationController
-
public class NotificationController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NotificationController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
triggerNotification(android.content.Context context, java.lang.String conversationId, Message message)
Triggers a Smooch notification, which will open intent from resource Smooch_settings_notificationIntent on tap.
-
-
-
Method Detail
-
triggerNotification
public static void triggerNotification(android.content.Context context, java.lang.String conversationId, Message message)
Triggers a Smooch notification, which will open intent from resource Smooch_settings_notificationIntent on tap. The notification will use provided message's avatarUrl as source for the icon.- Parameters:
context
- The context from which to trigger the notificationmessage
- The message from which to trigger the notification
-
-