HIVE SDK for iOS

Classes | Typedefs | Functions
Push

In mobile games, push notification service provides an important method to increase the retention of game users. More...

Classes

class  HIVERemotePush
 Information about the status of receiving push notification. More...
 
class  HIVELocalPush
 Local push registration information. More...
 
class  HIVEPush
 In mobile games, push notification service provides an important method to increase the retention of game users. More...
 

Typedefs

typedef void(^ HIVERemotePushHandler) (HIVEResultAPI *result, HIVERemotePush *remotePush)
 Returns information of receiving the remote push. More...
 
typedef void(^ HIVELocalPushHandler) (HIVEResultAPI *result, HIVELocalPush *localPush)
 Returns information of receiving the local push. More...
 

Functions

(void) + HIVEPush::getRemotePush:
 Request the status of receiving push notification. More...
 
(void) + HIVEPush::setRemotePush:handler:
 Set the status of receiving push notification. More...
 
(void) + HIVEPush::registerLocalPush:handler:
 Register Local push notification. More...
 
(void) + HIVEPush::unregisterLocalPush:
 Unregister Local push notification. More...
 
(void) + HIVEPush::setForegroundPush:handler:
 Set the value whether to enable push notification or not on the activated app. More...
 
(void) + HIVEPush::getForegroundPush:
 Get the value whether to enable push notification or not on the activated app. More...
 

Detailed Description

In mobile games, push notification service provides an important method to increase the retention of game users.


HIVE Push supports push notification for marketing to increase the user retention of mobile games.
HIVE Push also responds to Google's GCM, Apple's APNS, Amazon's ADM, Jpush in China with language-specific time zones to support global services.

Typedef Documentation

§ HIVELocalPushHandler

typedef void(^ HIVELocalPushHandler) (HIVEResultAPI *result, HIVELocalPush *localPush)

Returns information of receiving the local push.

Parameters
resultAPI call result
localPushLocal push registration information.

§ HIVERemotePushHandler

typedef void(^ HIVERemotePushHandler) (HIVEResultAPI *result, HIVERemotePush *remotePush)

Returns information of receiving the remote push.

Parameters
resultAPI call result
remotePushThe status of receiving push notification.

Function Documentation

§ getForegroundPush:()

+ (void) getForegroundPush: (HIVEPushSettingHandler)  handler

Get the value whether to enable push notification or not on the activated app.

Parameters
handlerPushSetting handler

§ getRemotePush:()

+ (void) getRemotePush: (HIVERemotePushHandler handler

Request the status of receiving push notification.

리모트 푸시 정보 반환

Parameters
handlerAPI call result
handlerAPI 결과 통지 리스너

§ registerLocalPush:handler:()

+ (void) registerLocalPush: (HIVELocalPush*)  localPush
handler: (HIVELocalPushHandler handler 

Register Local push notification.

로컬 푸시 등록

Parameters
localPushLocal push registration information.
handlerAPI call result
localPush로컬 푸시 등록 정보
handlerAPI 결과 통지 리스너

§ setForegroundPush:handler:()

+ (void) setForegroundPush: (HIVEPushSetting *)  setting
handler: (HIVEPushSettingHandler)  handler 

Set the value whether to enable push notification or not on the activated app.

Parameters
settingPushSetting value to set
handlerPushSetting handler

§ setRemotePush:handler:()

+ (void) setRemotePush: (HIVERemotePush*)  remotePush
handler: (HIVERemotePushHandler handler 

Set the status of receiving push notification.

리모트 푸시 정보 설정

Parameters
remotePushRemote push information.
handlerAPI call result
remotePush리모트 푸시 정보
handlerAPI 결과 통지 리스너

§ unregisterLocalPush:()

+ (void) unregisterLocalPush: (NSUInteger)  noticeId

Unregister Local push notification.

로컬 푸시 해제

Parameters
noticeIdLocal push registration ID
localPush로컬 푸시 등록 정보
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy