提交 a1bbe8f5 编写于 作者: G Gloria

Update docs against 18851

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 182ee8be
......@@ -43,5 +43,5 @@ let applicationStateObserver = {
console.log('onProcessStateChanged onProcessStateChanged: ${JSON.stringify(processData)}');
}
};
let observerCode = appManager.registerApplicationStateObserver(applicationStateObserver);
let observerCode = appManager.on('applicationState', applicationStateObserver);
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册