mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-14 22:54:11 +08:00
添加统计代码
This commit is contained in:
parent
95fc690dd3
commit
f217eda463
40
README.md
40
README.md
@ -741,4 +741,44 @@ android
|
|||||||
##### 返回值
|
##### 返回值
|
||||||
无
|
无
|
||||||
|
|
||||||
|
#### API - onResume,onPause
|
||||||
|
|
||||||
|
本 API 用于“用户使用时长”,“活跃用户”,“用户打开次数”的统计,并上报到服务器,在 Portal 上展示给开发者。
|
||||||
|
|
||||||
|
|
||||||
|
##### 接口定义
|
||||||
|
|
||||||
|
JPushPlugin.prototype.onResume = function()
|
||||||
|
JPushPlugin.prototype.onPause = function()
|
||||||
|
|
||||||
|
#####平台
|
||||||
|
android
|
||||||
|
|
||||||
|
##### 参数说明
|
||||||
|
- 无
|
||||||
|
|
||||||
|
##### 返回值
|
||||||
|
无
|
||||||
|
|
||||||
|
#### API - reportNotificationOpened
|
||||||
|
|
||||||
|
用于上报用户的通知栏被打开,或者用于上报用户自定义消息被展示等客户端需要统计的事件。
|
||||||
|
|
||||||
|
|
||||||
|
##### 接口定义
|
||||||
|
|
||||||
|
JPushPlugin.prototype.reportNotificationOpened = function(msgID)
|
||||||
|
|
||||||
|
#####平台
|
||||||
|
android
|
||||||
|
|
||||||
|
##### 参数说明
|
||||||
|
- 无
|
||||||
|
|
||||||
|
##### 返回值
|
||||||
|
无
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user