SIKINotificationEvents Protocol Reference

Conforms to NSObject
Declared in SIKINotificationEvents.h

Overview

It is a blue print for class which handles notification events

– onRegistration: required method

This is the first method to be called when application is successfully registered with push notification platform service

- (void)onRegistration:(id<SIKIRegistration>)registration

Parameters

registration

IRegistration instance

Discussion

This is the first method to be called when application is successfully registered with push notification platform service

Declared In

SIKINotificationEvents.h

– onUnregistration: required method

This method is called when application get unregistered on the push notification platform

- (void)onUnregistration:(id<SIKIRegistration>)registration

Parameters

registration

IRegistration instance

Discussion

This method is called when application get unregistered on the push notification platform

Declared In

SIKINotificationEvents.h

– onNotification: required method

This method is called when application gets any message/notification from server

- (void)onNotification:(id<SIKIMessage>)message

Parameters

message

IMessage instance

Discussion

This method is called when application gets any message/notification from server

Declared In

SIKINotificationEvents.h

– onError: required method

This method is called if there is any error in process of registration/notification

- (void)onError:(SIKNotificationException *)notificationException

Parameters

notificationException

If any exception occur during any notification process

Discussion

This method is called if there is any error in process of registration/notification

Declared In

SIKINotificationEvents.h