提交 0720147b 编写于 作者: W wangqing

修改跳转问题

Signed-off-by: Nwangqing <wangqing136@huawei.com>
上级 248bbc5d
...@@ -130,16 +130,16 @@ ohos.permission.KEEP_BACKGROUND_RUNNING ...@@ -130,16 +130,16 @@ ohos.permission.KEEP_BACKGROUND_RUNNING
```json ```json
"module": { "module": {
"package": "com.example.myapplication", "package": "com.example.myapplication",
//... // ...
"abilities": [ "abilities": [
//... // ...
{ {
"backgroundModes": [ "backgroundModes": [
"dataTransfer", "dataTransfer",
"location", "location",
//... // ...
], ],
//... // ...
"type": "service" "type": "service"
} }
], ],
......
...@@ -188,7 +188,7 @@ particleAbility.acquireDataAbilityHelper(uri) ...@@ -188,7 +188,7 @@ particleAbility.acquireDataAbilityHelper(uri)
startBackgroundRunning(id: number, request: NotificationRequest, callback: AsyncCallback&lt;void&gt;): void; startBackgroundRunning(id: number, request: NotificationRequest, callback: AsyncCallback&lt;void&gt;): void;
向系统申请长时任务,使用callback形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanager.startbackgroundrunning8) 向系统申请长时任务,使用callback形式返回结果。(此接口为api7接口[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanagerstartbackgroundrunning8)
**系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask **系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask
...@@ -252,7 +252,7 @@ startBackgroundRunning(id: number, request: NotificationRequest): Promise&lt;voi ...@@ -252,7 +252,7 @@ startBackgroundRunning(id: number, request: NotificationRequest): Promise&lt;voi
**系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask **系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask
向系统申请长时任务,使用promise形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanager.startbackgroundrunning8) 向系统申请长时任务,使用promise形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanagerstartbackgroundrunning8-1)
**参数:** **参数:**
...@@ -313,7 +313,7 @@ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => { ...@@ -313,7 +313,7 @@ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => {
cancelBackgroundRunning(callback: AsyncCallback&lt;void&gt;): void; cancelBackgroundRunning(callback: AsyncCallback&lt;void&gt;): void;
向系统申请取消长时任务,使用callback形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanager.stopbackgroundrunning8) 向系统申请取消长时任务,使用callback形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanagerstopbackgroundrunning8)
**系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask **系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask
...@@ -344,7 +344,7 @@ particleAbility.cancelBackgroundRunning(callback); ...@@ -344,7 +344,7 @@ particleAbility.cancelBackgroundRunning(callback);
cancelBackgroundRunning(): Promise&lt;void&gt;; cancelBackgroundRunning(): Promise&lt;void&gt;;
向系统申请取消长时任务,使用promise形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanager.stopbackgroundrunning8) 向系统申请取消长时任务,使用promise形式返回结果。(此接口为api7接口,[建议使用新接口](js-apis-backgroundTaskManager.md#backgroundtaskmanagerstopbackgroundrunning8-1)
**系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask **系统能力**:SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册