Package com.unblu.sdk.core.notification
Interface NotificationInterceptor
-
public interface NotificationInterceptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnbluNotification
onIntercept(UnbluNotification notification, UnbluNotificationTag type)
Interceptor function that allows getting the notification before being displayed and modifying its contents
-
-
-
Method Detail
-
onIntercept
UnbluNotification onIntercept(@Nullable UnbluNotification notification, UnbluNotificationTag type)
Interceptor function that allows getting the notification before being displayed and modifying its contentsIf null is passed, no notification will be shown
This interceptor will not work for push notifications, only for local
- Parameters:
notification
- The intercepted notification.type
- The intercepted notification type- Returns:
UnbluNotification
-
-