Signed-off-by: unknown <sijunjie@huawei.com>
This commit is contained in:
unknown 2022-07-19 11:34:17 +08:00
parent 032393e505
commit 2073e9f91a
2 changed files with 28 additions and 1 deletions

View File

@ -262,7 +262,15 @@ declare namespace wantConstant {
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_INDEX = "ohos.dlp.params.index"
DLP_PARAMS_INDEX = "ohos.dlp.params.index",
/**
* Indicates the param of dlp security flag.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_INDEX = "ohos.dlp.params.securityFlag"
}
/**

View File

@ -45,6 +45,25 @@ declare namespace appManager {
STATE_DESTROY
}
/**
* @name ProcessState
* @since 9
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi Hide this for inner system use.
* @permission N/A
*/
export enum ProcessState {
STATE_CREATE,
STATE_FOREGROUND,
STATE_VISIBLE,
STATE_FOCUS,
STATE_SUSPEND,
STATE_KEEP_BACKGROUND,
STATE_BACKGROUND,
STATE_DESTROY
}
/**
* Register application state observer.
*