diff --git a/en/application-dev/reference/apis/js-apis-appmanager.md b/en/application-dev/reference/apis/js-apis-appmanager.md index b592185ea98594defd19faf7652e02f556c7edbf..45ae9509e03e8bfec6fe71568e8a1fffb680dc67 100644 --- a/en/application-dev/reference/apis/js-apis-appmanager.md +++ b/en/application-dev/reference/apis/js-apis-appmanager.md @@ -19,7 +19,7 @@ import app from '@ohos.application.appManager'; static isRunningInStabilityTest(callback: AsyncCallback<boolean>): void -Checks whether this application is undergoing a stability test. This method uses a callback to return the result. +Checks whether this application is undergoing a stability test. This API uses a callback to return the result. - Parameters | Name| Type| Mandatory| Description| diff --git a/en/application-dev/reference/apis/js-apis-eventhub.md b/en/application-dev/reference/apis/js-apis-eventhub.md index cafe92672be24e015bdd1aeea1a520f70dbf542f..40f4b05797aa03b575743df830ef3ff9115bc50f 100644 --- a/en/application-dev/reference/apis/js-apis-eventhub.md +++ b/en/application-dev/reference/apis/js-apis-eventhub.md @@ -30,7 +30,7 @@ on(event: string, callback: Function): void; Subscribes to an event. -**System capabilities**: +**System capability**: SystemCapability.Ability.AbilityRuntime.Core @@ -69,7 +69,7 @@ off(event: string, callback?: Function): void; Unsubscribes from an event. If **callback** is specified, this method unsubscribes from the specified callback. If **callback** is not specified, this method unsubscribes from all callbacks in the event. -**System capabilities**: +**System capability**: SystemCapability.Ability.AbilityRuntime.Core @@ -108,7 +108,7 @@ emit(event: string, ...args: Object[]): void; Triggers an event. -**System capabilities**: +**System capability**: SystemCapability.Ability.AbilityRuntime.Core diff --git a/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md b/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md index ccd1e1f60d41db6c4ebc7978983d27218d044f36..9a3457468bf95e3ca81dda932a425999593ea855 100644 --- a/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md +++ b/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md @@ -26,13 +26,13 @@ abilitymanager.getExtensionRunningInfos(upperLimit, (err,data) => { | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | -| extension | ElementName | Yes| No| Information that matches an extension.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| pid | number | Yes| No| Process ID.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| uid | number | Yes| No| User ID.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| processName | string | Yes| No| Process name.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| startTime | number | Yes| No| Extension start time.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| clientPackage | Array<String> | Yes| No| Names of all packages in the process.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| type | [bundle.ExtensionAbilityType](#bundle-extensionabilitytype) | Yes| No| Extension type.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| +| extension | ElementName | Yes| No| Information that matches an extension.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| pid | number | Yes| No| Process ID.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| uid | number | Yes| No| User ID.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| processName | string | Yes| No| Process name.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| startTime | number | Yes| No| Extension start time.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| clientPackage | Array<String> | Yes| No| Names of all packages in the process.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| type | [bundle.ExtensionAbilityType](#bundle-extensionabilitytype) | Yes| No| Extension type.
System capability: SystemCapability.Ability.AbilityRuntime.Core| ## bundle.ExtensionAbilityType @@ -41,13 +41,13 @@ Enumerates the extension types. | Name| Value| Description| | -------- | -------- | -------- | -| FORM | 0 | Extension information of the form type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| WORK_SCHEDULER | 1 | Extension information of the work scheduler type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| INPUT_METHOD | 2 | Extension information of the input method type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| SERVICE | 3 | Extension information of the service type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| ACCESSIBILITY | 4 | Extension information of the accessibility type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| DATA_SHARE | 5 | Extension information of the data share type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| FILE_SHARE | 6 | Extension information of the file share type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| STATIC_SUBSCRIBER | 7 | Extension information of the static subscriber type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| WALLPAPER | 8 | Extension information of the wallpaper type.
System capabilities: SystemCapability.BundleManager.BundleFramework| -| UNSPECIFIED | 9 | Extension information of the unspecified type.
System capabilities: SystemCapability.BundleManager.BundleFramework| +| FORM | 0 | Extension information of the form type.
System capability: SystemCapability.BundleManager.BundleFramework| +| WORK_SCHEDULER | 1 | Extension information of the work scheduler type.
System capability: SystemCapability.BundleManager.BundleFramework| +| INPUT_METHOD | 2 | Extension information of the input method type.
System capability: SystemCapability.BundleManager.BundleFramework| +| SERVICE | 3 | Extension information of the service type.
System capability: SystemCapability.BundleManager.BundleFramework| +| ACCESSIBILITY | 4 | Extension information of the accessibility type.
System capability: SystemCapability.BundleManager.BundleFramework| +| DATA_SHARE | 5 | Extension information of the data share type.
System capability: SystemCapability.BundleManager.BundleFramework| +| FILE_SHARE | 6 | Extension information of the file share type.
System capability: SystemCapability.BundleManager.BundleFramework| +| STATIC_SUBSCRIBER | 7 | Extension information of the static subscriber type.
System capability: SystemCapability.BundleManager.BundleFramework| +| WALLPAPER | 8 | Extension information of the wallpaper type.
System capability: SystemCapability.BundleManager.BundleFramework| +| UNSPECIFIED | 9 | Extension information of the unspecified type.
System capability: SystemCapability.BundleManager.BundleFramework| diff --git a/en/application-dev/reference/apis/js-apis-permissionrequestresult.md b/en/application-dev/reference/apis/js-apis-permissionrequestresult.md index 7b598b01680c6044c6238b46e87dad5014151001..413bd6246b8ada2a2a0d64d66e5897090ec6d80c 100644 --- a/en/application-dev/reference/apis/js-apis-permissionrequestresult.md +++ b/en/application-dev/reference/apis/js-apis-permissionrequestresult.md @@ -11,5 +11,5 @@ Provides the permission request result. | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | -| permissions | Array<string> | Yes| No| Permissions requested.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| authResults | Array<number> | Yes| No| Whether the requested permissions are granted or denied. The value **0** means that the requests permissions are granted, and **-1** means the opposite.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| +| permissions | Array<string> | Yes| No| Permissions requested.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| authResults | Array<number> | Yes| No| Whether the requested permissions are granted or denied. The value **0** means that the requests permissions are granted, and **-1** means the opposite.
System capability: SystemCapability.Ability.AbilityRuntime.Core| diff --git a/en/application-dev/reference/apis/js-apis-processrunninginfo.md b/en/application-dev/reference/apis/js-apis-processrunninginfo.md index 06085f7626aafb3091eca98b9ff2f23b903e98cb..5f1e7c420e7402bbc6c8b631c16c05b527710edf 100644 --- a/en/application-dev/reference/apis/js-apis-processrunninginfo.md +++ b/en/application-dev/reference/apis/js-apis-processrunninginfo.md @@ -26,7 +26,7 @@ appManager.getProcessRunningInfos((error,data) => { | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | -| pid | number | Yes| No| Process ID.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| uid | number | Yes| No| User ID.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| processName | string | Yes| No| Process name.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| -| bundleNames | Array<string> | Yes| No| Names of all bundles running in the process.
System capabilities: SystemCapability.Ability.AbilityRuntime.Core| +| pid | number | Yes| No| Process ID.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| uid | number | Yes| No| User ID.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| processName | string | Yes| No| Process name.
System capability: SystemCapability.Ability.AbilityRuntime.Core| +| bundleNames | Array<string> | Yes| No| Names of all bundles running in the process.
System capability: SystemCapability.Ability.AbilityRuntime.Core| diff --git a/en/application-dev/reference/apis/js-apis-uripermissionmanager.md b/en/application-dev/reference/apis/js-apis-uripermissionmanager.md index c3b7e18f36ca6cd1f7746291c68556ddcba5a360..b004a0a4c9c17d9c7fe09ee4c1f8db66297222fe 100644 --- a/en/application-dev/reference/apis/js-apis-uripermissionmanager.md +++ b/en/application-dev/reference/apis/js-apis-uripermissionmanager.md @@ -19,9 +19,9 @@ import UriPermissionManager from '@@ohos.application.UriPermissionManager'; verifyUriPermission(uri: string, flag: wantConstant.Flags, accessTokenId: number, callback: AsyncCallback<number>): void -Checks whether an application has the permission specified by **flag** for an URI. This method uses a callback to return the result. +Checks whether an application has the permission specified by **flag** for an URI. This API uses a callback to return the result. -**System capabilities**: +**System capability**: SystemCapability.Ability.AbilityRuntime.Core @@ -47,9 +47,9 @@ SystemCapability.Ability.AbilityRuntime.Core verifyUriPermission(uri: string, flag: wantConstant.Flags, accessTokenId: number): Promise<number> -Checks whether an application has the permission specified by **flag** for an URI. This method uses a promise to return the result. +Checks whether an application has the permission specified by **flag** for an URI. This API uses a promise to return the result. -**System capabilities**: +**System capability**: SystemCapability.Ability.AbilityRuntime.Core