SIKINotification Protocol Reference

Conforms to NSObject
Declared in SIKINotification.h

Overview

It is a blue print for classes which handle the push notification It exposes APIs to handle push notification such as do registration, do unregistraton

– doRegistration required method

Do registration

This is used when application wants to register for push notification platform service

- (void)doRegistration

Discussion

Do registration

This is used when application wants to register for push notification platform service

Declared In

SIKINotification.h

– doUnregistration required method

Do unregistration

This is used when application wants to unregister for push notification platform service

- (void)doUnregistration

Discussion

Do unregistration

This is used when application wants to unregister for push notification platform service

Declared In

SIKINotification.h

– onRegistration: required method

This is called when application is successfully registred for push notification service

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

Parameters

registration

Registration instance

Discussion

This is called when application is successfully registred for push notification service

Declared In

SIKINotification.h

– onUnregistration: required method

This is called when application is successfully unregistred for push notification service @param registration

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

Discussion

This is called when application is successfully unregistred for push notification service @param registration

Declared In

SIKINotification.h

– onNotification: required method

This is called when any notification is recevied from push notification service

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

Parameters

message

Message

Discussion

This is called when any notification is recevied from push notification service

Declared In

SIKINotification.h

– onError: required method

This is called when there is any exception while handing push notification

- (void)onError:(SIKNotificationException *)notificationException

Parameters

notificationException

NotificationException instance

Discussion

This is called when there is any exception while handing push notification

Declared In

SIKINotification.h