19 #import <Foundation/Foundation.h> 35 + (instancetype)remotePushWithNotice:(BOOL)useNotice night:(BOOL)useNight;
50 @property (strong) NSString* title;
51 @property (strong) NSString* msg;
54 + (instancetype)localPushWith:(NSUInteger)noticeId after:(NSTimeInterval)after title:(NSString *)title message:(NSString *)message;
59 @interface HIVEPushSetting : NSObject <NSCopying>
61 @property BOOL useForegroundRemotePush;
62 @property BOOL useForegroundLocalPush;
64 + (instancetype)pushSettingWithRemote:(BOOL)useRemote local:(BOOL)useLocal;
101 typedef void (^HIVEPushSettingHandler) (
HIVEResultAPI *result, HIVEPushSetting *pushSetting);
177 +(void)unregisterLocalPush:(NSUInteger)noticeId;
192 +(void)setForegroundPush:(HIVEPushSetting *)setting handler:(HIVEPushSettingHandler)handler;
206 +(void)getForegroundPush:(HIVEPushSettingHandler)handler;
BOOL isAgreeNight
Whether to receive night-time notification or not.
Definition: HIVEPush.h:33
void(^ HIVERemotePushHandler)(HIVEResultAPI *result, HIVERemotePush *remotePush)
Returns information of receiving the remote push.
Definition: HIVEPush.h:83
In mobile games, push notification service provides an important method to increase the retention of ...
Definition: HIVEPush.h:117
NSTimeInterval after
Notification timer.
Definition: HIVEPush.h:52
Local push registration information.
Definition: HIVEPush.h:47
BOOL isAgreeNotice
Whether to receive announcement notification or not.
Definition: HIVEPush.h:32
API 호출에 대한 결과를 담는 클래스
Definition: HIVEResultAPI.h:25
void(^ HIVELocalPushHandler)(HIVEResultAPI *result, HIVELocalPush *localPush)
Returns information of receiving the local push.
Definition: HIVEPush.h:98
Information about the status of receiving push notification.
Definition: HIVEPush.h:30
NSUInteger noticeId
Local push notification ID.
Definition: HIVEPush.h:49