HIVE SDK for Android

Classes | Functions
Push

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

Classes

class  com.hive.Push.RemotePush
 Remote push notification information. More...
 
class  com.hive.Push.LocalPush
 Local push notification information. More...
 
class  com.hive.Push
 In mobile games, push notification service is used as an important method to increase the retention of game users. More...
 

Functions

static void com.hive.Push.getRemotePush (RemotePushListener listener)
 Request information of receiving the remote push notification. More...
 
static void com.hive.Push.setRemotePush (RemotePush remotePush, RemotePushListener listener)
 Set information of the remote push notification. More...
 
static void com.hive.Push.registerLocalPush (LocalPush localPush, LocalPushListener listener)
 Register a local push notification. More...
 
static void com.hive.Push.unregisterLocalPush (int noticeID)
 Unregister a local push notification. More...
 
void com.hive.Push.RemotePushListener.onPushToken (ResultAPI result, RemotePush remotePush)
 Returns information of receiving the remote push. More...
 
void com.hive.Push.LocalPushListener.onRegisterLocalPush (ResultAPI result, LocalPush localPush)
 Returns information of receiving the local push. More...
 

Detailed Description

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

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

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

4.0.0
Author
ryuvsken


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

Function Documentation

§ getRemotePush()

static void com.hive.Push.getRemotePush ( RemotePushListener  listener)
static

Request information of receiving the remote push notification.

Parameters
listenerAPI call result listener

§ onPushToken()

void com.hive.Push.RemotePushListener.onPushToken ( ResultAPI  result,
RemotePush  remotePush 
)

Returns information of receiving the remote push.

Parameters
resultAPI call result
remotePushthe status of receiving the push

§ onRegisterLocalPush()

void com.hive.Push.LocalPushListener.onRegisterLocalPush ( ResultAPI  result,
LocalPush  localPush 
)

Returns information of receiving the local push.

Parameters
resultAPI call result
localPushthe status of receiving the push

§ registerLocalPush()

static void com.hive.Push.registerLocalPush ( LocalPush  localPush,
LocalPushListener  listener 
)
static

Register a local push notification.

Parameters
localPushLocal push notification info.
listenerAPI call result listener

§ setRemotePush()

static void com.hive.Push.setRemotePush ( RemotePush  remotePush,
RemotePushListener  listener 
)
static

Set information of the remote push notification.

Parameters
remotePushRemote push notification info.
listenerAPI call result listener

§ unregisterLocalPush()

static void com.hive.Push.unregisterLocalPush ( int  noticeID)
static

Unregister a local push notification.

Parameters
noticeIDLocal push registration ID
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy