1e41f4b71Sopenharmony_ci# Ability Subsystem ChangeLog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.ability.1 System API Usage Rule Change
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciSystem application verification is not performed for system APIs provided by the ability when they are called. The APIs can be used by a third-party application using the full SDK, which brings security risks. Therefore, application identity verification is added to OpenHarmony 4.0.2.1 and later versions.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci**Change Impacts**
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ciSystem APIs are available to only system applications. When a third-party application tries to use a system API, the **202** error will be returned via either an exception or asynchronous callback.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci**Key API/Component Changes**
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ciBelow are the system APIs.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci| Module                                | API                                                        | Error Code Return Mode|
16e41f4b71Sopenharmony_ci| -------------------------------------- | ------------------------------------------------------------ | -------------- |
17e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | updateConfiguration(config: Configuration, callback: AsyncCallback<void>): void | Asynchronous callback      |
18e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | updateConfiguration(config: Configuration): Promise<void>    | Asynchronous callback      |
19e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getAbilityRunningInfos(): Promise<Array<AbilityRunningInfo>> | Asynchronous callback      |
20e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getAbilityRunningInfos(callback: AsyncCallback<Array<AbilityRunningInfo>>): void | Asynchronous callback      |
21e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getExtensionRunningInfos(upperLimit: number): Promise<Array<ExtensionRunningInfo>> | Asynchronous callback      |
22e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback<Array<ExtensionRunningInfo>>): void | Asynchronous callback      |
23e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getTopAbility(): Promise<ElementName>                        | Exception        |
24e41f4b71Sopenharmony_ci| @ohos.app.ability.abilityManager.d.ts  | getTopAbility(callback: AsyncCallback<ElementName>): void    | Exception        |
25e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | on(type: "applicationState", observer: ApplicationStateObserver): number | Asynchronous callback      |
26e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | on(type: "applicationState", observer: ApplicationStateObserver, bundleNameList: Array<string>): number | Asynchronous callback      |
27e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | off(type: "applicationState", observerId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
28e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | off(type: "applicationState", observerId: number): Promise<void> | Asynchronous callback      |
29e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | getForegroundApplications(callback: AsyncCallback<Array<AppStateData>>): void | Asynchronous callback      |
30e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | getForegroundApplications(): Promise<Array<AppStateData>>    | Asynchronous callback      |
31e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | killProcessWithAccount(bundleName: string, accountId: number): Promise<void> | Asynchronous callback      |
32e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
33e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | killProcessesByBundleName(bundleName: string): Promise<void> | Asynchronous callback      |
34e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | killProcessesByBundleName(bundleName: string, callback: AsyncCallback<void>) | Asynchronous callback      |
35e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | clearUpApplicationData(bundleName: string): Promise<void>    | Asynchronous callback      |
36e41f4b71Sopenharmony_ci| @ohos.app.ability.appManager.d.ts      | clearUpApplicationData(bundleName: string, callback: AsyncCallback<void>) | Asynchronous callback      |
37e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | on(type: "mission", listener: MissionListener): number       | Asynchronous callback      |
38e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | off(type: "mission", listenerId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
39e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | off(type: "mission", listenerId: number): Promise<void>      | Asynchronous callback      |
40e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<MissionInfo>): void | Asynchronous callback      |
41e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionInfo(deviceId: string, missionId: number): Promise<MissionInfo> | Asynchronous callback      |
42e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback<Array<MissionInfo>>): void | Asynchronous callback      |
43e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionInfos(deviceId: string, numMax: number): Promise<Array<MissionInfo>> | Asynchronous callback      |
44e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback<MissionSnapshot>): void | Asynchronous callback      |
45e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnapshot> | Asynchronous callback      |
46e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback<MissionSnapshot>): void | Asynchronous callback      |
47e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnapshot> | Asynchronous callback      |
48e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | lockMission(missionId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
49e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | lockMission(missionId: number): Promise<void>                | Asynchronous callback      |
50e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | unlockMission(missionId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
51e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | unlockMission(missionId: number): Promise<void>              | Asynchronous callback      |
52e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | clearMission(missionId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
53e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | clearMission(missionId: number): Promise<void>               | Asynchronous callback      |
54e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | clearAllMissions(callback: AsyncCallback<void>): void        | Asynchronous callback      |
55e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | clearAllMissions(): Promise<void>                            | Asynchronous callback      |
56e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | moveMissionToFront(missionId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
57e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback<void>): void | Asynchronous callback      |
58e41f4b71Sopenharmony_ci| @ohos.app.ability.missionManager.d.ts  | moveMissionToFront(missionId: number, options?: StartOptions): Promise<void> | Asynchronous callback      |
59e41f4b71Sopenharmony_ci| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array<string>, callback: AsyncCallback<void>): void | Asynchronous callback      |
60e41f4b71Sopenharmony_ci| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array<string>): Promise<void> | Asynchronous callback      |
61e41f4b71Sopenharmony_ci| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string, callback: AsyncCallback<ApplicationQuickFixInfo>): void | Asynchronous callback      |
62e41f4b71Sopenharmony_ci| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string): Promise<ApplicationQuickFixInfo> | Asynchronous callback      |
63e41f4b71Sopenharmony_ci| @ohos.app.ability.wantAgent.d.ts       | getWant(agent: WantAgent, callback: AsyncCallback<Want>): void | Asynchronous callback      |
64e41f4b71Sopenharmony_ci| @ohos.app.ability.wantAgent.d.ts       | getWant(agent: WantAgent): Promise<Want>                     | Asynchronous callback      |
65e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | deleteForm(formId: string, callback: AsyncCallback<void>): void | Asynchronous callback      |
66e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | deleteForm(formId: string): Promise<void>                    | Asynchronous callback      |
67e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | releaseForm(formId: string, callback: AsyncCallback<void>): void | Asynchronous callback      |
68e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback<void>): void | Asynchronous callback      |
69e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | releaseForm(formId: string, isReleaseCache?: boolean): Promise<void> | Asynchronous callback      |
70e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | requestForm(formId: string, callback: AsyncCallback<void>): void | Asynchronous callback      |
71e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | requestForm(formId: string): Promise<void>                   | Asynchronous callback      |
72e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | castToNormalForm(formId: string, callback: AsyncCallback<void>): void | Asynchronous callback      |
73e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | castToNormalForm(formId: string): Promise<void>              | Asynchronous callback      |
74e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyVisibleForms(formIds: Array<string>, callback: AsyncCallback<void>): void | Asynchronous callback      |
75e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyVisibleForms(formIds: Array<string>): Promise<void>    | Asynchronous callback      |
76e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyInvisibleForms(formIds: Array<string>, callback: AsyncCallback<void>): void | Asynchronous callback      |
77e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyInvisibleForms(formIds: Array<string>): Promise<void>  | Asynchronous callback      |
78e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | enableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void>): void | Asynchronous callback      |
79e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | enableFormsUpdate(formIds: Array<string>): Promise<void>     | Asynchronous callback      |
80e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | disableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void>): void | Asynchronous callback      |
81e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | disableFormsUpdate(formIds: Array<string>): Promise<void>    | Asynchronous callback      |
82e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | isSystemReady(callback: AsyncCallback<void>): void           | Exception        |
83e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | isSystemReady(): Promise<void>                               | Exception        |
84e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | getAllFormsInfo(callback: AsyncCallback<Array<formInfo.FormInfo>>): void | Asynchronous callback      |
85e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | getAllFormsInfo(): Promise<Array<formInfo.FormInfo>>         | Asynchronous callback      |
86e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.FormInfo>>): void | Asynchronous callback      |
87e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback<Array<formInfo.FormInfo>>): void | Asynchronous callback      |
88e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formInfo.FormInfo>> | Asynchronous callback      |
89e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | deleteInvalidForms(formIds: Array<string>, callback: AsyncCallback<number>): void | Asynchronous callback      |
90e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | deleteInvalidForms(formIds: Array<string>): Promise<number>  | Asynchronous callback      |
91e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | acquireFormState(want: Want, callback: AsyncCallback<formInfo.FormStateInfo>): void | Asynchronous callback      |
92e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | acquireFormState(want: Want): Promise<formInfo.FormStateInfo> | Asynchronous callback      |
93e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | on(type: "formUninstall", callback: Callback<string>): void  | Exception        |
94e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | off(type: "formUninstall", callback?: Callback<string>): void | Exception        |
95e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsVisible(formIds: Array<string>, isVisible: boolean, callback: AsyncCallback<void>): void | Asynchronous callback      |
96e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsVisible(formIds: Array<string>, isVisible: boolean): Promise<void> | Asynchronous callback      |
97e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean, callback: AsyncCallback<void>): void | Asynchronous callback      |
98e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean): Promise<void> | Asynchronous callback      |
99e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | shareForm(formId: string, deviceId: string, callback: AsyncCallback<void>): void | Asynchronous callback      |
100e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | shareForm(formId: string, deviceId: string): Promise<void>   | Asynchronous callback      |
101e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean, callback: AsyncCallback<void>): void | Asynchronous callback      |
102e41f4b71Sopenharmony_ci| @ohos.app.form.formHost.d.ts           | notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean): Promise<void> | Asynchronous callback      |
103e41f4b71Sopenharmony_ci| @ohos.app.form.formProvider.d.ts       | requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData, callback: AsyncCallback<string>): void | Asynchronous callback      |
104e41f4b71Sopenharmony_ci| @ohos.app.form.formProvider.d.ts       | requestPublishForm(want: Want, callback: AsyncCallback<string>): void | Asynchronous callback      |
105e41f4b71Sopenharmony_ci| @ohos.app.form.formProvider.d.ts       | requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise<string> | Asynchronous callback      |
106e41f4b71Sopenharmony_ci| @ohos.app.form.formProvider.d.ts       | isRequestPublishFormSupported(callback: AsyncCallback<boolean>): void | Exception        |
107e41f4b71Sopenharmony_ci| @ohos.app.form.formProvider.d.ts       | isRequestPublishFormSupported(): Promise<boolean>            | Exception        |
108e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
109e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void | Asynchronous callback      |
110e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void> | Asynchronous callback      |
111e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback<AbilityResult>): void | Exception        |
112e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<AbilityResult>): void | Exception        |
113e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<AbilityResult> | Exception        |
114e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | Asynchronous callback      |
115e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startServiceExtensionAbility(want: Want): Promise<void>      | Asynchronous callback      |
116e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
117e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | Asynchronous callback      |
118e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | Asynchronous callback      |
119e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | stopServiceExtensionAbility(want: Want): Promise<void>       | Asynchronous callback      |
120e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
121e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | Asynchronous callback      |
122e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | Asynchronous callback      |
123e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | setMissionIcon(icon: image.PixelMap, callback: AsyncCallback<void>): void | Asynchronous callback      |
124e41f4b71Sopenharmony_ci| UIAbilityContext.d.ts                  | setMissionIcon(icon: image.PixelMap): Promise<void>          | Asynchronous callback      |
125e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
126e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void | Asynchronous callback      |
127e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void> | Asynchronous callback      |
128e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | Asynchronous callback      |
129e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startServiceExtensionAbility(want: Want): Promise<void>      | Asynchronous callback      |
130e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
131e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | Asynchronous callback      |
132e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | Asynchronous callback      |
133e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | stopServiceExtensionAbility(want: Want): Promise<void>       | Asynchronous callback      |
134e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | Asynchronous callback      |
135e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | Asynchronous callback      |
136e41f4b71Sopenharmony_ci| ServiceExtensionContext.d.ts           | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | Asynchronous callback      |
137e41f4b71Sopenharmony_ci| Context.d.ts                           | createBundleContext(bundleName: string): Context             | Exception        |
138e41f4b71Sopenharmony_ci| Context.d.ts                           | createModuleContext(bundleName: string, moduleName: string): Context | Exception        |
139e41f4b71Sopenharmony_ci| FormExtensionContext.d.ts              | startAbility(want: Want, callback: AsyncCallback<void>): void | Asynchronous callback      |
140e41f4b71Sopenharmony_ci| FormExtensionContext.d.ts              | startAbility(want: Want): Promise<void>                      | Asynchronous callback      |
141