mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
Fix API doc.
This commit is contained in:
parent
c3171e716a
commit
0c6450231b
@ -86,14 +86,13 @@ JPush SDK 会恢复正常的默认行为。(因为保存在本地的状态数
|
|||||||
|
|
||||||
#### 代码示例
|
#### 代码示例
|
||||||
|
|
||||||
window.plugins.jPushPlugin.resumePush(callback)
|
window.plugins.jPushPlugin.isPushStopped(function (result) {
|
||||||
var onCallback = function(data) {
|
if (result == 0) {
|
||||||
if(data > 0) {
|
|
||||||
// 关闭
|
|
||||||
} else {
|
|
||||||
// 开启
|
// 开启
|
||||||
|
} else {
|
||||||
|
// 关闭
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
|
|
||||||
|
|
||||||
## 获取 RegistrationID
|
## 获取 RegistrationID
|
||||||
|
Loading…
Reference in New Issue
Block a user