From c6e2e15004da5146329054226619e1808c48a599 Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Fri, 20 May 2022 06:05:44 +0000 Subject: [PATCH] update en/application-dev/reference/apis/js-apis-application-abilityConstant.md. Signed-off-by: king_he <6384784@qq.com> --- .../js-apis-application-abilityConstant.md | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-application-abilityConstant.md b/en/application-dev/reference/apis/js-apis-application-abilityConstant.md index 226288e3cc..1db280b4b8 100644 --- a/en/application-dev/reference/apis/js-apis-application-abilityConstant.md +++ b/en/application-dev/reference/apis/js-apis-application-abilityConstant.md @@ -1,6 +1,6 @@ # AbilityConstant -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. @@ -19,10 +19,10 @@ import AbilityConstant from '@ohos.application.AbilityConstant'; **System capability**: SystemCapability.Ability.AbilityRuntime.Core -| Name| Type| Readable| Writable| Description| -| -------- | -------- | -------- | -------- | -------- | -| launchReason | LaunchReason| Yes| Yes| Ability launch reason.| -| lastExitReason | LastExitReason | Yes| Yes| Reason for the last exit.| + | Name | Type | Readable | Writable | Description | + | -------- | -------- | -------- | -------- | -------- | + | launchReason | LaunchReason | Yes | Yes | Ability launch reason. | + | lastExitReason | LastExitReason | Yes | Yes | Reason for the last exit. | ## AbilityConstant.LaunchReason @@ -30,12 +30,12 @@ Enumerates ability launch reasons. **System capability**: SystemCapability.Ability.AbilityRuntime.Core -| Name | Value | Description | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| UNKNOWN | 0 | Unknown reason.| -| START_ABILITY | 1 | Ability startup.| -| CALL | 2 | Call.| -| CONTINUATION | 3 | Ability continuation.| + | Name | Value | Description | + | ----------------------------- | ---- | ------------------------------------------------------------ | + | UNKNOWN | 0 | Unknown reason. | + | START_ABILITY | 1 | Ability startup. | + | CALL | 2 | Call. | + | CONTINUATION | 3 | Ability continuation. | ## AbilityConstant.LastExitReason @@ -44,11 +44,11 @@ Enumerates reasons for the last exit. **System capability**: SystemCapability.Ability.AbilityRuntime.Core -| Name | Value | Description | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| UNKNOWN | 0 | Unknown reason.| -| ABILITY_NOT_RESPONDING | 1 | The ability does not respond.| -| NORMAL | 2 | Normal status.| + | Name | Value | Description | + | ----------------------------- | ---- | ------------------------------------------------------------ | + | UNKNOWN | 0 | Unknown reason. | + | ABILITY_NOT_RESPONDING | 1 | The ability does not respond. | + | NORMAL | 2 | Normal status. | ## AbilityConstant.OnContinueResult @@ -57,8 +57,8 @@ Enumerates ability continuation results. **System capability**: SystemCapability.Ability.AbilityRuntime.Core -| Name | Value | Description | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| AGREE | 0 | Continuation agreed.| -| REJECT | 1 | Continuation denied.| -| MISMATCH | 2 | Mismatch.| + | Name | Value | Description | + | ----------------------------- | ---- | ------------------------------------------------------------ | + | AGREE | 0 | Continuation agreed. | + | REJECT | 1 | Continuation denied. | + | MISMATCH | 2 | Mismatch. | -- GitLab