In mobile games, push notification service provides an important method to increase the retention of game users.
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.
◆ getForegroundPush()
static void hive.Push.getForegroundPush |
( |
onPushSetting | listener | ) |
|
|
static |
Get the value whether to enable push notification or not on the activated app.
- Parameters
-
setting | The status of receiving push notification on the activated app. |
◆ getRemotePush()
static void hive.Push.getRemotePush |
( |
onRemotePush | listener | ) |
|
|
static |
Request the status of receiving push notification.
- Parameters
-
◆ onLocalPush()
Returns information of receiving the local push.
- Parameters
-
result | API call result |
localPush | Local push registration information. |
◆ onPushSetting()
Returns the result of push settings on the activated app.
- Parameters
-
result | API call result |
pushSetting | Push settings information |
◆ onRemotePush()
Returns information of receiving the remote push.
- Parameters
-
result | API call result |
remotePush | The status of receiving push notification |
◆ registerLocalPush()
Register Local push notification.
In iOS, up to 64 can be registered due to the system limit.
- Parameters
-
localPush | Local push registration information. |
listener | API call result |
◆ setForegroundPush()
Set the value whether to enable push notification or not on the activated app.
- Parameters
-
setting | The status of receiving push notification on the activated app. |
◆ setRemotePush()
Set the status of receiving push notification.
- Parameters
-
remotePush | Remote push information. |
listener | API call result |
◆ unregisterLocalPush()
static void hive.Push.unregisterLocalPush |
( |
int | noticeID | ) |
|
|
static |
Unregister Local push notification.
- Parameters
-
noticeID | Local push registration ID. |
◆ unregisterLocalPushes()
static void hive.Push.unregisterLocalPushes |
( |
List< int > | noticeIDs | ) |
|
|
static |
Unregister Local push notification.
- Parameters
-
noticeIDs | Array of Local push registration ID. |