KPNotificationDelegate Protocol Reference

Conforms to NSObject
Declared in KPNotification.h

Overview

The KPNotificationDelegate protocol defines the methods that a delegate of KPNotification should implement. This delegate implements callbacks to actions such as when a notification is shown or is dismissed.

– willPresentNotification:

Tells the delegate that a Notification will be presented.

- (void)willPresentNotification:(KPNotification *)notification

Parameters

notification

The Notification that will be presented.

Discussion

Tells the delegate that a Notification will be presented.

Declared In

KPNotification.h

– didDismissNotification:

Tells the delegate that a Notification was dismissed.

- (void)didDismissNotification:(KPNotification *)notification

Parameters

notification

The Notification that was dismissed.

Discussion

Tells the delegate that a Notification was dismissed.

Declared In

KPNotification.h

– didDismissNotificationWithClick:

Tells the delegate that a Notification was dismissed by clicking it.

- (void)didDismissNotificationWithClick:(KPNotification *)notification

Parameters

notification

The Notification that was dismissed.

Discussion

Tells the delegate that a Notification was dismissed by clicking it.

Declared In

KPNotification.h