Interface NotificationService


  • public interface NotificationService
    Used to send a notification through the bank, to a subscriber that has a bankId. One example is a bank client on a bank's mobile app, (as opposed to being on a Token mobile app). Subscriber contains information on how to send the notification (target, platform, etc).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void notify​(io.token.proto.common.notification.NotificationProtos.Notification notification, io.token.proto.common.subscriber.SubscriberProtos.Subscriber subscriber)
      Initiates a notification to the given subscriber.
    • Method Detail

      • notify

        void notify​(io.token.proto.common.notification.NotificationProtos.Notification notification,
                    io.token.proto.common.subscriber.SubscriberProtos.Subscriber subscriber)
        Initiates a notification to the given subscriber.
        Parameters:
        notification - Notification to send
        subscriber - Subscriber to send the notification to