Interface NotificationRegistrationCallback


public interface NotificationRegistrationCallback
The NotificationRegistrationCallback interface defines the specific elements required for the integrator to interact during the Notification Registration flow.

A NotificationRegistrationCallback object should be provided to the NotificationRegistrationParams object in order to receive feedback during the notification registration process.

This flow is initiated by the client; it is started by a call to Orchestrator.startNotificationRegistration(NotificationRegistrationParams)

  • Method Details

    • onNotificationRegistrationStepComplete

      void onNotificationRegistrationStepComplete(String command)
      Called when a step of the notification registration process is complete. The provided orchestration command is to be sent to the server.
      Parameters:
      command - an orchestration command that must be sent to the server
    • onNotificationRegistrationSuccess

      void onNotificationRegistrationSuccess(OrchestrationUser orchestrationUser, String notificationIdentifier)
      Called upon notification registration success
      Parameters:
      orchestrationUser - the user for which the notification registration was successful
      notificationIdentifier - the notification identifier used for the registration