-
public class NotificationHandlerFactoryFactory for default NotificationHandler. Use it to customize an intent the user triggers when clicking on a notification.
-
-
Field Summary
Fields Modifier and Type Field Description public final static NotificationHandlerFactoryINSTANCE
-
Method Summary
Modifier and Type Method Description final NotificationHandlercreateNotificationHandler(Context context, Function3<String, String, String, Intent> newMessageIntent, Function0<NotificationChannel> notificationChannel)Method that creates a NotificationHandler. -
-
Method Detail
-
createNotificationHandler
final NotificationHandler createNotificationHandler(Context context, Function3<String, String, String, Intent> newMessageIntent, Function0<NotificationChannel> notificationChannel)
Method that creates a NotificationHandler.
- Parameters:
context- The Context to build the NotificationHandler with.newMessageIntent- Lambda expression used to generate an Intent to open your appnotificationChannel- Lambda expression used to generate a NotificationChannel.
-
-
-
-