In mobile games, push notification service provides an important method to increase the retention of game users. More...
#include <HIVE_Push.h>
Public Types | |
typedef std::function< void(ResultAPI const &result, RemotePush const &remotePush)> | onRemotePush |
Returns information of receiving the remote push. More... | |
typedef std::function< void(ResultAPI const &result, LocalPush const &localPush)> | onLocalPush |
Returns information of receiving the local push. More... | |
typedef std::function< void(ResultAPI const &result, PushSetting const &pushSetting)> | onPushSetting |
Returns the result of push settings on the activated app. More... | |
Static Public Member Functions | |
static void | getRemotePush (onRemotePush listener) |
Request the status of receiving push notification. More... | |
static void | setRemotePush (RemotePush remotePush, onRemotePush listener) |
Set the status of receiving push notification. More... | |
static void | registerLocalPush (LocalPush localPush, onLocalPush listener) |
Register Local push notification. More... | |
static void | unregisterLocalPush (int noticeId) |
Unregister Local push notification. More... | |
static void | unregisterLocalPushes (std::vector< int > noticeIDs) |
Unregister Local push notification. More... | |
static void | unregisterAllLocalPushes () |
Unregister All local pushes including Hive local pushes. | |
static void | setForegroundPush (PushSetting setting, onPushSetting listener) |
Set the value whether to enable push notification or not on the activated app. More... | |
static void | getForegroundPush (onPushSetting listener) |
Get the value whether to enable push notification or not on the activated app. More... | |
static void | requestPushPermission () |
Request Push Token. More... | |
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.