From eb7de667b9b652bb7ead1c9d09e49cb2c9fb8c59 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Wed, 20 Aug 2025 15:31:02 +0800 Subject: [PATCH] close interface 0820 Signed-off-by: zhangzezhong --- ...s.app.ability.ServiceExtensionAbility.d.ts | 3 +- api/@ohos.app.ability.UIAbility.d.ts | 20 +---- ...app.ability.UIExtensionContentSession.d.ts | 9 +-- ....app.ability.abilityDelegatorRegistry.d.ts | 35 +++----- api/@ohos.app.ability.abilityManager.d.ts | 24 +----- api/@ohos.app.ability.contextConstant.d.ts | 3 +- api/application/AbilityDelegator.d.ts | 81 +++++++------------ api/application/AbilityMonitor.d.ts | 24 ++---- api/application/AbilityStageMonitor.d.ts | 9 +-- api/application/AbilityStateData.d.ts | 21 ++--- api/application/ApplicationContext.d.ts | 9 +-- api/application/RunningMultiAppInfo.d.ts | 3 +- api/application/abilityDelegatorArgs.d.ts | 6 +- api/application/shellCmdResult.d.ts | 9 +-- 14 files changed, 78 insertions(+), 178 deletions(-) diff --git a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts index 9fb19d970b..0d678b9f42 100644 --- a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts @@ -155,8 +155,7 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ onConfigurationUpdate(newConfig: Configuration): void; diff --git a/api/@ohos.app.ability.UIAbility.d.ts b/api/@ohos.app.ability.UIAbility.d.ts index 0f6b0cc85f..0e332bbcfe 100644 --- a/api/@ohos.app.ability.UIAbility.d.ts +++ b/api/@ohos.app.ability.UIAbility.d.ts @@ -47,20 +47,6 @@ export interface OnReleaseCallback { (msg: string): void; } -/** - * The prototype of the listener function interface registered by the Caller. - * Defines the callback of OnRelease. - * - * @typedef OnReleaseCallback - * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore - * @param { string } msg - The notification event string listened to by the OnRelease. - * @stagemodelonly - * @since 20 - * @arkts 1.2 - */ -export type OnReleaseCallback = (msg: string)=> void; - - /** * The prototype of the listener function interface registered by the Caller. * @@ -108,8 +94,7 @@ export interface CalleeCallback { * @interface Caller * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ export interface Caller { /** @@ -170,8 +155,7 @@ export interface Caller { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ onRelease(callback: OnReleaseCallback): void; diff --git a/api/@ohos.app.ability.UIExtensionContentSession.d.ts b/api/@ohos.app.ability.UIExtensionContentSession.d.ts index 8f9f41357a..b7add8d7fc 100644 --- a/api/@ohos.app.ability.UIExtensionContentSession.d.ts +++ b/api/@ohos.app.ability.UIExtensionContentSession.d.ts @@ -81,8 +81,7 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ setReceiveDataCallback(callback: (data: Record) => void): void; @@ -97,8 +96,7 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ setReceiveDataForResultCallback(callback: (data: Record) => Record): void; @@ -112,8 +110,7 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ loadContent(path: string, storage?: LocalStorage): void; diff --git a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts index c927cbc29e..8ef1443853 100644 --- a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts +++ b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts @@ -18,11 +18,13 @@ * @kit TestKit */ +/*** if arkts 1.1 */ import { AbilityDelegator as _AbilityDelegator } from './application/AbilityDelegator'; import { AbilityDelegatorArgs as _AbilityDelegatorArgs } from './application/abilityDelegatorArgs'; import { AbilityMonitor as _AbilityMonitor } from './application/AbilityMonitor'; import { AbilityStageMonitor as _AbilityStageMonitor } from './application/AbilityStageMonitor'; import { ShellCmdResult as _ShellCmdResult } from './application/shellCmdResult'; +/*** endif */ /** * A global register used to store the AbilityDelegator and AbilityDelegatorArgs objects registered @@ -129,8 +131,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export enum AbilityLifecycleState { /** @@ -152,8 +153,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ UNINITIALIZED, @@ -176,8 +176,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ CREATE, @@ -200,8 +199,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ FOREGROUND, @@ -224,8 +222,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ BACKGROUND, @@ -248,8 +245,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ DESTROY } @@ -274,8 +270,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export type AbilityDelegator = _AbilityDelegator; @@ -299,8 +294,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export type AbilityDelegatorArgs = _AbilityDelegatorArgs; @@ -327,8 +321,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export type AbilityMonitor = _AbilityMonitor; @@ -344,8 +337,7 @@ declare namespace abilityDelegatorRegistry { * @typedef { _ShellCmdResult } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export type ShellCmdResult = _ShellCmdResult; @@ -357,8 +349,7 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ export type AbilityStageMonitor = _AbilityStageMonitor; } diff --git a/api/@ohos.app.ability.abilityManager.d.ts b/api/@ohos.app.ability.abilityManager.d.ts index ad7c405cd4..a0472dfe96 100644 --- a/api/@ohos.app.ability.abilityManager.d.ts +++ b/api/@ohos.app.ability.abilityManager.d.ts @@ -47,7 +47,6 @@ import _AbilityStateData from './application/AbilityStateData'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ declare namespace abilityManager { /** @@ -319,8 +318,7 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ function getTopAbility(): Promise; @@ -334,8 +332,7 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ function getTopAbility(callback: AsyncCallback): void; @@ -443,8 +440,7 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function getForegroundUIAbilities(callback: AsyncCallback>): void; @@ -458,8 +454,7 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function getForegroundUIAbilities(): Promise>; @@ -567,17 +562,6 @@ declare namespace abilityManager { */ export type AbilityStateData = _AbilityStateData.default; - /** - * The ability state data. - * - * @typedef { _AbilityStateData } - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 - */ - export type AbilityStateData = _AbilityStateData; - - /** * The class of an extension running information. * diff --git a/api/@ohos.app.ability.contextConstant.d.ts b/api/@ohos.app.ability.contextConstant.d.ts index 251dcfc68a..784bf67af7 100644 --- a/api/@ohos.app.ability.contextConstant.d.ts +++ b/api/@ohos.app.ability.contextConstant.d.ts @@ -125,8 +125,7 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ EL5 = 4 } diff --git a/api/application/AbilityDelegator.d.ts b/api/application/AbilityDelegator.d.ts index d7a91d0bf7..d1a9991abd 100644 --- a/api/application/AbilityDelegator.d.ts +++ b/api/application/AbilityDelegator.d.ts @@ -144,8 +144,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ addAbilityMonitorSync(monitor: AbilityMonitor): void; @@ -180,8 +179,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ addAbilityStageMonitor(monitor: AbilityStageMonitor, callback: AsyncCallback): void; @@ -216,8 +214,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ addAbilityStageMonitor(monitor: AbilityStageMonitor): Promise; @@ -240,8 +237,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ addAbilityStageMonitorSync(monitor: AbilityStageMonitor): void; @@ -276,8 +272,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityMonitor(monitor: AbilityMonitor, callback: AsyncCallback): void; @@ -312,8 +307,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityMonitor(monitor: AbilityMonitor): Promise; @@ -336,8 +330,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityMonitorSync(monitor: AbilityMonitor): void; @@ -372,8 +365,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityStageMonitor(monitor: AbilityStageMonitor, callback: AsyncCallback): void; @@ -408,8 +400,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityStageMonitor(monitor: AbilityStageMonitor): Promise; @@ -432,8 +423,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ removeAbilityStageMonitorSync(monitor: AbilityStageMonitor): void; @@ -468,8 +458,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityMonitor(monitor: AbilityMonitor, callback: AsyncCallback): void; @@ -507,8 +496,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityMonitor(monitor: AbilityMonitor, timeout: number, callback: AsyncCallback): void; @@ -546,8 +534,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityMonitor(monitor: AbilityMonitor, timeout?: number): Promise; @@ -582,8 +569,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityStageMonitor(monitor: AbilityStageMonitor, callback: AsyncCallback): void; @@ -621,8 +607,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityStageMonitor(monitor: AbilityStageMonitor, timeout: number, callback: AsyncCallback): void; @@ -660,8 +645,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ waitAbilityStageMonitor(monitor: AbilityStageMonitor, timeout?: number): Promise; @@ -720,8 +704,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ getAbilityState(ability: UIAbility): number; @@ -753,8 +736,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ getCurrentTopAbility(callback: AsyncCallback): void; @@ -783,8 +765,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ getCurrentTopAbility(): Promise; @@ -971,8 +952,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ doAbilityForeground(ability: UIAbility, callback: AsyncCallback): void; @@ -1007,8 +987,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ doAbilityForeground(ability: UIAbility): Promise; @@ -1043,8 +1022,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ doAbilityBackground(ability: UIAbility, callback: AsyncCallback): void; @@ -1079,8 +1057,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ doAbilityBackground(ability: UIAbility): Promise; @@ -1112,8 +1089,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ print(msg: string, callback: AsyncCallback): void; @@ -1145,8 +1121,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ print(msg: string): Promise; @@ -1284,8 +1259,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ finishTest(msg: string, code: number, callback: AsyncCallback): void; @@ -1326,8 +1300,7 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ finishTest(msg: string, code: number): Promise; diff --git a/api/application/AbilityMonitor.d.ts b/api/application/AbilityMonitor.d.ts index ed12270e97..b8ea83fc78 100644 --- a/api/application/AbilityMonitor.d.ts +++ b/api/application/AbilityMonitor.d.ts @@ -98,8 +98,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ moduleName?: string; @@ -123,8 +122,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onAbilityCreate?: (ability: UIAbility) => void; @@ -148,8 +146,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onAbilityForeground?: (ability: UIAbility) => void; @@ -173,8 +170,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onAbilityBackground?: (ability: UIAbility) => void; @@ -198,8 +194,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onAbilityDestroy?: (ability: UIAbility) => void; @@ -223,8 +218,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onWindowStageCreate?: (ability: UIAbility) => void; @@ -240,8 +234,7 @@ export interface AbilityMonitor { * @type { ?function }. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onWindowStageRestore?: (ability: UIAbility) => void; @@ -265,8 +258,7 @@ export interface AbilityMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ onWindowStageDestroy?: (ability: UIAbility) => void; } diff --git a/api/application/AbilityStageMonitor.d.ts b/api/application/AbilityStageMonitor.d.ts index 3ae8640147..e9848d71ed 100644 --- a/api/application/AbilityStageMonitor.d.ts +++ b/api/application/AbilityStageMonitor.d.ts @@ -43,8 +43,7 @@ * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export interface AbilityStageMonitor { /** @@ -69,8 +68,7 @@ export interface AbilityStageMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ moduleName: string; @@ -96,8 +94,7 @@ export interface AbilityStageMonitor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ srcEntrance: string; } diff --git a/api/application/AbilityStateData.d.ts b/api/application/AbilityStateData.d.ts index 2512f35105..860ba87d97 100644 --- a/api/application/AbilityStateData.d.ts +++ b/api/application/AbilityStateData.d.ts @@ -22,8 +22,7 @@ * The ability or extension state data. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ declare class AbilityStateData { /** @@ -31,8 +30,7 @@ declare class AbilityStateData { * * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ moduleName: string; @@ -41,8 +39,7 @@ declare class AbilityStateData { * * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ bundleName: string; @@ -51,8 +48,7 @@ declare class AbilityStateData { * * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ abilityName: string; @@ -71,8 +67,7 @@ declare class AbilityStateData { * * @type { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ uid: number; @@ -81,8 +76,7 @@ declare class AbilityStateData { * * @type { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ state: number; @@ -91,8 +85,7 @@ declare class AbilityStateData { * * @type { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ abilityType: number; diff --git a/api/application/ApplicationContext.d.ts b/api/application/ApplicationContext.d.ts index 988d517a9e..75ddd62331 100644 --- a/api/application/ApplicationContext.d.ts +++ b/api/application/ApplicationContext.d.ts @@ -487,8 +487,7 @@ declare class ApplicationContext extends Context { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ killAllProcesses(): Promise; @@ -511,8 +510,7 @@ declare class ApplicationContext extends Context { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ killAllProcesses(clearPageStack: boolean): Promise; @@ -707,8 +705,7 @@ declare class ApplicationContext extends Context { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ preloadUIExtensionAbility(want: Want): Promise; diff --git a/api/application/RunningMultiAppInfo.d.ts b/api/application/RunningMultiAppInfo.d.ts index cb77e92feb..1f46aaa2d6 100644 --- a/api/application/RunningMultiAppInfo.d.ts +++ b/api/application/RunningMultiAppInfo.d.ts @@ -28,8 +28,7 @@ import { RunningMultiInstanceInfo } from './RunningMultiInstanceInfo'; * @typedef RunningMultiAppInfo * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 */ export interface RunningMultiAppInfo { diff --git a/api/application/abilityDelegatorArgs.d.ts b/api/application/abilityDelegatorArgs.d.ts index 4f1d753bb5..9e15affc5c 100644 --- a/api/application/abilityDelegatorArgs.d.ts +++ b/api/application/abilityDelegatorArgs.d.ts @@ -120,8 +120,7 @@ export interface AbilityDelegatorArgs { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ testCaseNames: string; @@ -147,8 +146,7 @@ export interface AbilityDelegatorArgs { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ testRunnerClassName: string; } diff --git a/api/application/shellCmdResult.d.ts b/api/application/shellCmdResult.d.ts index a6b5ca83b4..198b04ea62 100644 --- a/api/application/shellCmdResult.d.ts +++ b/api/application/shellCmdResult.d.ts @@ -31,8 +31,7 @@ * @typedef ShellCmdResult * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ export interface ShellCmdResult { /** @@ -48,8 +47,7 @@ export interface ShellCmdResult { * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ stdResult: string; @@ -66,8 +64,7 @@ export interface ShellCmdResult { * @type { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ exitCode: number; } -- Gitee