Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
b4e0e784
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b4e0e784
编写于
5月 26, 2023
作者:
G
Gloria
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update docs against 17707
Signed-off-by: wusongqing<wusongqing@huawei.com>
上级
f9cf0d1c
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
441 addition
and
208 deletion
+441
-208
en/application-dev/reference/apis/Readme-EN.md
en/application-dev/reference/apis/Readme-EN.md
+14
-5
en/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md
...ce/apis/js-apis-resourceschedule-backgroundTaskManager.md
+30
-30
en/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md
...ce/apis/js-apis-resourceschedule-deviceUsageStatistics.md
+8
-8
en/application-dev/website.md
en/application-dev/website.md
+389
-165
未找到文件。
en/application-dev/reference/apis/Readme-EN.md
浏览文件 @
b4e0e784
...
...
@@ -18,8 +18,6 @@
-
[
@ohos.app.form.FormExtensionAbility (FormExtensionAbility)
](
js-apis-app-form-formExtensionAbility.md
)
-
[
@ohos.application.DataShareExtensionAbility (DataShare Extension Ability)
](
js-apis-application-dataShareExtensionAbility.md
)
-
[
@ohos.application.StaticSubscriberExtensionAbility (StaticSubscriberExtensionAbility)
](
js-apis-application-staticSubscriberExtensionAbility.md
)
-
Stage Model (To Be Deprecated Soon)
-
[
@ohos.application.EnvironmentCallback (EnvironmentCallback)
](
js-apis-application-environmentCallback.md
)
-
FA Model
-
[
@ohos.ability.ability (Ability)
](
js-apis-ability-ability.md
)
-
[
@ohos.ability.featureAbility (FeatureAbility)
](
js-apis-ability-featureAbility.md
)
...
...
@@ -39,10 +37,12 @@
-
[
@ohos.app.ability.Want (Want)
](
js-apis-app-ability-want.md
)
-
[
@ohos.app.ability.wantAgent (WantAgent)
](
js-apis-app-ability-wantAgent.md
)
-
[
@ohos.app.ability.wantConstant (wantConstant)
](
js-apis-app-ability-wantConstant.md
)
-
[
@ohos.app.businessAbilityRouter (Business Ability Router)
](
js-apis-businessAbilityRouter.md
)
-
[
@ohos.app.form.formBindingData (formBindingData)
](
js-apis-app-form-formBindingData.md
)
-
[
@ohos.app.form.formHost (FormHost)
](
js-apis-app-form-formHost.md
)
-
[
@ohos.app.form.formInfo (FormInfo)
](
js-apis-app-form-formInfo.md
)
-
[
@ohos.app.form.formProvider (FormProvider)
](
js-apis-app-form-formProvider.md
)
-
[
@ohos.application.uriPermissionManager (URI Permission Management)
](
js-apis-uripermissionmanager.md
)
-
Both Models (To Be Deprecated Soon)
-
[
@ohos.ability.dataUriUtils (DataUriUtils)
](
js-apis-ability-dataUriUtils.md
)
-
[
@ohos.ability.errorCode (ErrorCode)
](
js-apis-ability-errorCode.md
)
...
...
@@ -139,7 +139,11 @@
-
[
NotificationSlot
](
js-apis-inner-notification-notificationSlot.md
)
-
[
NotificationTemplate
](
js-apis-inner-notification-notificationTemplate.md
)
-
[
NotificationUserInput
](
js-apis-inner-notification-notificationUserInput.md
)
-
Bundle Management
-
Common Events
-
[
Common Events of the Bundle Management Subsystem
](
common_event/commonEvent-bundleManager.md
)
-
[
Common Events of the Notification Service
](
common_event/commonEvent-ans.md
)
-
[
Common Events of the Telephony Subsystem
](
common_event/commonEvent-telephony.md
)
-
Bundle Management
-
[
@ohos.bundle.appControl (appControl)
](
js-apis-appControl.md
)
-
[
@ohos.bundle.bundleManager (bundleManager)
](
js-apis-bundleManager.md
)
-
[
@ohos.bundle.bundleMonitor (bundleMonitor)
](
js-apis-bundleMonitor.md
)
...
...
@@ -148,6 +152,7 @@
-
[
@ohos.bundle.freeInstall (freeInstall)
](
js-apis-freeInstall.md
)
-
[
@ohos.bundle.installer (installer)
](
js-apis-installer.md
)
-
[
@ohos.bundle.launcherBundleManager (launcherBundleManager)
](
js-apis-launcherBundleManager.md
)
-
[
@ohos.bundle.overlay (overlay)
](
js-apis-overlay.md
)
-
[
@ohos.zlib (Zip)
](
js-apis-zlib.md
)
-
bundleManager
-
[
abilityInfo
](
js-apis-bundleManager-abilityInfo.md
)
...
...
@@ -155,18 +160,22 @@
-
[
AppProvisionInfo
](
js-apis-bundleManager-AppProvisionInfo.md
)
-
[
bundleInfo
](
js-apis-bundleManager-bundleInfo.md
)
-
[
BundlePackInfo
](
js-apis-bundleManager-BundlePackInfo.md
)
-
[
BusinessAbilityInfo
](
js-apis-bundleManager-businessAbilityInfo.md
)
-
[
dispatchInfo
](
js-apis-bundleManager-dispatchInfo.md
)
-
[
elementName
](
js-apis-bundleManager-elementName.md
)
-
[
extensionAbilityInfo
](
js-apis-bundleManager-extensionAbilityInfo.md
)
-
[
hapModuleInfo
](
js-apis-bundleManager-hapModuleInfo.md
)
-
[
launcherAbilityInfo
](
js-apis-bundleManager-launcherAbilityInfo.md
)
-
[
metadata
](
js-apis-bundleManager-metadata.md
)
-
[
OverlayModuleInfo
](
js-apis-bundleManager-overlayModuleInfo.md
)
-
[
permissionDef
](
js-apis-bundleManager-permissionDef.md
)
-
[
remoteAbilityInfo
](
js-apis-bundleManager-remoteAbilityInfo.md
)
-
[
SharedBundleInfo
](
js-apis-bundleManager-sharedBundleInfo.md
)
-
[
shortcutInfo
](
js-apis-bundleManager-shortcutInfo.md
)
-
UI Page
-
[
@ohos.animator (Animator)
](
js-apis-animator.md
)
-
[
@ohos.arkui.componentSnapshot (Component Snapshot)
](
js-apis-arkui-componentSnapshot.md
)
-
[
@ohos.arkui.drawableDescriptor (DrawableDescriptor)
](
js-apis-arkui-drawableDescriptor.md
)
-
[
@ohos.curves (Interpolation Calculation)
](
js-apis-curve.md
)
-
[
@ohos.matrix4 (Matrix Transformation)
](
js-apis-matrix4.md
)
...
...
@@ -264,7 +273,7 @@
-
[
@ohos.net.connection (Network Connection Management)
](
js-apis-net-connection.md
)
-
[
@ohos.net.ethernet (Ethernet Connection Management)
](
js-apis-net-ethernet.md
)
-
[
@ohos.net.http (Data Request)
](
js-apis-http.md
)
-
[
@ohos.net.
policy (Network Policy Management)
](
js-apis-net-policy
.md
)
-
[
@ohos.net.
mdns (mDNS Management)
](
js-apis-net-mdns
.md
)
-
[
@ohos.net.sharing (Network Sharing)
](
js-apis-net-sharing.md
)
-
[
@ohos.net.socket (Socket Connection)
](
js-apis-socket.md
)
-
[
@ohos.net.webSocket (WebSocket Connection)
](
js-apis-webSocket.md
)
...
...
@@ -449,4 +458,4 @@
-
[
remoteAbilityInfo
](
js-apis-bundle-remoteAbilityInfo.md
)
-
[
shortcutInfo
](
js-apis-bundle-ShortcutInfo.md
)
-
data/rdb
-
[
resultSet (Result Set)
](
js-apis-data-resultset.md
)
\ No newline at end of file
-
[
resultSet
](
js-apis-data-resultset.md
)
\ No newline at end of file
en/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md
浏览文件 @
b4e0e784
...
...
@@ -51,10 +51,10 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
**Example**
...
...
@@ -76,7 +76,7 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
```
## backgroundTaskManager.getRemainingDelayTime
:callback
## backgroundTaskManager.getRemainingDelayTime
getRemainingDelayTime(requestId: number, callback: AsyncCallback
<
number
>
): void
...
...
@@ -99,10 +99,10 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC failed. |
|
| 9800003 | I
nner transact failed.
|
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
**Example**
...
...
@@ -125,7 +125,7 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
```
## backgroundTaskManager.getRemainingDelayTime
:promise
## backgroundTaskManager.getRemainingDelayTime
getRemainingDelayTime(requestId: number): Promise
<
number
>
...
...
@@ -155,10 +155,10 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
**Example**
...
...
@@ -200,10 +200,10 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
**Example**
...
...
@@ -219,7 +219,7 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
```
## backgroundTaskManager.startBackgroundRunning
:callback
## backgroundTaskManager.startBackgroundRunning
startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, callback: AsyncCallback
<
void
>
): void
...
...
@@ -246,9 +246,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -297,7 +297,7 @@ export default class EntryAbility extends UIAbility {
};
```
## backgroundTaskManager.startBackgroundRunning
:promise
## backgroundTaskManager.startBackgroundRunning
startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise
<
void
>
...
...
@@ -329,9 +329,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -376,7 +376,7 @@ export default class EntryAbility extends UIAbility {
};
```
## backgroundTaskManager.stopBackgroundRunning
:callback
## backgroundTaskManager.stopBackgroundRunning
stopBackgroundRunning(context: Context, callback: AsyncCallback
<
void
>
): void
...
...
@@ -399,9 +399,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -430,7 +430,7 @@ export default class EntryAbility extends UIAbility {
};
```
## backgroundTaskManager.stopBackgroundRunning
:promise
## backgroundTaskManager.stopBackgroundRunning
stopBackgroundRunning(context: Context): Promise
<
void
>
...
...
@@ -460,9 +460,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -513,9 +513,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
| 18700001 | Caller information verification failed. |
**Example**
...
...
@@ -556,9 +556,9 @@ For details about the error codes, see [backgroundTaskManager Error Codes](../er
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
| 18700001 | Caller information verification failed. |
**Example**
...
...
en/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md
浏览文件 @
b4e0e784
...
...
@@ -1549,10 +1549,10 @@ Provides the usage duration information of an application.
| Name | Type | Mandatory | Description |
| ------------------------ | ------ | ---- | ---------------------------------------- |
| bundleName | string |
Yes
| Bundle name of the application. |
| abilityPrevAccessTime | number |
Yes
| Last time when the application was used. |
| abilityInFgTotalTime | number |
Yes
| Total time that the application runs in the foreground. |
| id | number |
No
| User ID.|
| bundleName | string |
No
| Bundle name of the application. |
| abilityPrevAccessTime | number |
No
| Last time when the application was used. |
| abilityInFgTotalTime | number |
No
| Total time that the application runs in the foreground. |
| id | number |
Yes
| User ID.|
| abilityPrevSeenTime | number | No | Last time when the application was visible in the foreground.|
| abilitySeenTotalTime | number | No | Total time that the application is visible in the foreground.|
| fgAbilityAccessTotalTime | number | No | Total time that the application accesses the foreground.|
...
...
@@ -1570,9 +1570,9 @@ Provides information about an application event.
| Name | Type | Mandatory | Description |
| --------------------- | ------ | ---- | ---------------------------------------- |
| bundleName | string |
Yes
| Bundle name of the application. |
| eventId | number |
Yes
| Application event type. |
| eventOccurredTime | number |
Yes
| Timestamp when the application event occurs. |
| bundleName | string |
No
| Bundle name of the application. |
| eventId | number |
No
| Application event type. |
| eventOccurredTime | number |
No
| Timestamp when the application event occurs. |
| appGroup | number | No | Usage priority group of the application.|
| indexOfLink | string | No | Shortcut ID.|
| nameOfClass | string | No | Class name.|
...
...
@@ -1587,7 +1587,7 @@ Provides the usage duration information of an application.
| Name | Type | Mandatory | Description |
| ------------------------------ | ---------------------------------------- | ---- | -------------- |
|
[
key: string]
: BundleStatsInfo | [key: string]:
[BundleStatsInfo
](
#bundlestatsinfo
)
| Yes | Usage duration information by application.|
|
[
key: string]
|
[BundleStatsInfo
](
#bundlestatsinfo
)
| Yes | Usage duration information by application.|
## DeviceEventStats
...
...
en/application-dev/website.md
浏览文件 @
b4e0e784
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录