Interface NotificationInterceptor


  • public interface NotificationInterceptor
    • Method Detail

      • onIntercept

        UnbluNotification onIntercept​(@Nullable
                                      UnbluNotification notification,
                                      UnbluNotificationTag type)
        Interceptor function that allows getting the notification before being displayed and modifying its contents

        If 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