| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfos(callback: AsyncCallback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfos(hostBundleName?: string): Promise<Array<formInfo.RunningFormInfo>>; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function on( type: 'notifyVisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string ): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function on( type: 'notifyInvisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string ): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function off(type: 'formAdd', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function off(type: 'formRemove', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function off( type: 'notifyVisible', observerCallback?: Callback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string ): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function off( type: 'notifyInvisible', observerCallback?: Callback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string ): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfosByFilter( formProviderFilter: formInfo.FormProviderFilter ): Promise<Array<formInfo.RunningFormInfo>>; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfosByFilter( formProviderFilter: formInfo.FormProviderFilter, callback: AsyncCallback<Array<formInfo.RunningFormInfo>> ): void; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfoById(formId: string): Promise<formInfo.RunningFormInfo>; | NA | @ohos.app.form.formHost.d.ts |
| Deleted | Class name: formHost; Method or attribute name: function getRunningFormInfoById(formId: string, callback: AsyncCallback<formInfo.RunningFormInfo>): void; | NA | @ohos.app.form.formHost.d.ts |
| Added | NA | Class name: appManager; Method or attribute name: export type ProcessData = _ProcessData.default; | @ohos.app.ability.appManager.d.ts |
| Added | NA | Class name: common; Method or attribute name: export type UIExtensionContext = _UIExtensionContext.default; | @ohos.app.ability.common.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbility(want: Want, callback: AsyncCallback<void>): void; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void>): void; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise<void>; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: UIExtensionContentSession; Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>; | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Added | NA | Class name: Flags; Method or attribute name: FLAG_AUTH_PERSISTABLE_URI_PERMISSION = 0x00000040 | @ohos.app.ability.wantConstant.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'formAdd', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'formRemove', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'notifyVisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on( type: 'notifyVisible', hostBundleName: string, observerCallback: Callback<Array<formInfo.RunningFormInfo>> ): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on(type: 'notifyInvisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function on( type: 'notifyInvisible', hostBundleName: string, observerCallback: Callback<Array<formInfo.RunningFormInfo>>, ): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function off(type: 'formAdd', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function off(type: 'formRemove', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function off( type: 'notifyVisible', hostBundleName?: string, observerCallback?: Callback<Array<formInfo.RunningFormInfo>> ): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function off( type: 'notifyInvisible', hostBundleName?: string, observerCallback?: Callback<Array<formInfo.RunningFormInfo>> ): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfos(callback: AsyncCallback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfos(hostBundleName?: string): Promise<Array<formInfo.RunningFormInfo>>; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfosByFilter( formProviderFilter: formInfo.FormProviderFilter ): Promise<Array<formInfo.RunningFormInfo>>; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfosByFilter( formProviderFilter: formInfo.FormProviderFilter, callback: AsyncCallback<Array<formInfo.RunningFormInfo>> ): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfoById(formId: string): Promise<formInfo.RunningFormInfo>; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: formObserver; Method or attribute name: function getRunningFormInfoById(formId: string, callback: AsyncCallback<formInfo.RunningFormInfo>): void; | @ohos.app.form.formObserver.d.ts |
| Added | NA | Class name: continuationManager; Method or attribute name: export type ContinuationResult = _ContinuationResult; | @ohos.continuation.continuationManager.d.ts |
| Added | NA | Class name: continuationManager; Method or attribute name: export type ContinuationExtraParams = _ContinuationExtraParams; | @ohos.continuation.continuationManager.d.ts |
| Added | NA | Class name: distributedMissionManager; Method or attribute name: export type ContinueCallback = _ContinueCallback; | @ohos.distributedMissionManager.d.ts |
| Added | NA | Class name: distributedMissionManager; Method or attribute name: export type ContinueDeviceInfo = _ContinueDeviceInfo; | @ohos.distributedMissionManager.d.ts |
| Added | NA | Class name: distributedMissionManager; Method or attribute name: export type MissionCallback = _MissionCallback; | @ohos.distributedMissionManager.d.ts |
| Added | NA | Class name: distributedMissionManager; Method or attribute name: export type MissionDeviceInfo = _MissionDeviceInfo; | @ohos.distributedMissionManager.d.ts |
| Added | NA | Class name: distributedMissionManager; Method or attribute name: export type MissionParameter = _MissionParameter; | @ohos.distributedMissionManager.d.ts |
| Added | NA | Class name: AbilityDelegator; Method or attribute name: addAbilityMonitorSync(monitor: AbilityMonitor): void; | AbilityDelegator.d.ts |
| Added | NA | Class name: AbilityDelegator; Method or attribute name: addAbilityStageMonitorSync(monitor: AbilityStageMonitor): void; | AbilityDelegator.d.ts |
| Added | NA | Class name: AbilityDelegator; Method or attribute name: removeAbilityMonitorSync(monitor: AbilityMonitor): void; | AbilityDelegator.d.ts |
| Added | NA | Class name: AbilityDelegator; Method or attribute name: removeAbilityStageMonitorSync(monitor: AbilityStageMonitor): void; | AbilityDelegator.d.ts |
| Added | NA | Class name: UIExtensionContext; Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number; | UIExtensionContext.d.ts |
| Added | NA | Class name: UIExtensionContext; Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback<void>): void; | UIExtensionContext.d.ts |
| Added | NA | Class name: UIExtensionContext; Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise<void>; | UIExtensionContext.d.ts |
| Error code changed | Class name: UIExtensionContentSession; Method or attribute name: sendData(data: { [key: string]: Object }): void; Old version information: 401, 16000050 | Class name: UIExtensionContentSession; Method or attribute name: sendData(data: { [key: string]: Object }): void; New version information: 202,401, 16000050 | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Error code changed | Class name: UIExtensionContentSession; Method or attribute name: setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void; Old version information: 401, 16000050 | Class name: UIExtensionContentSession; Method or attribute name: setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void; New version information: 202,401, 16000050 | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Error code changed | Class name: UIExtensionContentSession; Method or attribute name: setWindowBackgroundColor(color: string): void; Old version information: 401, 16000050 | Class name: UIExtensionContentSession; Method or attribute name: setWindowBackgroundColor(color: string): void; New version information: 202,401, 16000050 | @ohos.app.ability.UIExtensionContentSession.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: export enum ProcessState Old version information: systemapi | Class name: ProcessState; Method or attribute name: export enum ProcessState New version information: | @ohos.app.ability.appManager.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: STATE_CREATE Old version information: systemapi | Class name: ProcessState; Method or attribute name: STATE_CREATE New version information: | @ohos.app.ability.appManager.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: STATE_FOREGROUND Old version information: systemapi | Class name: ProcessState; Method or attribute name: STATE_FOREGROUND New version information: | @ohos.app.ability.appManager.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: STATE_ACTIVE Old version information: systemapi | Class name: ProcessState; Method or attribute name: STATE_ACTIVE New version information: | @ohos.app.ability.appManager.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: STATE_BACKGROUND Old version information: systemapi | Class name: ProcessState; Method or attribute name: STATE_BACKGROUND New version information: | @ohos.app.ability.appManager.d.ts |
| Access level changed | Class name: ProcessState; Method or attribute name: STATE_DESTROY Old version information: systemapi | Class name: ProcessState; Method or attribute name: STATE_DESTROY New version information: | @ohos.app.ability.appManager.d.ts |
| Model changed | Class name: common; Method or attribute name: export type BaseContext = _BaseContext.default; Old version information: | Class name: common; Method or attribute name: export type BaseContext = _BaseContext.default; New version information: StageModelOnly | @ohos.app.ability.common.d.ts |
| Model changed | Class name: AreaMode; Method or attribute name: EL1 = 0 Old version information: | Class name: AreaMode; Method or attribute name: EL1 = 0 New version information: StageModelOnly | @ohos.app.ability.contextConstant.d.ts |
| Model changed | Class name: AreaMode; Method or attribute name: EL2 = 1 Old version information: | Class name: AreaMode; Method or attribute name: EL2 = 1 New version information: StageModelOnly | @ohos.app.ability.contextConstant.d.ts |
| Model changed | Class name: ExtensionContext; Method or attribute name: extensionAbilityInfo: ExtensionAbilityInfo; Old version information: | Class name: ExtensionContext; Method or attribute name: extensionAbilityInfo: ExtensionAbilityInfo; New version information: StageModelOnly | ExtensionContext.d.ts |
| Type changed | Class name: ContinueMissionInfo; Method or attribute name: srcDeviceId: string; Old version information: | Class name: ContinueMissionInfo; Method or attribute name: srcDeviceId: string; New version information: string | ContinueMissionInfo.d.ts |
| Type changed | Class name: ContinueMissionInfo; Method or attribute name: dstDeviceId: string; Old version information: | Class name: ContinueMissionInfo; Method or attribute name: dstDeviceId: string; New version information: string | ContinueMissionInfo.d.ts |
| Type changed | Class name: ContinueMissionInfo; Method or attribute name: bundleName: string; Old version information: | Class name: ContinueMissionInfo; Method or attribute name: bundleName: string; New version information: string | ContinueMissionInfo.d.ts |
| Type changed | Class name: ContinueMissionInfo; Method or attribute name: wantParam: { [key: string]: Object }; Old version information: | Class name: ContinueMissionInfo; Method or attribute name: wantParam: { [key: string]: Object }; New version information: object | ContinueMissionInfo.d.ts |
| Function changed | Class name: UIAbility; Method or attribute name: onCreate(want: Want, param: AbilityConstant.LaunchParam): void; | Class name: UIAbility; Method or attribute name: onCreate(want: Want, launchParam: AbilityConstant.LaunchParam): void; | @ohos.app.ability.UIAbility.d.ts |
| Function changed | Class name: UIAbility; Method or attribute name: onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; | Class name: UIAbility; Method or attribute name: onNewWant(want: Want, launchParam: AbilityConstant.LaunchParam): void; | @ohos.app.ability.UIAbility.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication
harmony 鸿蒙js-apidiff-compiler-and-runtime