NotificationTransport Protocol Reference
Conforms to | KaaTransport |
---|---|
Declared in | NotificationTransport.h |
– createNotificationRequest
required method
Creates a new Notification request.
- (NotificationSyncRequest *)createNotificationRequest
Return Value
New Notification request.
Discussion
Creates a new Notification request.
Declared In
NotificationTransport.h
– createEmptyNotificationRequest
required method
Creates a new empty Notification request.
- (NotificationSyncRequest *)createEmptyNotificationRequest
Return Value
New empty Notification request.
Discussion
Creates a new empty Notification request.
Declared In
NotificationTransport.h
– onNotificationResponse:
required method
Updates the state of the Notification manager according to the given response.
- (void)onNotificationResponse:(NotificationSyncResponse *)response
Parameters
response |
The response from the server. |
---|
Discussion
Updates the state of the Notification manager according to the given response.
Declared In
NotificationTransport.h
– setNotificationProcessor:
required method
Sets the given Notification processor.
- (void)setNotificationProcessor:(id<NotificationProcessor>)processor
Parameters
processor |
The Notification processor to be set. |
---|
Discussion
Sets the given Notification processor.
See Also
Declared In
NotificationTransport.h
– onSubscriptionChangedWithCommands:
required method
Notify about new subscription info.
- (void)onSubscriptionChangedWithCommands:(NSArray *)commands
Parameters
commands |
Info about subscription actions (subscribe/unsubscribe). < SubscriptionCommand > |
---|
Discussion
Notify about new subscription info.
Will be called when one either subscribes or unsubscribes on\from some optional topic(s).
Declared In
NotificationTransport.h