HIVE SDK for Unity3D

Public Member Functions | Static Public Member Functions | List of all members
hive.Push Class Reference

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

Public Member Functions

delegate void onRemotePush (ResultAPI result, RemotePush remotePush)
 Returns information of receiving the remote push.
 
delegate void onLocalPush (ResultAPI result, LocalPush localPush)
 Returns information of receiving the local push.
 
delegate void onPushSetting (ResultAPI result, PushSetting pushSetting)
 Returns the result of push settings on the activated app.
 

Static Public Member Functions

static void getRemotePush (onRemotePush listener)
 Request the status of receiving push notification.
 
static void setRemotePush (RemotePush remotePush, onRemotePush listener)
 Set the status of receiving push notification.
 
static void registerLocalPush (LocalPush localPush, onLocalPush listener)
 Register Local push notification.
 
static void unregisterLocalPush (int noticeID)
 Unregister Local push notification.
 
static void unregisterLocalPushes (List< int > noticeIDs)
 Unregister Local push notification.
 
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.
 
static void getForegroundPush (onPushSetting listener)
 Get the value whether to enable push notification or not on the activated app.
 
static void requestPushPermission ()
 Request Push Token.
 

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.

Since
4.0.0
Author
ryuvsken

The documentation for this class was generated from the following file:
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy