未验证 提交 96ac7c74 编写于 作者: O openharmony_ci 提交者: Gitee

!22569 standby示例文档参数补充

Merge pull request !22569 from geraltxu/master
......@@ -45,6 +45,7 @@ getExemptedApps(resourceTypes: number, callback: AsyncCallback<Array&lt;Exempted
**示例**
```js
let resourceTypes = 1;
try{
deviceStandby.getExemptedApps(resourceTypes, (err, res) => {
if (err) {
......@@ -100,6 +101,7 @@ getExemptedApps(resourceTypes: number): Promise<Array&lt;ExemptedAppInfo&gt;>;
**示例**
```js
let resourceTypes = 1;
try{
deviceStandby.getExemptedApps(resourceTypes).then( res => {
console.log('DEVICE_STANDBY getExemptedApps promise success.');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册