Signed-off-by: unknown <sijunjie@huawei.com>
This commit is contained in:
unknown 2022-07-16 19:16:04 +08:00
parent b2558c72e3
commit 032393e505
2 changed files with 59 additions and 1 deletions

View File

@ -222,7 +222,47 @@ declare namespace wantConstant {
* @since 9
* @systemapi Hide this for inner system use.
*/
ACTION_MARKER_DOWNLOAD = "ohos.want.action.marketDownload"
ACTION_MARKER_DOWNLOAD = "ohos.want.action.marketDownload",
/**
* Indicates the param of sandbox flag.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_SANDBOX = "ohos.dlp.params.sandbox",
/**
* Indicates the param of dlp bundle name.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_BUNDLE_NAME = "ohos.dlp.params.bundleName",
/**
* Indicates the param of dlp module name.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_MODULE_NAME = "ohos.dlp.params.moduleName",
/**
* Indicates the param of dlp ability name.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_ABILITY_NAME = "ohos.dlp.params.abilityName",
/**
* Indicates the param of dlp bundle index.
*
* @since 9
* @systemapi Hide this for inner system use.
*/
DLP_PARAMS_INDEX = "ohos.dlp.params.index"
}
/**

View File

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