Orchestration SDK 5.10.1
Loading...
Searching...
No Matches
<NotificationRegistrationDelegate> Protocol Reference

#include <NotificationRegistrationDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - onNotificationRegistrationStepCompleteWithCommand:
 
(void) - onNotificationRegistrationSuccessWithUser:notificationIdentifier:
 

Detailed Description

The NotificationRegistrationDelegate protocol defines the specific elements required for the integrator to interact during the Notification Registration flow.

A NotificationRegistrationDelegate 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 OrchestrationProtocol#startNotificationRegistration:(NotificationRegistrationParams *)

Method Documentation

◆ onNotificationRegistrationStepCompleteWithCommand:

- (void) onNotificationRegistrationStepCompleteWithCommand: (NSString *) command

Called when a step of the notification registration process is complete. The provided orchestration command is to be sent to the server.

Parameters
commandan orchestration command that must be sent to the server

◆ onNotificationRegistrationSuccessWithUser:notificationIdentifier:

- (void) onNotificationRegistrationSuccessWithUser: (OrchestrationUser *) orchestrationUser
notificationIdentifier: (NSString *) notificationIdentifier 

Called upon notification registration success

Parameters
orchestrationUserthe user for which the notification registration was successful
notificationIdentifierthe notification identifier used for the registration

The documentation for this protocol was generated from the following file: