diff --git a/api/@ohos.app.ability.abilityManager.d.ts b/api/@ohos.app.ability.abilityManager.d.ts index 62726632ab6797fb2339af7a52bcea035c1be726..66ec5e5e1cf911a809ca0191e097b5e4879fe4d3 100644 --- a/api/@ohos.app.ability.abilityManager.d.ts +++ b/api/@ohos.app.ability.abilityManager.d.ts @@ -22,10 +22,10 @@ import { AsyncCallback } from './@ohos.base'; import { ElementName } from './bundleManager/ElementName'; import { AbilityRunningInfo as _AbilityRunningInfo } from './application/AbilityRunningInfo'; import { ExtensionRunningInfo as _ExtensionRunningInfo } from './application/ExtensionRunningInfo'; +import { Configuration } from './@ohos.app.ability.Configuration'; import Context from './application/Context'; /*** if arkts 1.1 */ import { AbilityResult } from './ability/abilityResult'; -import { Configuration } from './@ohos.app.ability.Configuration'; import * as _AbilityForegroundStateObserver from './application/AbilityForegroundStateObserver'; import * as _AbilityStateData from './application/AbilityStateData'; /*** endif */ @@ -240,7 +240,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ function updateConfiguration(config: Configuration, callback: AsyncCallback): void; @@ -257,7 +258,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ function updateConfiguration(config: Configuration): Promise; @@ -381,7 +383,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function acquireShareData(missionId: int, callback: AsyncCallback>): void; @@ -409,7 +412,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function acquireShareData(missionId: int): Promise>; @@ -511,7 +515,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ function notifyDebugAssertResult(sessionId: string, status: UserStatus): Promise; @@ -528,7 +533,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16200006 - The caller application can only set the resident status of the configured process. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ function setResidentProcessEnabled(bundleName: string, enable: boolean): Promise; diff --git a/api/application/ServiceExtensionContext.d.ts b/api/application/ServiceExtensionContext.d.ts index 282dbd664aa2761068b843fb99b4f8f2c28ac666..952ec53d25b3f1a77e02e483cf5605dc45e3cafd 100644 --- a/api/application/ServiceExtensionContext.d.ts +++ b/api/application/ServiceExtensionContext.d.ts @@ -21,8 +21,8 @@ /*** if arkts 1.1 */ import { Caller } from '../@ohos.app.ability.UIAbility'; import OpenLinkOptions from '../@ohos.app.ability.OpenLinkOptions'; -import type AtomicServiceOptions from '../@ohos.app.ability.AtomicServiceOptions'; /*** endif */ +import AtomicServiceOptions from '../@ohos.app.ability.AtomicServiceOptions'; import { AsyncCallback } from '../@ohos.base'; import { ConnectOptions } from '../ability/connectOptions'; import ExtensionContext from './ExtensionContext'; @@ -2534,7 +2534,8 @@ declare class ServiceExtensionContext extends ExtensionContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 18 + * @since arkts {'1.1':'18', '1.2':'20'} + * @arkts 1.1&1.2 */ openAtomicService(appId: string, options?: AtomicServiceOptions): Promise; }