CorePushNotificationHistoryManager Class Reference
Inherits from | NSObject |
Conforms to | CorePushNotificationHistoryRequestDelegate |
Declared in | CorePushNotificationHistoryManager.h CorePushNotificationHistoryManager.m |
Tasks
Other Methods
-
+ shared
シングルトンの生成
-
– requestNotificationHistory
通知履歴を取得する。 取得に成功した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerSuccess が呼ばれる。 取得に失敗した場合は CorePushNotificationHistoryManagerDelegate#notificationHistoryManagerFail が呼ばれる。
-
– setRead:
指定の履歴IDのメッセージを既読に設定する。
-
– isUnread:
指定の履歴IDのメッセージが未読であるかを判定する。
-
– getUnreadNumber
通知履歴の未読数を返す。
Other Methods
-
notificationHistoryModelArray
通知履歴を格納した CorePushNotificationHistoryModelオブジェクトの配列
property -
delegate
CorePushNotificationHistoryManagerDelegateプロトコルを実装したクラス
property
Properties
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