提交 e09df57d 编写于 作者: G Gloria

Update docs against 21682+21844+21816+21846+21966+21918

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 bae87b24
此差异已折叠。
......@@ -8,6 +8,7 @@
- [OpenHarmony v3.2 Release (2023-04-09)](OpenHarmony-v3.2-release.md)
- [OpenHarmony v3.2.1 Release (2023-05-22)](OpenHarmony-v3.2.1-release.md)
- [OpenHarmony v3.2.2 Release (2023-06-27)](OpenHarmony-v3.2.2-release.md)
- [OpenHarmony v3.2 Beta5 (2023-01-31)](OpenHarmony-v3.2-beta5.md)
- [OpenHarmony v3.2 Beta4 (2022-11-30)](OpenHarmony-v3.2-beta4.md)
- [OpenHarmony v3.2 Beta3 (2022-09-30)](OpenHarmony-v3.2-beta3.md)
......
# Readme
- [Ability framework](js-apidiff-ability.md)
- [Account subsystem](js-apidiff-account.md)
- [AI subsystem](js-apidiff-ai.md)
- [System Applications](js-apidiff-application.md)
- [ArkUI development framework](js-apidiff-arkui.md)
- [Power management subsystem](js-apidiff-battery.md)
- [Bundle management framework](js-apidiff-bundle.md)
- [Communication subsystem](js-apidiff-communication.md)
- [Compiler and runtime subsystem](js-apidiff-compiler-and-runtime.md)
- [Customization subsystem](js-apidiff-customization.md)
- [DFX subsystem](js-apidiff-dfx.md)
- [Distributed data management subsystem](js-apidiff-distributed-data.md)
- [Distributed hardware subsystem](js-apidiff-distributed-hardware.md)
- [Upload and download](js-apidiff-download-upload.md)
- [Driver subsystem](js-apidiff-driver.md)
- [File management subsystem](js-apidiff-file-management.md)
- [Geolocation subsystem](js-apidiff-geolocation.md)
- [Globalization subsystem](js-apidiff-global.md)
- [Misc services subsystem](js-apidiff-misc.md)
- [MSDP subsystem](js-apidiff-msdp.md)
- [Multimodal input subsystem](js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](js-apidiff-multimedia.md)
- [Common event and notification subsystem](js-apidiff-notification.md)
- [Resource scheduler subsystem](js-apidiff-resource-scheduler.md)
- [Security subsystem](js-apidiff-security.md)
- [Pan-sensor subsystem](js-apidiff-sensor.md)
- [Startup subsystem](js-apidiff-start-up.md)
- [Telephony subsystem](js-apidiff-telephony.md)
- [Test subsystem](js-apidiff-unitest.md)
- [USB subsystem](js-apidiff-usb.md)
- [Web subsystem](js-apidiff-web.md)
- [Window manager subsystem](js-apidiff-window.md)
\ No newline at end of file
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: AuthorizationExtensionAbility;<br>Method or attribute name: onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Added|NA|Class name: AuthorizationRequest;<br>Method or attribute name: readonly callerUid: number;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Added|NA|Class name: AuthorizationRequest;<br>Method or attribute name: readonly parameters: appAccount.AccountCapabilityRequest;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Added|NA|Class name: AuthorizationCallback;<br>Method or attribute name: onResult: AsyncCallback\<appAccount.AccountCapabilityResponse, { [key: string]: object }>;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Added|NA|Class name: AccountCapabilityType;<br>Method or attribute name: AUTHORIZATION = 1|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityProvider;<br>Method or attribute name: readonly capabilityType: AccountCapabilityType;|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityProvider;<br>Method or attribute name: constructor(capabilityType: AccountCapabilityType);|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AuthorizationProvider;<br>Method or attribute name: constructor(info: AuthorizationProviderInfo);|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AuthorizationProviderInfo;<br>Method or attribute name: readonly bundleName: string;|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AuthorizationProviderInfo;<br>Method or attribute name: readonly abilityName: string;|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityRequest;<br>Method or attribute name: constructor(provider: AccountCapabilityProvider);|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityResponse;<br>Method or attribute name: readonly request: AccountCapabilityRequest;|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityResponse;<br>Method or attribute name: constructor(request: AccountCapabilityRequest);|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityScheduler;<br>Method or attribute name: executeRequest(<br> request: AccountCapabilityRequest,<br> callback: AsyncCallback\<AccountCapabilityResponse, { [key: string]: object }><br> ): void;|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountCapabilityScheduler;<br>Method or attribute name: executeRequest(request: AccountCapabilityRequest): Promise\<AccountCapabilityResponse>;|@ohos.account.appAccount.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Model;<br>Method or attribute name: getInputs(): MSTensor[];|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Model;<br>Method or attribute name: predict(inputs: MSTensor[], callback: Callback\<MSTensor[]>): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Model;<br>Method or attribute name: predict(inputs: MSTensor[]): Promise\<MSTensor[]>;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Model;<br>Method or attribute name: resize(inputs: MSTensor[], dims: Array\<Array\<number>>): boolean;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Context;<br>Method or attribute name: target?: string[];|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Context;<br>Method or attribute name: cpu?: CpuDevice;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Context;<br>Method or attribute name: nnrt?: NNRTDevice;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadNum?: number;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadAffinityMode?: ThreadAffinityMode;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadAffinityCoreList?: number[];|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: CpuDevice;<br>Method or attribute name: precisionMode?: string;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: NO_AFFINITIES = 0|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: BIG_CORES_FIRST = 1|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: LITTLE_CORES_FIRST = 2|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: name: string;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: shape: number[];|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: elementNum: number;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: dataSize: number;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: dtype: DataType;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: format: Format;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: getData(): ArrayBuffer;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: MSTensor;<br>Method or attribute name: setData(inputArray: ArrayBuffer): void;|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: TYPE_UNKNOWN = 0|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT8 = 32|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT16 = 33|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT32 = 34|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT64 = 35|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT8 = 37|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT16 = 38|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT32 = 39|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT64 = 40|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT16 = 42|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT32 = 43|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT64 = 44|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: DEFAULT_FORMAT = -1|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: NCHW = 0|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: NHWC = 1|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: NHWC4 = 2|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: HWKC = 3|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: HWCK = 4|@ohos.ai.mindSporeLite.d.ts|
|Added|NA|Class name: Format;<br>Method or attribute name: KCHW = 5|@ohos.ai.mindSporeLite.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: settings;<br>Method or attribute name: function getValue(context: Context, name: string, callback: AsyncCallback\<string>): void;|@ohos.settings.d.ts|
|Added|NA|Class name: settings;<br>Method or attribute name: function getValue(context: Context, name: string): Promise\<string>;|@ohos.settings.d.ts|
|Added|NA|Class name: settings;<br>Method or attribute name: function setValue(context: Context, name: string, value: string, callback: AsyncCallback\<boolean>): void;|@ohos.settings.d.ts|
|Added|NA|Class name: settings;<br>Method or attribute name: function setValue(context: Context, name: string, value: string): Promise\<boolean>;|@ohos.settings.d.ts|
|Added|NA|Class name: settings;<br>Method or attribute name: function getValueSync(context: Context, name: string, defValue: string): string;|@ohos.settings.d.ts|
|Added|NA|Class name: settings;<br>Method or attribute name: function setValueSync(context: Context, name: string, value: string): boolean;|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings;<br>Method or attribute name: function getURI(name: string): Promise\<object>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function getURI(name: string): Promise\<object>;<br>New version information: 9<br>Substitute API: |@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>New version information: 9<br>Substitute API: ohos.settings#getValue|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>New version information: 9<br>Substitute API: ohos.settings#setValue|@ohos.settings.d.ts|
|Error code added|Class name: call;<br>Method or attribute name: function makeCall(phoneNumber: string): Promise\<void>;<br>Old version information: |Class name: call;<br>Method or attribute name: function makeCall(phoneNumber: string): Promise\<void>;<br>New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Access level changed|Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>New version information: systemapi|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>Old version information: FAModelOnly|Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>New version information: famodelonly|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>New version information: famodelonly|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>Old version information: FAModelOnly|Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>New version information: famodelonly|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>Old version information: |Class name: settings;<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>New version information: famodelonly|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Old version information: FAModelOnly|Class name: settings;<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>New version information: famodelonly|@ohos.settings.d.ts|
|Model changed|Class name: settings;<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Old version information: FAModelOnly|Class name: settings;<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>New version information: famodelonly|@ohos.settings.d.ts|
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: power;<br>Method or attribute name: function isStandby(): boolean;|@ohos.power.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_INVALID = -17<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_INVALID = -17<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_APP<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_APP<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_BLUETOOTH<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_BLUETOOTH<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_IDLE<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_IDLE<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_PHONE<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_PHONE<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_RADIO<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_RADIO<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_SCREEN<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_SCREEN<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_USER<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_USER<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_WIFI<br>Old version information: |Class name: ConsumptionType;<br>Method or attribute name: CONSUMPTION_TYPE_WIFI<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: BatteryStatsInfo;<br>Method or attribute name: uid: number;<br>Old version information: |Class name: BatteryStatsInfo;<br>Method or attribute name: uid: number;<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: BatteryStatsInfo;<br>Method or attribute name: type: ConsumptionType;<br>Old version information: |Class name: BatteryStatsInfo;<br>Method or attribute name: type: ConsumptionType;<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
|Access level changed|Class name: BatteryStatsInfo;<br>Method or attribute name: power: number;<br>Old version information: |Class name: BatteryStatsInfo;<br>Method or attribute name: power: number;<br>New version information: systemapi|@ohos.batteryStatistics.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly bundleName: string;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly moduleName: string;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly name: string;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly labelId: number;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly descriptionId: number;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly iconId: number;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly businessType: businessAbilityRouter.BusinessType;|NA|BusinessAbilityInfo.d.ts|
|Deleted|Class name: BusinessAbilityInfo;<br>Method or attribute name: readonly applicationInfo: ApplicationInfo;|NA|BusinessAbilityInfo.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;|@ohos.bundle.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getSpecifiedDistributionType(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getAdditionalInfo(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts|
|Added|NA|Class name: ExtensionAbilityType;<br>Method or attribute name: PUSH = 17|@ohos.bundle.bundleManager.d.ts|
|Added|NA|Class name: ExtensionAbilityType;<br>Method or attribute name: APP_ACCOUNT_AUTHORIZATION = 19|@ohos.bundle.bundleManager.d.ts|
|Added|NA|Class name: VerifyCodeParam;<br>Method or attribute name: moduleName: string;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: VerifyCodeParam;<br>Method or attribute name: signatureFilePath: string;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: InstallParam;<br>Method or attribute name: specifiedDistributionType?: string;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: InstallParam;<br>Method or attribute name: additionalInfo?: string;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: InstallParam;<br>Method or attribute name: verifyCodeParams?: Array\<VerifyCodeParam>;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: ReqPermissionDetail;<br>Method or attribute name: moduleName: string;|BundleInfo.d.ts|
|Error code changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>Old version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>New version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|Error code changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>Old version information: 201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>New version information: 201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|Error code changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>Old version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>New version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|Error code changed|Class name: zlib;<br>Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>Old version information: 401,900001,900002|Class name: zlib;<br>Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>New version information: 401,900001,900002,900003|@ohos.zlib.d.ts|
|Error code changed|Class name: zlib;<br>Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>Old version information: 401,900001,900002|Class name: zlib;<br>Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>New version information: 401,900001,900002,900003|@ohos.zlib.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;<br>Method or attribute name: function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|Permission changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|Permission changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|Permission changed|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|Model changed|Class name: AbilityType;<br>Method or attribute name: PAGE = 1<br>Old version information: |Class name: AbilityType;<br>Method or attribute name: PAGE = 1<br>New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts|
|Model changed|Class name: AbilityType;<br>Method or attribute name: SERVICE = 2<br>Old version information: |Class name: AbilityType;<br>Method or attribute name: SERVICE = 2<br>New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts|
|Model changed|Class name: AbilityType;<br>Method or attribute name: DATA = 3<br>Old version information: |Class name: AbilityType;<br>Method or attribute name: DATA = 3<br>New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: ConditionType;<br>Method or attribute name: timeout?: number;|@ohos.process.d.ts|
|Added|NA|Class name: ConditionType;<br>Method or attribute name: killSignal?: number \| string;|@ohos.process.d.ts|
|Added|NA|Class name: ConditionType;<br>Method or attribute name: maxBuffer?: number;|@ohos.process.d.ts|
|Added|NA|Class name: taskpool;<br>Method or attribute name: function execute(group: TaskGroup, priority?: Priority): Promise\<unknown[]>;|@ohos.taskpool.d.ts|
|Added|NA|Class name: taskpool;<br>Method or attribute name: function cancel(group: TaskGroup): void;|@ohos.taskpool.d.ts|
|Added|NA|Class name: taskpool;<br>Method or attribute name: function getTaskPoolInfo(): TaskPoolInfo;|@ohos.taskpool.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: static isCanceled(): boolean;|@ohos.taskpool.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: setTransferList(transfer?: ArrayBuffer[]): void;|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskGroup;<br>Method or attribute name: constructor();|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskGroup;<br>Method or attribute name: addTask(func: Function, ...args: unknown[]): void;|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskGroup;<br>Method or attribute name: addTask(task: Task): void;|@ohos.taskpool.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: WAITING = 1|@ohos.taskpool.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: RUNNING = 2|@ohos.taskpool.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: CANCELED = 3|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: taskId: number;|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: state: State;|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: duration?: number;|@ohos.taskpool.d.ts|
|Added|NA|Class name: ThreadInfo;<br>Method or attribute name: tid: number;|@ohos.taskpool.d.ts|
|Added|NA|Class name: ThreadInfo;<br>Method or attribute name: taskIds?: number[];|@ohos.taskpool.d.ts|
|Added|NA|Class name: ThreadInfo;<br>Method or attribute name: priority?: Priority;|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskPoolInfo;<br>Method or attribute name: threadInfos: ThreadInfo[];|@ohos.taskpool.d.ts|
|Added|NA|Class name: TaskPoolInfo;<br>Method or attribute name: taskInfos: TaskInfo[];|@ohos.taskpool.d.ts|
|Added|NA|Class name: Type;<br>Method or attribute name: BASIC|@ohos.util.d.ts|
|Added|NA|Class name: Type;<br>Method or attribute name: MIME|@ohos.util.d.ts|
|Error code added|Class name: WorkerEventListener;<br>Method or attribute name: (event: Event): void \| Promise\<void>;<br>Old version information: |Class name: WorkerEventListener;<br>Method or attribute name: (event: Event): void \| Promise\<void>;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorkerGlobalScope;<br>Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>Old version information: |Class name: ThreadWorkerGlobalScope;<br>Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorkerGlobalScope;<br>Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>Old version information: |Class name: ThreadWorkerGlobalScope;<br>Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorker;<br>Method or attribute name: onexit?: (code: number) => void;<br>Old version information: |Class name: ThreadWorker;<br>Method or attribute name: onexit?: (code: number) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorker;<br>Method or attribute name: onerror?: (err: ErrorEvent) => void;<br>Old version information: |Class name: ThreadWorker;<br>Method or attribute name: onerror?: (err: ErrorEvent) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorker;<br>Method or attribute name: onmessage?: (event: MessageEvents) => void;<br>Old version information: |Class name: ThreadWorker;<br>Method or attribute name: onmessage?: (event: MessageEvents) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code added|Class name: ThreadWorker;<br>Method or attribute name: onmessageerror?: (event: MessageEvents) => void;<br>Old version information: |Class name: ThreadWorker;<br>Method or attribute name: onmessageerror?: (event: MessageEvents) => void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code changed|Class name: taskpool;<br>Method or attribute name: function cancel(task: Task): void;<br>Old version information: 401,10200015,10200016|Class name: taskpool;<br>Method or attribute name: function cancel(task: Task): void;<br>New version information: 401,10200015|@ohos.taskpool.d.ts|
|Error code changed|Class name: Vector;<br>Method or attribute name: insert(element: T, index: number): void;<br>Old version information: If|Class name: Vector;<br>Method or attribute name: insert(element: T, index: number): void;<br>New version information: |@ohos.util.Vector.d.ts|
|Error code changed|Class name: Vector;<br>Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;<br>Old version information: If|Class name: Vector;<br>Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;<br>New version information: |@ohos.util.Vector.d.ts|
|Error code changed|Class name: Vector;<br>Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>Old version information: If|Class name: Vector;<br>Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>New version information: |@ohos.util.Vector.d.ts|
|Error code changed|Class name: WorkerEventTarget;<br>Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;<br>Old version information: 401,10200004|Class name: WorkerEventTarget;<br>Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code changed|Class name: ThreadWorker;<br>Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;<br>Old version information: 401,10200004|Class name: ThreadWorker;<br>Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code changed|Class name: ThreadWorker;<br>Method or attribute name: on(type: string, listener: WorkerEventListener): void;<br>Old version information: 401,10200004|Class name: ThreadWorker;<br>Method or attribute name: on(type: string, listener: WorkerEventListener): void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code changed|Class name: ThreadWorker;<br>Method or attribute name: once(type: string, listener: WorkerEventListener): void;<br>Old version information: 401,10200004|Class name: ThreadWorker;<br>Method or attribute name: once(type: string, listener: WorkerEventListener): void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Error code changed|Class name: ThreadWorker;<br>Method or attribute name: off(type: string, listener?: WorkerEventListener): void;<br>Old version information: 401,10200004|Class name: ThreadWorker;<br>Method or attribute name: off(type: string, listener?: WorkerEventListener): void;<br>New version information: 401,10200004,10200005|@ohos.worker.d.ts|
|Type changed|Class name: Task;<br>Method or attribute name: arguments?: unknown[];<br>Old version information: |Class name: Task;<br>Method or attribute name: arguments?: unknown[];<br>New version information: ?unknown[]|@ohos.taskpool.d.ts|
|Function changed|Class name: process;<br>Method or attribute name: function runCmd(command: string,<br><br> options?: { timeout?: number, killSignal?: number \| string, maxBuffer?: number }): ChildProcess;|Class name: process;<br>Method or attribute name: function runCmd(<br><br> command: string,<br><br> options?: ConditionType<br><br> ): ChildProcess;|@ohos.process.d.ts|
|Function changed|Class name: Priority;<br>Method or attribute name: HIGH|Class name: Priority;<br>Method or attribute name: HIGH = 0|@ohos.taskpool.d.ts|
|Function changed|Class name: Priority;<br>Method or attribute name: MEDIUM|Class name: Priority;<br>Method or attribute name: MEDIUM = 1|@ohos.taskpool.d.ts|
|Function changed|Class name: Priority;<br>Method or attribute name: LOW|Class name: Priority;<br>Method or attribute name: LOW = 2|@ohos.taskpool.d.ts|
|Function changed|Class name: Base64Helper;<br>Method or attribute name: encodeToStringSync(src: Uint8Array): string;|Class name: Base64Helper;<br>Method or attribute name: encodeToStringSync(src: Uint8Array, options?: Type): string;|@ohos.util.d.ts|
|Function changed|Class name: Base64Helper;<br>Method or attribute name: decodeSync(src: Uint8Array \| string): Uint8Array;|Class name: Base64Helper;<br>Method or attribute name: decodeSync(src: Uint8Array \| string, options?: Type): Uint8Array;|@ohos.util.d.ts|
|Function changed|Class name: Base64Helper;<br>Method or attribute name: encodeToString(src: Uint8Array): Promise\<string>;|Class name: Base64Helper;<br>Method or attribute name: encodeToString(src: Uint8Array, options?: Type): Promise\<string>;|@ohos.util.d.ts|
|Function changed|Class name: Base64Helper;<br>Method or attribute name: decode(src: Uint8Array \| string): Promise\<Uint8Array>;|Class name: Base64Helper;<br>Method or attribute name: decode(src: Uint8Array \| string, options?: Type): Promise\<Uint8Array>;|@ohos.util.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: browser;<br>Method or attribute name: function setPolicies(admin: Want, appId: string, policies: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.browser.d.ts|
|Added|NA|Class name: browser;<br>Method or attribute name: function setPolicies(admin: Want, appId: string, policies: string): Promise\<void>;|@ohos.enterprise.browser.d.ts|
|Added|NA|Class name: browser;<br>Method or attribute name: function getPolicies(admin: Want, appId: string, callback: AsyncCallback\<string>): void;|@ohos.enterprise.browser.d.ts|
|Added|NA|Class name: browser;<br>Method or attribute name: function getPolicies(admin: Want, appId: string): Promise\<string>;|@ohos.enterprise.browser.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getDisallowedUninstallBundles(admin: Want, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getDisallowedUninstallBundles(admin: Want, userId: number, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function getDisallowedUninstallBundles(admin: Want, userId?: number): Promise\<Array\<string>>;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function uninstall(admin: Want, bundleName: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function uninstall(admin: Want, bundleName: string, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function uninstall(admin: Want, bundleName: string, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function uninstall(admin: Want, bundleName: string, userId: number, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: bundleManager;<br>Method or attribute name: function uninstall(admin: Want, bundleName: string, userId?: number, isKeepData?: boolean): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|Added|NA|Class name: deviceSettings;<br>Method or attribute name: function getScreenOffTime(admin: Want, callback: AsyncCallback\<number>): void;|@ohos.enterprise.deviceSettings.d.ts|
|Added|NA|Class name: deviceSettings;<br>Method or attribute name: function getScreenOffTime(admin: Want): Promise\<number>;|@ohos.enterprise.deviceSettings.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function listIptablesFilterRules(admin: Want, callback: AsyncCallback\<string>): void;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: networkManager;<br>Method or attribute name: function listIptablesFilterRules(admin: Want): Promise\<string>;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddMethod;<br>Method or attribute name: APPEND = 0|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddMethod;<br>Method or attribute name: INSERT = 1|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Direction;<br>Method or attribute name: INPUT = 0|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Direction;<br>Method or attribute name: OUTPUT = 1|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Action;<br>Method or attribute name: ALLOW = 0|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Action;<br>Method or attribute name: DENY = 1|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Protocol;<br>Method or attribute name: ALL = 0|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Protocol;<br>Method or attribute name: TCP = 1|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Protocol;<br>Method or attribute name: UDP = 2|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: Protocol;<br>Method or attribute name: ICMP = 3|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: ruleNo?: number;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: srcAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: srcAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: destAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: destAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: srcPort?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: srcPort?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: destPort?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: destPort?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: uid?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: uid?: string;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: method: AddMethod;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: direction: Direction;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: direction: Direction;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: action: Action;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: AddFilterRule;<br>Method or attribute name: protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: RemoveFilterRule;<br>Method or attribute name: action?: Action;|@ohos.enterprise.networkManager.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function setPrinterDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function setPrinterDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function isPrinterDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function isPrinterDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function setHdcDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function setHdcDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function isHdcDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts|
|Added|NA|Class name: restrictions;<br>Method or attribute name: function isHdcDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: hiSysEvent;<br>Method or attribute name: function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: hiSysEvent;<br>Method or attribute name: function subscribe(rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: hiSysEvent;<br>Method or attribute name: function unsubscribe(): void;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: QueryArg;<br>Method or attribute name: fromSeq?: number;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: QueryArg;<br>Method or attribute name: toSeq?: number;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: QueryRule;<br>Method or attribute name: condition?: string;|@ohos.hiSysEvent.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function list(logType: string): LogEntry[];|@ohos.logLibrary.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function copy(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function copy(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function move(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function move(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: logLibrary;<br>Method or attribute name: function remove(logType: string, logName: string): void;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: LogEntry;<br>Method or attribute name: name: string;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: LogEntry;<br>Method or attribute name: mtime: number;|@ohos.logLibrary.d.ts|
|Added|NA|Class name: LogEntry;<br>Method or attribute name: size: number;|@ohos.logLibrary.d.ts|
|Error code added|Class name: hiSysEvent;<br>Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: hiSysEvent;<br>Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>New version information: 401,11200001,11200002,11200003,11200004,11200051,11200052,11200053,11200054|@ohos.hiSysEvent.d.ts|
|Error code added|Class name: hiAppEvent;<br>Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: hiAppEvent;<br>Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>New version information: 401,11100001,11101001,11101002,11101003,11101004,11101005,11101006|@ohos.hiviewdfx.hiAppEvent.d.ts|
|Error code changed|Class name: hiSysEvent;<br>Method or attribute name: function addWatcher(watcher: Watcher): void;<br>Old version information: 201,401,11200101,11200102|Class name: hiSysEvent;<br>Method or attribute name: function addWatcher(watcher: Watcher): void;<br>New version information: 201,202,401,11200101,11200102|@ohos.hiSysEvent.d.ts|
|Error code changed|Class name: hiSysEvent;<br>Method or attribute name: function removeWatcher(watcher: Watcher): void;<br>Old version information: 201,401,11200201|Class name: hiSysEvent;<br>Method or attribute name: function removeWatcher(watcher: Watcher): void;<br>New version information: 201,202,401,11200201|@ohos.hiSysEvent.d.ts|
|Error code changed|Class name: hiSysEvent;<br>Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>Old version information: 201,401,11200301,11200302,11200303,11200304|Class name: hiSysEvent;<br>Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>New version information: 201,202,401,11200301,11200302,11200303,11200304|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: hiSysEvent;<br>Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: hiSysEvent;<br>Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: SysEventInfo;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: domain: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: WatchRule;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: domain: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: QueryRule;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: QueryRule;<br>Method or attribute name: domain: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: SysEventInfo;<br>Method or attribute name: name: string;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: name: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: WatchRule;<br>Method or attribute name: name: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: name: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: SysEventInfo;<br>Method or attribute name: eventType: EventType;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: eventType: EventType;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: SysEventInfo;<br>Method or attribute name: params: object;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: params: object;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: WatchRule;<br>Method or attribute name: tag: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: tag: string;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: WatchRule;<br>Method or attribute name: ruleType: RuleType;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: ruleType: RuleType;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: Watcher;<br>Method or attribute name: rules: WatchRule[];<br>Old version information: |Class name: Watcher;<br>Method or attribute name: rules: WatchRule[];<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: QueryArg;<br>Method or attribute name: beginTime: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: beginTime: number;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: QueryArg;<br>Method or attribute name: endTime: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: endTime: number;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: QueryArg;<br>Method or attribute name: maxEvents: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: maxEvents: number;<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Access level changed|Class name: QueryRule;<br>Method or attribute name: names: string[];<br>Old version information: |Class name: QueryRule;<br>Method or attribute name: names: string[];<br>New version information: systemapi|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: SysEventInfo;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: domain: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: WatchRule;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: domain: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: QueryRule;<br>Method or attribute name: domain: string;<br>Old version information: |Class name: QueryRule;<br>Method or attribute name: domain: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: SysEventInfo;<br>Method or attribute name: name: string;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: name: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: WatchRule;<br>Method or attribute name: name: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: name: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: SysEventInfo;<br>Method or attribute name: eventType: EventType;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: eventType: EventType;<br>New version information: EventType|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: SysEventInfo;<br>Method or attribute name: params: object;<br>Old version information: |Class name: SysEventInfo;<br>Method or attribute name: params: object;<br>New version information: object|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: WatchRule;<br>Method or attribute name: tag: string;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: tag: string;<br>New version information: string|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: WatchRule;<br>Method or attribute name: ruleType: RuleType;<br>Old version information: |Class name: WatchRule;<br>Method or attribute name: ruleType: RuleType;<br>New version information: RuleType|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: QueryArg;<br>Method or attribute name: beginTime: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: beginTime: number;<br>New version information: number|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: QueryArg;<br>Method or attribute name: endTime: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: endTime: number;<br>New version information: number|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: QueryArg;<br>Method or attribute name: maxEvents: number;<br>Old version information: |Class name: QueryArg;<br>Method or attribute name: maxEvents: number;<br>New version information: number|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: QueryRule;<br>Method or attribute name: names: string[];<br>Old version information: |Class name: QueryRule;<br>Method or attribute name: names: string[];<br>New version information: string[]|@ohos.hiSysEvent.d.ts|
|Type changed|Class name: HiTraceId;<br>Method or attribute name: chainId: bigint;<br>Old version information: |Class name: HiTraceId;<br>Method or attribute name: chainId: bigint;<br>New version information: bigint|@ohos.hiTraceChain.d.ts|
|Type changed|Class name: HiTraceId;<br>Method or attribute name: spanId?: number;<br>Old version information: |Class name: HiTraceId;<br>Method or attribute name: spanId?: number;<br>New version information: ?number|@ohos.hiTraceChain.d.ts|
|Type changed|Class name: HiTraceId;<br>Method or attribute name: parentSpanId?: number;<br>Old version information: |Class name: HiTraceId;<br>Method or attribute name: parentSpanId?: number;<br>New version information: ?number|@ohos.hiTraceChain.d.ts|
|Type changed|Class name: HiTraceId;<br>Method or attribute name: flags?: number;<br>Old version information: |Class name: HiTraceId;<br>Method or attribute name: flags?: number;<br>New version information: ?number|@ohos.hiTraceChain.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: agent;<br>Method or attribute name: function create(context: BaseContext, config: Config, callback: AsyncCallback\<Task>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function create(context: BaseContext, config: Config): Promise\<Task>;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function remove(id: string, callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function remove(id: string): Promise\<void>;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function show(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function show(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function touch(id: string, token: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function touch(id: string, token: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function search(filter: Filter, callback: AsyncCallback\<Array\<string>>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function search(filter: Filter): Promise\<Array\<string>>;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function query(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|Added|NA|Class name: agent;<br>Method or attribute name: function query(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|Added|NA|Class name: Action;<br>Method or attribute name: DOWNLOAD|@ohos.request.d.ts|
|Added|NA|Class name: Action;<br>Method or attribute name: UPLOAD|@ohos.request.d.ts|
|Added|NA|Class name: Mode;<br>Method or attribute name: BACKGROUND|@ohos.request.d.ts|
|Added|NA|Class name: Mode;<br>Method or attribute name: FOREGROUND|@ohos.request.d.ts|
|Added|NA|Class name: Network;<br>Method or attribute name: ANY|@ohos.request.d.ts|
|Added|NA|Class name: Network;<br>Method or attribute name: WIFI|@ohos.request.d.ts|
|Added|NA|Class name: Network;<br>Method or attribute name: CELLULAR|@ohos.request.d.ts|
|Added|NA|Class name: FileSpec;<br>Method or attribute name: path: string;|@ohos.request.d.ts|
|Added|NA|Class name: FileSpec;<br>Method or attribute name: mimeType?: string;|@ohos.request.d.ts|
|Added|NA|Class name: FileSpec;<br>Method or attribute name: filename?: string;|@ohos.request.d.ts|
|Added|NA|Class name: FileSpec;<br>Method or attribute name: extras?: object;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: extras?: object;|@ohos.request.d.ts|
|Added|NA|Class name: FormItem;<br>Method or attribute name: name: string;|@ohos.request.d.ts|
|Added|NA|Class name: FormItem;<br>Method or attribute name: value: string \| FileSpec \| Array\<FileSpec>;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: action: Action;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: url: string;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: title?: string;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: description?: string;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: mode?: Mode;|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: mode?: Mode;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: overwrite?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: method?: string;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: headers?: object;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: data?: string \| Array\<FormItem>;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: saveas?: string;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: network?: Network;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: metered?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: roaming?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: retry?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: redirect?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: index?: number;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: begins?: number;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: ends?: number;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: gauge?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: precise?: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: Config;<br>Method or attribute name: token?: string;|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: INITIALIZED = 0x00|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: WAITING = 0x10|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: RUNNING = 0x20|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: RETRYING = 0x21|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: PAUSED = 0x30|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: STOPPED = 0x31|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: COMPLETED = 0x40|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: FAILED = 0x41|@ohos.request.d.ts|
|Added|NA|Class name: State;<br>Method or attribute name: REMOVED = 0x50|@ohos.request.d.ts|
|Added|NA|Class name: Progress;<br>Method or attribute name: readonly state: State;|@ohos.request.d.ts|
|Added|NA|Class name: Progress;<br>Method or attribute name: readonly index: number;|@ohos.request.d.ts|
|Added|NA|Class name: Progress;<br>Method or attribute name: readonly processed: number;|@ohos.request.d.ts|
|Added|NA|Class name: Progress;<br>Method or attribute name: readonly sizes: Array\<number>;|@ohos.request.d.ts|
|Added|NA|Class name: Progress;<br>Method or attribute name: readonly extras?: object;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly extras?: object;|@ohos.request.d.ts|
|Added|NA|Class name: Faults;<br>Method or attribute name: OTHERS = 0xFF|@ohos.request.d.ts|
|Added|NA|Class name: Faults;<br>Method or attribute name: DISCONNECTED = 0x00|@ohos.request.d.ts|
|Added|NA|Class name: Faults;<br>Method or attribute name: TIMEOUT = 0x10|@ohos.request.d.ts|
|Added|NA|Class name: Faults;<br>Method or attribute name: PROTOCOL = 0x20|@ohos.request.d.ts|
|Added|NA|Class name: Faults;<br>Method or attribute name: FSIO = 0x40|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: bundle?: string;|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: before?: number;|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: after?: number;|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: state?: State;|@ohos.request.d.ts|
|Added|NA|Class name: Filter;<br>Method or attribute name: action?: Action;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly uid?: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly bundle?: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly saveas?: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly url?: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly data?: string \| Array\<FormItem>;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly tid: string;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: readonly tid: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly title: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly description: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly action: Action;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mode: Mode;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mimeType: string;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly progress: Progress;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly gauge: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly ctime: number;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mtime: number;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly retry: boolean;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly tries: number;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly faults: Faults;|@ohos.request.d.ts|
|Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly reason: string;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: config: Config;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: on(event: 'progress', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: on(event: 'completed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: off(event: 'progress', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: off(event: 'completed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: off(event: 'failed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: start(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: start(): Promise\<void>;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: pause(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: pause(): Promise\<void>;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: resume(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: resume(): Promise\<void>;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|Added|NA|Class name: Task;<br>Method or attribute name: stop(): Promise\<void>;|@ohos.request.d.ts|
|Permission changed|Class name: request;<br>Method or attribute name: declare request<br>Old version information: ohos.permission.INTERNET|Class name: request;<br>Method or attribute name: declare request<br>New version information: |@ohos.request.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: context: DriverExtensionContext;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: onInit(want: Want): void;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: onRelease(): void;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: onConnect(want: Want): rpc.RemoteObject \| Promise\<rpc.RemoteObject>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: onDisconnect(want: Want): void \| Promise\<void>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: DriverExtensionAbility;<br>Method or attribute name: onDump(params: Array\<string>): Array\<string>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|Added|NA|Class name: deviceManager;<br>Method or attribute name: function queryDevices(busType?: number): Array\<Readonly\<Device>>;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: deviceManager;<br>Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>,<br><br> callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: deviceManager;<br>Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>): Promise\<{deviceId: number,<br><br> remote: rpc.IRemoteObject}>;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: deviceManager;<br>Method or attribute name: function unbindDevice(deviceId: number, callback: AsyncCallback\<number>): void;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: deviceManager;<br>Method or attribute name: function unbindDevice(deviceId: number): Promise\<number>;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: BusType;<br>Method or attribute name: USB = 1|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: Device;<br>Method or attribute name: busType: BusType;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: Device;<br>Method or attribute name: deviceId: number;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: Device;<br>Method or attribute name: description: string;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: USBDevice;<br>Method or attribute name: vendorId: number;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: USBDevice;<br>Method or attribute name: productId: number;|@ohos.driver.deviceManager.d.ts|
|Added|NA|Class name: DriverExtensionContext;<br>Method or attribute name: updateDriverState(): void;|DriverExtensionContext.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function off(type: 'locatingRequiredDataChange', callback?: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager;<br>Method or attribute name: function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise\<Array\<LocatingRequiredData>>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: type: LocatingRequiredDataType;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: needStartScan: boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: scanInterval?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataConfig;<br>Method or attribute name: scanTimeout?: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredData;<br>Method or attribute name: wifiData?: WifiScanInfo;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredData;<br>Method or attribute name: bluetoothData?: BluetoothScanInfo;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: ssid: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: bssid: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: frequency: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: WifiScanInfo;<br>Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: deviceName: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: BluetoothScanInfo;<br>Method or attribute name: macAddress: string;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataType;<br>Method or attribute name: WIFI = 1|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: LocatingRequiredDataType;<br>Method or attribute name: BLUETOOTH|@ohos.geoLocationManager.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: SuggestionType;<br>Method or attribute name: SUGGESTION_TYPE_NONE = 0|@ohos.i18n.d.ts|
|Added|NA|Class name: SuggestionType;<br>Method or attribute name: SUGGESTION_TYPE_RELATED = 1|@ohos.i18n.d.ts|
|Added|NA|Class name: SuggestionType;<br>Method or attribute name: SUGGESTION_TYPE_SIM = 2|@ohos.i18n.d.ts|
|Added|NA|Class name: SortOptions;<br>Method or attribute name: locale?: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: SortOptions;<br>Method or attribute name: isUseLocalName?: boolean;|@ohos.i18n.d.ts|
|Added|NA|Class name: SortOptions;<br>Method or attribute name: isSuggestedFirst?: boolean;|@ohos.i18n.d.ts|
|Added|NA|Class name: LocaleItem;<br>Method or attribute name: id: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: LocaleItem;<br>Method or attribute name: suggestionType: SuggestionType;|@ohos.i18n.d.ts|
|Added|NA|Class name: LocaleItem;<br>Method or attribute name: displayName: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: LocaleItem;<br>Method or attribute name: localName?: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: zoneId: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: cityId: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: cityDisplayName: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: offset: number;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: zoneDisplayName: string;|@ohos.i18n.d.ts|
|Added|NA|Class name: TimeZoneCityItem;<br>Method or attribute name: rawOffset?: number;|@ohos.i18n.d.ts|
|Added|NA|Class name: SystemLocaleManager;<br>Method or attribute name: constructor();|@ohos.i18n.d.ts|
|Added|NA|Class name: SystemLocaleManager;<br>Method or attribute name: getLanguageInfoArray(languages: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
|Added|NA|Class name: SystemLocaleManager;<br>Method or attribute name: getRegionInfoArray(regions: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
|Added|NA|Class name: SystemLocaleManager;<br>Method or attribute name: static getTimeZoneCityItemArray(): Array\<TimeZoneCityItem>;|@ohos.i18n.d.ts|
|Added|NA|Class name: resourceManager;<br>Method or attribute name: export function getSystemResourceManager(): ResourceManager;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColor(resId: number, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColor(resId: number): Promise\<number>;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColor(resource: Resource, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColor(resource: Resource): Promise\<number>;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColorByName(resName: string, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColorByName(resName: string): Promise\<number>;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColorSync(resId: number) : number;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColorSync(resource: Resource) : number;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: getColorByNameSync(resName: string) : number;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: addResource(path: string) : void;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: ResourceManager;<br>Method or attribute name: removeResource(path: string) : void;|@ohos.resourceManager.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeShow' \| 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts|
|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeShow', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeShow', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByRange', callback?: Callback\<Range>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByMovement', callback?: Callback\<Movement>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: TextConfig;<br>Method or attribute name: cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: TextConfig;<br>Method or attribute name: selection?: Range;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: TextConfig;<br>Method or attribute name: windowId?: number;|@ohos.inputMethod.d.ts|
|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: wallpaper;<br>Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;|@ohos.wallpaper.d.ts|
|Added|NA|Class name: wallpaper;<br>Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\<void>;|@ohos.wallpaper.d.ts|
|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts|
|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts|
|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts|
|Error code changed|Class name: wallpaper;<br>Method or attribute name: function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>Old version information: 202|Class name: wallpaper;<br>Method or attribute name: function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>New version information: 401,202|@ohos.wallpaper.d.ts|
|Type changed|Class name: InputMethodProperty;<br>Method or attribute name: readonly labelId?: number;<br>Old version information: |Class name: InputMethodProperty;<br>Method or attribute name: readonly labelId?: number;<br>New version information: ?number|@ohos.inputMethod.d.ts|
|Type changed|Class name: InputMethodProperty;<br>Method or attribute name: readonly iconId?: number;<br>Old version information: |Class name: InputMethodProperty;<br>Method or attribute name: readonly iconId?: number;<br>New version information: ?number|@ohos.inputMethod.d.ts|
|Type changed|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>Old version information: number|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>New version information: Direction|@ohos.inputMethod.d.ts|
|Type changed|Class name: TextConfig;<br>Method or attribute name: inputAttribute: InputAttribute;<br>Old version information: |Class name: TextConfig;<br>Method or attribute name: inputAttribute: InputAttribute;<br>New version information: InputAttribute|@ohos.inputMethod.d.ts|
|Type changed|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>Old version information: number|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>New version information: Direction|@ohos.inputMethodEngine.d.ts|
|Type changed|Class name: InputMethodSubtype;<br>Method or attribute name: readonly labelId?: number;<br>Old version information: |Class name: InputMethodSubtype;<br>Method or attribute name: readonly labelId?: number;<br>New version information: ?number|@ohos.InputMethodSubtype.d.ts|
|Function changed|Class name: Panel;<br>Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;<br>Method or attribute name: on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Function changed|Class name: Panel;<br>Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;<br>Method or attribute name: on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Function changed|Class name: Panel;<br>Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;<br>Method or attribute name: off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Function changed|Class name: Panel;<br>Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;<br>Method or attribute name: off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Function changed|Class name: wallpaper;<br>Method or attribute name: function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|Class name: wallpaper;<br>Method or attribute name: function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts|
|Function changed|Class name: wallpaper;<br>Method or attribute name: function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|Class name: wallpaper;<br>Method or attribute name: function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_SESSION_DISCONNECTED = 7|@ohos.cooperate.d.ts|
|Added|NA|Class name: dragInteraction;<br>Method or attribute name: function on(type: 'drag', callback: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts|
|Added|NA|Class name: dragInteraction;<br>Method or attribute name: function off(type: 'drag', callback?: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts|
|Added|NA|Class name: DragState;<br>Method or attribute name: MSG_DRAG_STATE_START = 1|@ohos.deviceStatus.dragInteraction.d.ts|
|Added|NA|Class name: DragState;<br>Method or attribute name: MSG_DRAG_STATE_STOP = 2|@ohos.deviceStatus.dragInteraction.d.ts|
|Added|NA|Class name: DragState;<br>Method or attribute name: MSG_DRAG_STATE_CANCEL = 3|@ohos.deviceStatus.dragInteraction.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_PREPARE|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_PREPARE = 0|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_UNPREPARE|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_UNPREPARE = 1|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE = 2|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE_SUCCESS|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE_SUCCESS = 3|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE_FAIL|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_ACTIVATE_FAIL = 4|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_DEACTIVATE_SUCCESS|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_DEACTIVATE_SUCCESS = 5|@ohos.cooperate.d.ts|
|Function changed|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_DEACTIVATE_FAIL|Class name: CooperateMsg;<br>Method or attribute name: COOPERATE_DEACTIVATE_FAIL = 6|@ohos.cooperate.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: Pinch;<br>Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ThreeFingersSwipe;<br>Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: FourFingersSwipe;<br>Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: Pinch;<br>Method or attribute name: scale: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ThreeFingersSwipe;<br>Method or attribute name: x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: FourFingersSwipe;<br>Method or attribute name: x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ThreeFingersSwipe;<br>Method or attribute name: y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: FourFingersSwipe;<br>Method or attribute name: y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ActionType;<br>Method or attribute name: CANCEL = 0|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ActionType;<br>Method or attribute name: BEGIN = 1|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ActionType;<br>Method or attribute name: UPDATE = 2|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: ActionType;<br>Method or attribute name: END = 3|@ohos.multimodalInput.gestureEvent.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function setKeyboardRepeatDelay(delay: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function getKeyboardRepeatDelay(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function getKeyboardRepeatDelay(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function setKeyboardRepeatRate(rate: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function setKeyboardRepeatRate(rate: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function getKeyboardRepeatRate(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputDevice;<br>Method or attribute name: function getKeyboardRepeatRate(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function on(type: 'pinch', receiver: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function on(type: 'threeFingersSwipe', receiver: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function on(type: 'fourFingersSwipe', receiver: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function off(type: 'pinch', receiver?: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function off(type: 'threeFingersSwipe', receiver?: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: inputMonitor;<br>Method or attribute name: function off(type: 'fourFingersSwipe', receiver?: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_UNKNOWN = -1|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_UP = 1|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_DOWN = 2|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_LEFT = 3|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_RIGHT = 4|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_SELECT = 5|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_ESCAPE = 6|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_BACK = 7|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_FORWARD = 8|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_MENU = 9|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_PAGE_UP = 11|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_PAGE_DOWN = 12|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_ZOOM_OUT = 13|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: IntentionCode;<br>Method or attribute name: INTENTION_ZOOM_IN = 14|@ohos.multimodalInput.intentionCode.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadScrollSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadScrollSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadScrollSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadScrollDirection(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadScrollDirection(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadScrollDirection(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadTapSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadTapSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadTapSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadPointerSpeed(speed: number): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadPointerSpeed(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadPointerSpeed(): Promise\<number>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadPinchSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadPinchSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadPinchSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadSwipeSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadSwipeSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadSwipeSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function setTouchpadRightClickType(type: RightClickType): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadRightClickType(callback: AsyncCallback\<RightClickType>): void;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: pointer;<br>Method or attribute name: function getTouchpadRightClickType(): Promise\<RightClickType>;|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: PointerStyle;<br>Method or attribute name: HORIZONTAL_TEXT_CURSOR|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: PointerStyle;<br>Method or attribute name: CURSOR_CROSS|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: PointerStyle;<br>Method or attribute name: CURSOR_CIRCLE|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: RightClickType;<br>Method or attribute name: TOUCHPAD_RIGHT_BUTTON = 1|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: RightClickType;<br>Method or attribute name: TOUCHPAD_LEFT_BUTTON = 2|@ohos.multimodalInput.pointer.d.ts|
|Added|NA|Class name: RightClickType;<br>Method or attribute name: TOUCHPAD_TWO_FINGER_TAP = 3|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setHoverScrollState(state: boolean): Promise\<void>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setHoverScrollState(state: boolean): Promise\<void>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getHoverScrollState(): Promise\<boolean>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getHoverScrollState(): Promise\<boolean>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function setMouseScrollRows(rows: number): Promise\<void>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function setMouseScrollRows(rows: number): Promise\<void>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: pointer;<br>Method or attribute name: function getMouseScrollRows(): Promise\<number>;<br>Old version information: 401|Class name: pointer;<br>Method or attribute name: function getMouseScrollRows(): Promise\<number>;<br>New version information: 202,401|@ohos.multimodalInput.pointer.d.ts|
|Error code changed|Class name: shortKey;<br>Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>Old version information: 401|Class name: shortKey;<br>Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>New version information: 202,401|@ohos.multimodalInput.shortKey.d.ts|
|Error code changed|Class name: shortKey;<br>Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>Old version information: 401|Class name: shortKey;<br>Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>New version information: 202,401|@ohos.multimodalInput.shortKey.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: ResourceType;<br>Method or attribute name: RUNNING_LOCK = 1 \<\< 7|@ohos.resourceschedule.backgroundTaskManager.d.ts|
|Added|NA|Class name: ResourceType;<br>Method or attribute name: SENSOR = 1 \<\< 8|@ohos.resourceschedule.backgroundTaskManager.d.ts|
|Deprecated version changed|Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>Old version information: |Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>New version information: 9<br>Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning|@ohos.ability.particleAbility.d.ts|
|Deprecated version changed|Class name: particleAbility;<br>Method or attribute name: function cancelBackgroundRunning(): Promise\<void>;<br>Old version information: |Class name: particleAbility;<br>Method or attribute name: function cancelBackgroundRunning(): Promise\<void>;<br>New version information: 9<br>Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning|@ohos.ability.particleAbility.d.ts|
|Permission changed|Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>Old version information: |Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>New version information: ohos.permission.KEEP_BACKGROUND_RUNNING|@ohos.ability.particleAbility.d.ts|
|Model changed|Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>Old version information: |Class name: particleAbility;<br>Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts|
|Model changed|Class name: particleAbility;<br>Method or attribute name: function cancelBackgroundRunning(): Promise\<void>;<br>Old version information: |Class name: particleAbility;<br>Method or attribute name: function cancelBackgroundRunning(): Promise\<void>;<br>New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly bundleName: string;|@ohos.UiTest.d.ts|
|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly type: string;|@ohos.UiTest.d.ts|
|Added|NA|Class name: UIElementInfo;<br>Method or attribute name: readonly text: string;|@ohos.UiTest.d.ts|
|Added|NA|Class name: UIEventObserver;<br>Method or attribute name: once(type: 'toastShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts|
|Added|NA|Class name: UIEventObserver;<br>Method or attribute name: once(type: 'dialogShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts|
|Added|NA|Class name: Driver;<br>Method or attribute name: createUIEventObserver(): UIEventObserver;|@ohos.UiTest.d.ts|
|Type changed|Class name: WindowFilter;<br>Method or attribute name: bundleName?: string;<br>Old version information: string?|Class name: WindowFilter;<br>Method or attribute name: bundleName?: string;<br>New version information: ?string|@ohos.UiTest.d.ts|
|Type changed|Class name: WindowFilter;<br>Method or attribute name: title?: string;<br>Old version information: string?|Class name: WindowFilter;<br>Method or attribute name: title?: string;<br>New version information: ?string|@ohos.UiTest.d.ts|
|Type changed|Class name: WindowFilter;<br>Method or attribute name: focused?: boolean;<br>Old version information: boolean?|Class name: WindowFilter;<br>Method or attribute name: focused?: boolean;<br>New version information: ?boolean|@ohos.UiTest.d.ts|
|Type changed|Class name: WindowFilter;<br>Method or attribute name: actived?: boolean;<br>Old version information: boolean?|Class name: WindowFilter;<br>Method or attribute name: actived?: boolean;<br>New version information: ?boolean|@ohos.UiTest.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Error code changed|Class name: usbManager;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>Old version information: 401|Class name: usbManager;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>New version information: 401,14400002|@ohos.usbManager.d.ts|
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册