Conforms to NSObject
Declared in CPManager.h

Overview

CPManagerクラスのデリゲートメソッドを定義したプロトコル

Tasks

  • – handleBackgroundNotification:

    アプリがバックグランドで動作中に通知からアプリを起動した時に CPManager#handleRemoteNotification から呼び出されます。

  • – handleForegroundNotifcation:

    アプリがフォアグランドで動作中に通知を受信した時に CPManager#handleRemoteNotification から呼び出されます。

  • – handleLaunchingNotification:

    アプリのプロセスが起動していない状態で通知からアプリを起動した時に CPManager#handleLaunchingNotificationWithOption から呼び出されます。

Instance Methods

handleBackgroundNotification:

アプリがバックグランドで動作中に通知からアプリを起動した時に CPManager#handleRemoteNotification から呼び出されます。

- (void)handleBackgroundNotification:(NSDictionary *)userInfo

Parameters

userInfo

通知情報を含むオブジェクト

Declared In

CPManager.h

handleForegroundNotifcation:

アプリがフォアグランドで動作中に通知を受信した時に CPManager#handleRemoteNotification から呼び出されます。

- (void)handleForegroundNotifcation:(NSDictionary *)userInfo

Parameters

userInfo

通知情報を含むオブジェクト

Declared In

CPManager.h

handleLaunchingNotification:

アプリのプロセスが起動していない状態で通知からアプリを起動した時に CPManager#handleLaunchingNotificationWithOption から呼び出されます。

- (void)handleLaunchingNotification:(NSDictionary *)userInfo

Parameters

userInfo

通知情報を含むオブジェクト

Declared In

CPManager.h