diff --git a/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md b/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md index 9a3457468bf95e3ca81dda932a425999593ea855..e1bae182816c3b58d503b4f3e34ba36c30782d33 100644 --- a/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md +++ b/en/application-dev/reference/apis/js-apis-extensionrunninginfo.md @@ -13,7 +13,7 @@ Provides extension running information. The extension running information is obtained through an **abilityManager** instance. - + ``` import abilitymanager from '@ohos.application.abilityManager'; abilitymanager.getExtensionRunningInfos(upperLimit, (err,data) => { @@ -24,30 +24,34 @@ abilitymanager.getExtensionRunningInfos(upperLimit, (err,data) => { ### Attributes +**System capability**: SystemCapability.Ability.AbilityRuntime.Core + | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | -| 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| +| extension | ElementName | Yes| No| Information that matches an extension.| +| pid | number | Yes| No| Process ID.| +| uid | number | Yes| No| User ID.| +| processName | string | Yes| No| Process name.| +| startTime | number | Yes| No| Extension start time.| +| clientPackage | Array<String> | Yes| No| Names of all packages in the process.| +| type | [bundle.ExtensionAbilityType](#bundle-extensionabilitytype) | Yes| No| Extension type.| ## bundle.ExtensionAbilityType -Enumerates the extension types. +Enumerates extension types. + +**System capability**: SystemCapability.BundleManager.BundleFramework | Name| Value| Description| | -------- | -------- | -------- | -| 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| +| FORM | 0 | Extension information of the form type. | +| WORK_SCHEDULER | 1 | Extension information of the work scheduler type. | +| INPUT_METHOD | 2 | Extension information of the input method type. | +| SERVICE | 3 | Extension information of the service type. | +| ACCESSIBILITY | 4 | Extension information of the accessibility type. | +| DATA_SHARE | 5 | Extension information of the data share type. | +| FILE_SHARE | 6 | Extension information of the file share type. | +| STATIC_SUBSCRIBER | 7 | Extension information of the static subscriber type. | +| WALLPAPER | 8 | Extension information of the wallpaper type. | +| UNSPECIFIED | 9 | Extension information of the unspecified type. |