Inherits from NSObject
Conforms to CorePushNotificationHistoryRequestDelegate
Declared in CorePushNotificationHistoryManager.h
CorePushNotificationHistoryManager.m

Overview

通知履歴のマネージャークラス

Tasks

Other Methods

  • + shared

    シングルトンの生成

  • – requestNotificationHistory

    通知履歴を取得する。 取得に成功した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerSuccess が呼ばれる。 取得に失敗した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerFail が呼ばれる。

  • – setRead:

    指定の履歴IDのメッセージを既読に設定する。

  • – isUnread:

    指定の履歴IDのメッセージが未読であるかを判定する。

  • – getUnreadNumber

    通知履歴の未読数を返す。

Other Methods

  •   notificationHistoryModelArray

    通知履歴を格納した CorePushNotificationHistoryModelオブジェクトの配列

    property
  •   delegate

    CorePushNotificationHistoryManagerDelegateプロトコルを実装したクラス

    property

Properties

delegate

CorePushNotificationHistoryManagerDelegateプロトコルを実装したクラス

@property (nonatomic, assign) id<CorePushNotificationHistoryManagerDelegate> delegate

Declared In

CorePushNotificationHistoryManager.h

notificationHistoryModelArray

通知履歴を格納した CorePushNotificationHistoryModelオブジェクトの配列

@property (nonatomic, retain) NSMutableArray *notificationHistoryModelArray

Declared In

CorePushNotificationHistoryManager.h

Class Methods

shared

シングルトンの生成

+ (id)shared

Declared In

CorePushNotificationHistoryManager.h

Instance Methods

getUnreadNumber

通知履歴の未読数を返す。

- (int)getUnreadNumber

Declared In

CorePushNotificationHistoryManager.h

isUnread:

指定の履歴IDのメッセージが未読であるかを判定する。

- (BOOL)isUnread:(NSString *)historyId

Parameters

historyId

履歴ID

Declared In

CorePushNotificationHistoryManager.h

requestNotificationHistory

通知履歴を取得する。 取得に成功した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerSuccess が呼ばれる。 取得に失敗した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerFail が呼ばれる。

- (void)requestNotificationHistory

Declared In

CorePushNotificationHistoryManager.h

setRead:

指定の履歴IDのメッセージを既読に設定する。

- (void)setRead:(NSString *)historyId

Parameters

historyId

履歴ID

Declared In

CorePushNotificationHistoryManager.h