提交 144d4230 编写于 作者: G Gloria

Update docs against 10423+10428+10372+9647

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 fe6cc89c
# Application Development
- [Application Development Overview](application-dev-guide.md)
- Quick Start
- Getting Started
- [Preparations](quick-start/start-overview.md)
- [Getting Started with eTS in Stage Model](quick-start/start-with-ets-stage.md)
......@@ -43,12 +43,10 @@
- File Organization
- [Directory Structure](ui/ts-framework-directory.md)
- [Rules for Accessing Application Code Files](ui/ts-framework-file-access-rules.md)
- ["js" Tag](ui/ts-framework-js-tag.md)
- Resource Management
- [Resource File Categories](ui/ui-ts-basic-resource-file-categories.md)
- [Accessing Resources](ui/ts-resource-access.md)
- [Pixel Units](ui/ts-pixel-units.md)
- [Types](ui/ts-types.md)
- Declarative Syntax
- [Overview](ui/ts-syntax-intro.md)
- General UI Description Specifications
......@@ -108,6 +106,7 @@
- [Building a Food Category List Layout](ui/ui-ts-building-category-list-layout.md)
- [Building a Food Category Grid Layout](ui/ui-ts-building-category-grid-layout.md)
- [Implementing Page Redirection and Data Transmission](ui/ui-ts-page-redirection-data-transmission.md)
- [Recommendations for Improving Performance](ui/ts-performance-improvement-recommendation.md)
- JavaScript-based Web-like Development Paradigm
- [Overview](ui/ui-js-overview.md)
- Framework
......@@ -181,7 +180,6 @@
- [Animation Frame](ui/ui-js-animate-frame.md)
- [Custom Components](ui/ui-js-custom-components.md)
- Common Event and Notification
- [Common Event and Notification Overview](notification/notification-brief.md)
- [Common Event Development](notification/common-event.md)
- [Notification Development](notification/notification-guidelines.md)
......@@ -198,12 +196,12 @@
- [WebGL Overview](webgl/webgl-overview.md)
- [WebGL Development](webgl/webgl-guidelines.md)
- Media
- Audio
- [Audio Overview](media/audio-overview.md)
- [Audio Playback Development](media/audio-playback.md)
- [Audio Recording Development](media/audio-recorder.md)
- [Audio Rendering Development](media/audio-renderer.md)
- [Audio Stream Management Development](media/audio-stream-manager.md)
- [Audio Capture Development](media/audio-capturer.md)
- [OpenSL ES Audio Playback Development](media/opensles-playback.md)
- [OpenSL ES Audio Recording Development](media/opensles-capture.md)
......@@ -215,8 +213,8 @@
- [Image Development](media/image.md)
- Camera
- [Camera Development](media/camera.md)
- [Distributed Camera Development](media/remote-camera.md)
- Security
- Access Control
- [Access Control Overview](security/accesstoken-overview.md)
- [Access Control Development](security/accesstoken-guidelines.md)
......@@ -354,6 +352,9 @@
- [Component ID](reference/arkui-ts/ts-universal-attributes-component-id.md)
- [Touch Target](reference/arkui-ts/ts-universal-attributes-touch-target.md)
- [Polymorphic Style](reference/arkui-ts/ts-universal-attributes-polymorphic-style.md)
- [Hit Test Control](reference/arkui-ts/ts-universal-attributes-hit-test-behavior.md)
- [Background Blur](reference/arkui-ts/ts-universal-attributes-backgroundBlurStyle.md)
- [restoreId](reference/arkui-ts/ts-universal-attributes-restoreId.md)
- Gesture Processing
- [Gesture Binding Methods](reference/arkui-ts/ts-gesture-settings.md)
- Basic Gestures
......@@ -412,10 +413,13 @@
- [Counter](reference/arkui-ts/ts-container-counter.md)
- [Flex](reference/arkui-ts/ts-container-flex.md)
- [GridContainer](reference/arkui-ts/ts-container-gridcontainer.md)
- [GridCol](reference/arkui-ts/ts-container-gridcol.md)
- [GridRow](reference/arkui-ts/ts-container-gridrow.md)
- [Grid](reference/arkui-ts/ts-container-grid.md)
- [GridItem](reference/arkui-ts/ts-container-griditem.md)
- [List](reference/arkui-ts/ts-container-list.md)
- [ListItem](reference/arkui-ts/ts-container-listitem.md)
- [ListItemGroup](reference/arkui-ts/ts-container-listitemgroup.md)
- [Navigator](reference/arkui-ts/ts-container-navigator.md)
- [Panel](reference/arkui-ts/ts-container-panel.md)
- [Refresh](reference/arkui-ts/ts-container-refresh.md)
......@@ -468,6 +472,7 @@
- [Text Picker Dialog Box](reference/arkui-ts/ts-methods-textpicker-dialog.md)
- [Menu](reference/arkui-ts/ts-methods-menu.md)
- [Built-in Enums](reference/arkui-ts/ts-appendix-enums.md)
- [Types](reference/arkui-ts/ts-types.md)
- Component Reference (JavaScript-based Web-like Development Paradigm)
- Universal Component Information
- [Universal Attributes](reference/arkui-js/js-components-common-attributes.md)
......@@ -627,6 +632,7 @@
- [ExtensionRunningInfo](reference/apis/js-apis-extensionrunninginfo.md)
- [MissionSnapshot](reference/apis/js-apis-application-MissionSnapshot.md)
- [ProcessRunningInfo](reference/apis/js-apis-processrunninginfo.md)
- [ProcessRunningInformation](reference/apis/js-apis-processrunninginformation.md)
- [shellCmdResult](reference/apis/js-apis-application-shellCmdResult.md)
- [ContinuationResult](reference/apis/js-apis-continuation-continuationResult.md)
- Common Event and Notification
......@@ -677,7 +683,6 @@
- [@ohos.multimedia.camera](reference/apis/js-apis-camera.md)
- [@ohos.multimedia.image](reference/apis/js-apis-image.md)
- [@ohos.multimedia.media](reference/apis/js-apis-media.md)
- [@ohos.multimedia.medialibrary](reference/apis/js-apis-medialibrary.md)
- Resource Management
- [@ohos.i18n](reference/apis/js-apis-i18n.md)
- [@ohos.intl](reference/apis/js-apis-intl.md)
......@@ -689,12 +694,14 @@
- [@ohos.WorkSchedulerExtensionAbility](reference/apis/js-apis-WorkSchedulerExtensionAbility.md)
- Custom Management
- [@ohos.configPolicy](reference/apis/js-apis-config-policy.md)
- [@ohos.enterpriseDeviceManager](reference/apis/js-apis-enterprise-device-manager.md)
- [@ohos.EnterpriseAdminExtensionAbility](reference/apis/js-apis-EnterpriseAdminExtensionAbility.md)
- [@ohos.enterpriseDeviceManager](reference/apis/js-apis-enterprise-device-manager.md)
- [DeviceSettingsManager](reference/apis/js-apis-enterpriseDeviceManager-DeviceSettingsManager.md)
- Security
- [@ohos.abilityAccessCtrl](reference/apis/js-apis-abilityAccessCtrl.md)
- [@ohos.privacyManager](reference/apis/js-apis-privacyManager.md)
- [@ohos.security.huks](reference/apis/js-apis-huks.md)
- [@ohos.userIAM.faceAuth](reference/apis/js-apis-useriam-faceauth.md)
- [@ohos.userIAM.userAuth](reference/apis/js-apis-useriam-userauth.md)
- [@system.cipher](reference/apis/js-apis-system-cipher.md)
- Data Management
......@@ -713,24 +720,25 @@
- [@ohos.environment](reference/apis/js-apis-environment.md)
- [@ohos.fileio](reference/apis/js-apis-fileio.md)
- [@ohos.fileManager](reference/apis/js-apis-filemanager.md)
- [@ohos.multimedia.medialibrary](reference/apis/js-apis-medialibrary.md)
- [@ohos.securityLabel](reference/apis/js-apis-securityLabel.md)
- [@ohos.statfs](reference/apis/js-apis-statfs.md)
- [@ohos.storageStatistics](reference/apis/js-apis-storage-statistics.md)
- [@ohos.volumeManager](reference/apis/js-apis-volumemanager.md)
- [@ohos.securityLabel](reference/apis/js-apis-securityLabel.md)
- Telephony Service
- [@ohos.contact](reference/apis/js-apis-contact.md)
- [@ohos.telephony.call](reference/apis/js-apis-call.md)
- [@ohos.telephony.data](reference/apis/js-apis-telephony-data.md)
- [@ohos.telephony.observer](reference/apis/js-apis-observer.md)
- [@ohos.telephony.radio](reference/apis/js-apis-radio.md)
- [@ohos.telephony.sim](reference/apis/js-apis-sim.md)
- [@ohos.telephony.sms](reference/apis/js-apis-sms.md)
- [@ohos.telephony.data](reference/apis/js-apis-telephony-data.md)
- Network Management
- [@ohos.net.connection](reference/apis/js-apis-net-connection.md)
- [@ohos.net.http](reference/apis/js-apis-http.md)
- [@ohos.request](reference/apis/js-apis-request.md)
- [@ohos.net.socket](reference/apis/js-apis-socket.md)
- [@ohos.net.webSocket](reference/apis/js-apis-webSocket.md)
- [@ohos.request](reference/apis/js-apis-request.md)
- Connectivity
- [@ohos.bluetooth](reference/apis/js-apis-bluetooth.md)
- [@ohos.connectedTag](reference/apis/js-apis-connectedTag.md)
......@@ -740,6 +748,8 @@
- [@ohos.rpc](reference/apis/js-apis-rpc.md)
- [@ohos.wifi](reference/apis/js-apis-wifi.md)
- [@ohos.wifiext](reference/apis/js-apis-wifiext.md)
- [nfctech](reference/apis/js-apis-nfctech.md)
- [tagSession](reference/apis/js-apis-tagSession.md)
- Basic Features
- [@ohos.accessibility](reference/apis/js-apis-accessibility.md)
- [@ohos.faultLogger](reference/apis/js-apis-faultLogger.md)
......@@ -752,11 +762,13 @@
- [@ohos.hiTraceMeter](reference/apis/js-apis-hitracemeter.md)
- [@ohos.inputMethod](reference/apis/js-apis-inputmethod.md)
- [@ohos.inputMethodEngine](reference/apis/js-apis-inputmethodengine.md)
- [@ohos.inputmethodextensionability](reference/apis/js-apis-inputmethod-extension-ability.md)
- [@ohos.inputmethodextensioncontext](reference/apis/js-apis-inputmethod-extension-context.md)
- [@ohos.pasteboard](reference/apis/js-apis-pasteboard.md)
- [@ohos.screenLock](reference/apis/js-apis-screen-lock.md)
- [@ohos.systemTime](reference/apis/js-apis-system-time.md)
- [@ohos.wallpaper](reference/apis/js-apis-wallpaper.md)
- [@ohos.systemTimer](reference/apis/js-apis-system-timer.md)
- [@ohos.wallpaper](reference/apis/js-apis-wallpaper.md)
- [Timer](reference/apis/js-apis-timer.md)
- Device Management
- [@ohos.batteryInfo](reference/apis/js-apis-battery-info.md)
......@@ -772,6 +784,7 @@
- [@ohos.multimodalInput.keyCode](reference/apis/js-apis-keycode.md)
- [@ohos.multimodalInput.keyEvent](reference/apis/js-apis-keyevent.md)
- [@ohos.multimodalInput.mouseEvent](reference/apis/js-apis-mouseevent.md)
- [@ohos.multimodalInput.pointer](reference/apis/js-apis-pointer.md)
- [@ohos.multimodalInput.touchEvent](reference/apis/js-apis-touchevent.md)
- [@ohos.power](reference/apis/js-apis-power.md)
- [@ohos.runningLock](reference/apis/js-apis-runninglock.md)
......@@ -787,6 +800,7 @@
- [@ohos.account.distributedAccount](reference/apis/js-apis-distributed-account.md)
- [@ohos.account.osAccount](reference/apis/js-apis-osAccount.md)
- Language Base Class Library
- [@ohos.buffer](reference/apis/js-apis-buffer.md)
- [@ohos.convertxml](reference/apis/js-apis-convertxml.md)
- [@ohos.process](reference/apis/js-apis-process.md)
- [@ohos.uri](reference/apis/js-apis-uri.md)
......@@ -844,4 +858,17 @@
- [EGL Symbols Exported from Native APIs](reference/native-lib/third_party_opengl/egl-symbol.md)
- [OpenGL ES 3.0 Symbols Exported from Native APIs](reference/native-lib/third_party_opengl/openglesv3-symbol.md)
- FAQs
- [Guide to Switching to Full SDK](quick-start/full-sdk-switch-guide.md)
\ No newline at end of file
- [Guide to Switching to Full SDK](quick-start/full-sdk-switch-guide.md)
- [Ability Framework Development](faqs/faqs-ability.md)
- [ArkUI (JavaScript) Development](faqs/faqs-ui-js.md)
- [ArkUI (eTS) Development](faqs/faqs-ui-ets.md)
- [Graphics and Image Development](faqs/faqs-graphics.md)
- [File Management Development](faqs/faqs-file-management.md)
- [Network and Connection Development](faqs/faqs-connectivity.md)
- [Device Management Development](faqs/faqs-data-management.md)
- [Device Management Development](faqs/faqs-device-management.md)
- [Native API Usage](faqs/faqs-native.md)
- [Usage of Third- and Fourth-Party Libraries](faqs/faqs-third-party-library.md)
- [IDE Usage](faqs/faqs-ide.md)
- [hdc_std Command Usage](faqs/faqs-hdc-std.md)
- [Development Board](faqs/faqs-development-board.md)
# Readme
This directory records the API changes in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1, including new, updated, deprecated, and deleted APIs.
- JS API Differences
- [Ability framework](js-apidiff-ability.md)
- [Accessibility subsystem](js-apidiff-accessibility.md)
- [Account subsystem](js-apidiff-account.md)
- [ArkUI development framework](js-apidiff-arkui.md)
- [Bundle management framework](js-apidiff-bundle.md)
- [Communication subsystem](js-apidiff-communicate.md)
- [Utils subsystem](js-apidiff-compiler-and-runtime.md)
- [DFX subsystem](js-apidiff-dfx.md)
- [Distributed data management subsystem](js-apidiff-distributed-data.md)
- [Common event and notification subsystem](js-apidiff-event-and-notification.md)
- [File management subsystem](js-apidiff-file-management.md)
- [Location subsystem](js-apidiff-geolocation.md)
- [Globalization subsystem](js-apidiff-global.md)
- [Graphics subsystem](js-apidiff-graphic.md)
- [Misc services subsystem](js-apidiff-misc.md)
- [Multimodal input subsystem](js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](js-apidiff-multimedia.md)
- [Resource scheduler subsystem](js-apidiff-resource-scheduler.md)
- [Security subsystem](js-apidiff-security.md)
- [Pan-sensor subsystem](js-apidiff-sensor.md)
- [DSoftBus subsystem](js-apidiff-soft-bus.md)
- [Test subsystem](js-apidiff-unitest.md)
- [Update subsystem](js-apidiff-update.md)
- [USB subsystem](js-apidiff-usb.md)
- [User IAM subsystem](js-apidiff-user-authentication.md)
- [Web subsystem](js-apidiff-web.md)
- [Window manager subsystem](js-apidiff-window.md)
- ChangeLog
- [Updates Between OpenHarmony 3.2 Beta2 and OpenHarmony 3.2 Beta1](changelog-v3.2-beta2.md)
- [Adaptation Guide for the Application Sandbox](application-sandbox-adaptation-guide.md)
# JS API Changes of the Accessibility Subsystem
The table below lists the APIs changes of the accessibility subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| AccessibilityExtensionContext | AccessibilityExtensionContext | injectGesture(gesturePath: GesturePath): Promise\<void>;<br>injectGesture(gesturePath: GesturePath, callback: AsyncCallback\<void>): void; | Added|
| ohos.accessibility.config | Config | off(callback?: Callback\<T>): void; | Added|
| ohos.accessibility.config | Config | on(callback: Callback\<T>): void; | Added|
| ohos.accessibility.config | Config | get(): Promise\<T>;<br>get(callback: AsyncCallback\<T>): void; | Added|
| ohos.accessibility.config | Config | set(value: T): Promise\<void>;<br>set(value: T, callback: AsyncCallback\<void>): void; | Added|
| ohos.accessibility.config | config | function off(type: 'enableAbilityListsStateChanged', callback?: Callback\<void>): void; | Added|
| ohos.accessibility.config | config | function on(type: 'enableAbilityListsStateChanged', callback: Callback\<void>): void; | Added|
| ohos.accessibility.config | config | function disableAbility(name: string): Promise\<void>;<br>function disableAbility(name: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.accessibility.config | config | function enableAbility(name: string, capability: Array\<accessibility.Capability>): Promise\<void>;<br>function enableAbility(name: string, capability: Array\<accessibility.Capability>, callback: AsyncCallback\<void>): void; | Added|
| ohos.accessibility.config | config | var captionsStyle: Config\<accessibility.CaptionsStyle>; | Added|
| ohos.accessibility.config | config | var captions: Config\<boolean>; | Added|
| ohos.accessibility.config | config | var shortkeyTarget: Config\<string>; | Added|
| ohos.accessibility.config | config | var shortkey: Config\<boolean>; | Added|
| ohos.accessibility.config | config | var mouseAutoClick: Config\<number>; | Added|
| ohos.accessibility.config | config | var mouseKey: Config\<boolean>; | Added|
| ohos.accessibility.config | config | var brightnessDiscount: Config\<number>; | Added|
| ohos.accessibility.config | config | var animationOff: Config\<boolean>; | Added|
| ohos.accessibility.config | config | var contentTimeout: Config\<number>; | Added|
| ohos.accessibility.config | config | var daltonizationColorFilter: Config\<DaltonizationColorFilter>; | Added|
| ohos.accessibility.config | config | var invertColor: Config\<boolean>; | Added|
| ohos.accessibility.config | config | var highContrastText: Config\<boolean>; | Added|
| AccessibilityExtensionContext | AccessibilityExtensionContext | gestureInject(gesturePath: GesturePath, listener: Callback\<boolean>): Promise\<boolean>;<br>gestureInject(gesturePath: GesturePath, listener: Callback\<boolean>, callback: AsyncCallback\<boolean>): void; | Deleted|
| AccessibilityExtensionContext | AccessibilityExtensionContext | setEventTypeFilter(type: Array\<accessibility.EventType>): Promise\<boolean>;<br>setEventTypeFilter(type: Array\<accessibility.EventType>, callback: AsyncCallback\<boolean>): boolean; | Deleted|
# JS API Changes of the Account Subsystem
The table below lists the APIs changes of the account subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.account.appAccount | AppAccountManager | getAssociatedDataSync(name: string, key: string): string; | Added|
# JS API Changes of the Power Management Subsystem
The table below lists the APIs changes of the power management subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| system.battery | Battery | static getStatus(options?: GetStatusOptions): void; | Deprecated|
| system.battery | GetStatusOptions | complete?: () => void; | Deprecated|
| system.battery | GetStatusOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.battery | GetStatusOptions | success?: (data: BatteryResponse) => void; | Deprecated|
| system.battery | BatteryResponse | level: number; | Deprecated|
| system.battery | BatteryResponse | charging: boolean; | Deprecated|
| system.brightness | Brightness | static setKeepScreenOn(options?: SetKeepScreenOnOptions): void; | Deprecated|
| system.brightness | Brightness | static setMode(options?: SetBrightnessModeOptions): void; | Deprecated|
| system.brightness | Brightness | static getMode(options?: GetBrightnessModeOptions): void; | Deprecated|
| system.brightness | Brightness | static setValue(options?: SetBrightnessOptions): void; | Deprecated|
| system.brightness | Brightness | static getValue(options?: GetBrightnessOptions): void; | Deprecated|
| system.brightness | SetKeepScreenOnOptions | complete?: () => void | Deprecated|
| system.brightness | SetKeepScreenOnOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.brightness | SetKeepScreenOnOptions | success?: () => void; | Deprecated|
| system.brightness | SetKeepScreenOnOptions | keepScreenOn: boolean; | Deprecated|
| system.brightness | SetBrightnessModeOptions | complete?: () => void | Deprecated|
| system.brightness | SetBrightnessModeOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.brightness | SetBrightnessModeOptions | success?: () => void; | Deprecated|
| system.brightness | SetBrightnessModeOptions | mode: number; | Deprecated|
| system.brightness | GetBrightnessModeOptions | complete?: () => void; | Deprecated|
| system.brightness | GetBrightnessModeOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.brightness | GetBrightnessModeOptions | success?: (data: BrightnessModeResponse) => void; | Deprecated|
| system.brightness | BrightnessModeResponse | mode: number; | Deprecated|
| system.brightness | SetBrightnessOptions | complete?: () => void | Deprecated|
| system.brightness | SetBrightnessOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.brightness | SetBrightnessOptions | success?: () => void; | Deprecated|
| system.brightness | SetBrightnessOptions | value: number; | Deprecated|
| system.brightness | GetBrightnessOptions | complete?: () => void; | Deprecated|
| system.brightness | GetBrightnessOptions | fail?: (data: string, code: number) => void; | Deprecated|
| system.brightness | GetBrightnessOptions | success?: (data: BrightnessResponse) => void; | Deprecated|
| system.brightness | BrightnessResponse | value: number; | Deprecated|
# JS API Changes of the Bundle Management Framework
The table below lists the APIs changes of the bundle management framework in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| dispatchInfo | DispatchInfo | readonly version: string; | Added|
| ohos.bundle | bundle | function getBundleInfoSync(bundleName: string, bundleFlags: number, options: BundleOptions): BundleInfo;<br>function getBundleInfoSync(bundleName: string, bundleFlags: number): BundleInfo; | Added|
| ohos.bundle | bundle | function getApplicationInfoSync(bundleName: string, bundleFlags: number, userId: number) : ApplicationInfo;<br>function getApplicationInfoSync(bundleName: string, bundleFlags: number) : ApplicationInfo; | Added|
| ohos.bundle | ExtensionAbilityType | PREVIEW = 14 | Added|
| ohos.bundle | ExtensionAbilityType | THUMBNAIL = 13 | Added|
| dispatchInfo | DispatchInfo | readonly verison: string; | Deleted|
# JS API Changes of the Communication Subsystem
The table below lists the APIs changes of the communication subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.wifi | wifi | function off(type: "deviceConfigChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "deviceConfigChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | function removeUntrustedConfig(config: WifiDeviceConfig): Promise\<boolean>;<br>function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback\<boolean>): void; | Deprecated|
| ohos.wifi | wifi | function addUntrustedConfig(config: WifiDeviceConfig): Promise\<boolean>;<br>function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback\<boolean>): void; | Deprecated|
# JS API Changes of the DFX Subsystem
The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.hiAppEvent | hiAppEvent | function clearData(): void; | Added|
| ohos.hiAppEvent | hiAppEvent | function removeWatcher(watcher: Watcher): void; | Added|
| ohos.hiAppEvent | hiAppEvent | function addWatcher(watcher: Watcher): AppEventPackageHolder; | Added|
| ohos.hiAppEvent | Watcher | onTrigger?: (curRow: number, curSize:number, holder:AppEventPackageHolder) => void; | Added|
| ohos.hiAppEvent | Watcher | appEventFilters?: AppEventFilter[]; | Added|
| ohos.hiAppEvent | Watcher | triggerCondition?: TriggerCondition; | Added|
| ohos.hiAppEvent | Watcher | name: string; | Added|
| ohos.hiAppEvent | AppEventFilter | eventTypes?: EventType[]; | Added|
| ohos.hiAppEvent | AppEventFilter | domain: string; | Added|
| ohos.hiAppEvent | TriggerCondition | timeOut?: number; | Added|
| ohos.hiAppEvent | TriggerCondition | size?: number; | Added|
| ohos.hiAppEvent | TriggerCondition | row?: number; | Added|
| ohos.hiAppEvent | AppEventPackageHolder | takeNext(): AppEventPackage; | Added|
| ohos.hiAppEvent | AppEventPackageHolder | setSize(size: number): void; | Added|
| ohos.hiAppEvent | AppEventPackageHolder | constructor(watcherName: string); | Added|
| ohos.hiAppEvent | AppEventPackage | data: string[]; | Added|
| ohos.hiAppEvent | AppEventPackage | size: number; | Added|
| ohos.hiAppEvent | AppEventPackage | row: number; | Added|
| ohos.hiAppEvent | AppEventPackage | packageId: number; | Added|
| ohos.hiAppEvent | AppEventInfo | params: object; | Added|
| ohos.hiAppEvent | AppEventInfo | eventType: EventType; | Added|
| ohos.hiAppEvent | AppEventInfo | name: string; | Added|
| ohos.hiAppEvent | AppEventInfo | domain: string; | Added|
| ohos.hiAppEvent | hiAppEvent | function write(eventName: string, eventType: EventType, keyValues: object): Promise\<void>;<br>function write(eventName: string, eventType: EventType, keyValues: object, callback: AsyncCallback\<void>): void;<br>function write(info: AppEventInfo): Promise\<void>;<br>function write(info: AppEventInfo, callback: AsyncCallback\<void>): void; | Deprecated|
# JS API Changes of the Distributed Data Management Subsystem
The table below lists the APIs changes of the distributed data management subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.data.distributedData | KVStore | deleteBackup(files:Array\<string>, callback: AsyncCallback\<Array\<[string, number]>>):void;<br>deleteBackup(files:Array\<string>): Promise\<Array\<[string, number]>>; | Added|
| ohos.data.distributedData | KVStore | restore(file:string, callback: AsyncCallback\<void>):void;<br>restore(file:string): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | backup(file:string, callback: AsyncCallback\<void>):void;<br>backup(file:string): Promise\<void>; | Added|
| ohos.data.rdb | StoreConfig | encrypt?: boolean; | Added|
| ohos.data.rdb | RdbStore | remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array\<string>, callback: AsyncCallback\<ResultSet>): void;<br>remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array\<string>): Promise\<ResultSet>; | Added|
| ohos.data.rdb | RdbStore | batchInsert(table: string, values: Array\<ValuesBucket>, callback: AsyncCallback\<number>): void;<br>batchInsert(table: string, values: Array\<ValuesBucket>): Promise\<number>; | Added|
| ohos.data.dataShare | DataShareHelper | getFileTypes(uri: string, mimeTypeFilter:string, callback: AsyncCallback\<Array\<string>>): void;<br>getFileTypes(uri: string, mimeTypeFilter: string): Promise\<Array\<string>>; | Deleted|
| ohos.data.dataShare | DataShareHelper | getType(uri: string, callback: AsyncCallback\<string>): void;<br>getType(uri: string): Promise\<string>; | Deleted|
| ohos.data.dataShare | DataShareHelper | openFile(uri: string, mode: string, callback: AsyncCallback\<number>): void;<br>openFile(uri: string, mode: string): Promise\<number>; | Deleted|
# JS API Changes of the Distributed Hardware Subsystem
The table below lists the APIs changes of the distributed hardware subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.distributedHardware.deviceManager | DeviceManager | off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; | Added|
| ohos.distributedHardware.deviceManager | DeviceManager | on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; | Added|
| ohos.distributedHardware.deviceManager | DeviceManager | off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; | Added|
| ohos.distributedHardware.deviceManager | DeviceManager | on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; | Added|
| ohos.distributedHardware.deviceManager | DeviceManager | unPublishDeviceDiscovery(publishId: number): void; | Added|
| ohos.distributedHardware.deviceManager | DeviceManager | publishDeviceDiscovery(publishInfo: PublishInfo): void; | Added|
| ohos.distributedHardware.deviceManager | PublishInfo | ranging : boolean; | Added|
| ohos.distributedHardware.deviceManager | PublishInfo | freq: ExchangeFreq; | Added|
| ohos.distributedHardware.deviceManager | PublishInfo | mode: DiscoverMode; | Added|
| ohos.distributedHardware.deviceManager | PublishInfo | publishId: number; | Added|
| ohos.distributedHardware.deviceManager | DeviceInfo | range: number; | Added|
# JS API Changes of the Common Event and Notification Subsystem
The table below lists the APIs changes of the common event and notification subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.commonEvent | Support | COMMON_EVENT_QUICK_FIX_APPLY_RESULT = "usual.event.QUICK_FIX_APPLY_RESULT" | Added|
| ohos.commonEvent | Support | COMMON_EVENT_USB_PORT_CHANGED = "usual.event.hardware.usb.action.USB_PORT_CHANGED" | Added|
| ohos.commonEvent | Support | COMMON_EVENT_USB_STATE = "usual.event.hardware.usb.action.USB_STATE" | Added|
| ohos.commonEvent | Support | COMMON_EVENT_PACKAGE_CACHE_CLEARED = "usual.event.PACKAGE_CACHE_CLEARED" | Added|
| ohos.notification | RemoveReason | CANCEL_REASON_REMOVE = 2 | Added|
| ohos.notification | RemoveReason | CLICK_REASON_REMOVE = 1 | Added|
| ohos.notification | notification | function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback\<boolean>): void;<br>function getSyncNotificationEnabledWithoutApp(userId: number): Promise\<boolean>; | Added|
| ohos.notification | notification | function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback\<void>): void;<br>function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise\<void>; | Added|
| ohos.notification | notification | function getSyncNotificationEnabledForUninstallApp(userId: number, callback: AsyncCallback\<boolean>): void;<br>function getSyncNotificationEnabledForUninstallApp(userId: number): Promise\<boolean>; | Deleted|
| ohos.notification | notification | function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean, callback: AsyncCallback\<void>): void;<br>function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean): Promise\<void>; | Deleted|
# JS API Changes of the Globalization Subsystem
The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.i18n | Unicode | static getType(char: string): string; | Added|
| ohos.i18n | Unicode | static isUpperCase(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isLowerCase(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isLetter(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isIdeograph(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isRTL(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isWhitespace(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isSpaceChar(char: string): boolean; | Added|
| ohos.i18n | Unicode | static isDigit(char: string): boolean; | Added|
| ohos.i18n | I18NUtil | static getDateOrder(locale: string): string; | Added|
| ohos.i18n | I18NUtil | static unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; | Added|
| ohos.i18n | Util | getDateOrder(locale: string): string; | Deleted|
| ohos.i18n | Character | getType(char: string): string; | Deprecated|
| ohos.i18n | Character | isUpperCase(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isLowerCase(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isLetter(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isIdeograph(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isRTL(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isWhitespace(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isSpaceChar(char: string): boolean; | Deprecated|
| ohos.i18n | Character | isDigit(char: string): boolean; | Deprecated|
| ohos.i18n | Util | unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; | Deprecated|
# JS API Changes of the Graphics Subsystem
The table below lists the APIs changes of the graphics subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.graphics.colorSpaceManager | colorSpaceManager | function create(colorSpaceName: ColorSpace): ColorSpaceManager;<br>function create(primaries: ColorSpacePrimaries, gamma: number): ColorSpaceManager; | Added|
| ohos.graphics.colorSpaceManager | ColorSpaceManager | getGamma(): number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpaceManager | getWhitePoint(): Array\<number>; | Added|
| ohos.graphics.colorSpaceManager | ColorSpaceManager | getColorSpaceName(): ColorSpace; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | whitePointY: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | whitePointX: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | blueY: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | blueX: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | greenY: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | greenX: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | redY: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpacePrimaries | redX: number; | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | CUSTOM = 5 | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | SRGB = 4 | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | DISPLAY_P3 = 3 | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | DCI_P3 = 2 | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | ADOBE_RGB_1998 = 1 | Added|
| ohos.graphics.colorSpaceManager | ColorSpace | UNKNOWN = 0 | Added|
# JS API Changes of the Multimodal Input Subsystem
The table below lists the APIs changes of the multimodal input subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | off(type: 'cooperation', callback?: AsyncCallback\<void>): void; | Added|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | on(type: 'cooperation', callback: AsyncCallback\<{ deviceDescriptor: string, eventMsg: EventMsg }>): void; | Added|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | getState(deviceDescriptor: string, callback: AsyncCallback\<{ state: boolean }>): void;<br>getState(deviceDescriptor: string): Promise\<{ state: boolean }>; | Added|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | stop(callback: AsyncCallback\<void>): void;<br>stop(): Promise\<void>; | Added|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback\<void>): void;<br>start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise\<void>; | Added|
| ohos.multimodalInput.inputDeviceCooperate | inputDeviceCooperate | enable(enable: boolean, callback: AsyncCallback\<void>): void;<br>enable(enable: boolean): Promise\<void>; | Added|
| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_STATE_OFF = 501 | Added|
| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_STATE_ON = 500 | Added|
| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_FAIL = 202 | Added|
| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_SUCCESS = 201 | Added|
| ohos.multimodalInput.inputDeviceCooperate | EventMsg | MSG_COOPERATE_INFO_START = 200 | Added|
| ohos.multimodalInput.pointer | pointer | isPointerVisible(callback: AsyncCallback\<boolean>): void;<br>isPointerVisible(): Promise\<boolean>; | Added|
| ohos.multimodalInput.pointer | pointer | setPointerVisible(visible: boolean, callback: AsyncCallback\<void>): void;<br>setPointerVisible(visible: boolean): Promise\<void>; | Added|
| ohos.multimodalInput.pointer | pointer | getPointerStyle(windowId: number, callback: AsyncCallback\<PointerStyle>): void;<br>getPointerStyle(windowId: number): Promise\<PointerStyle>; | Added|
| ohos.multimodalInput.pointer | pointer | setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback\<void>): void;<br>setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise\<void>; | Added|
| ohos.multimodalInput.pointer | pointer | getPointerSpeed(callback: AsyncCallback\<number>): void;<br>getPointerSpeed(): Promise\<number>; | Added|
| ohos.multimodalInput.pointer | pointer | setPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;<br>setPointerSpeed(speed: number): Promise\<void>; | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_SOUTH_WEST_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH_SOUTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_NORTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_SOUTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | MIDDLE_BTN_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | ZOOM_OUT | Added|
| ohos.multimodalInput.pointer | PointerStyle | ZOOM_IN | Added|
| ohos.multimodalInput.pointer | PointerStyle | TEXT_CURSOR | Added|
| ohos.multimodalInput.pointer | PointerStyle | SCREENSHOT_CURSOR | Added|
| ohos.multimodalInput.pointer | PointerStyle | SCREENSHOT_CHOOSE | Added|
| ohos.multimodalInput.pointer | PointerStyle | RESIZE_UP_DOWN | Added|
| ohos.multimodalInput.pointer | PointerStyle | RESIZE_LEFT_RIGHT | Added|
| ohos.multimodalInput.pointer | PointerStyle | MOVE | Added|
| ohos.multimodalInput.pointer | PointerStyle | HELP | Added|
| ohos.multimodalInput.pointer | PointerStyle | HAND_POINTING | Added|
| ohos.multimodalInput.pointer | PointerStyle | HAND_OPEN | Added|
| ohos.multimodalInput.pointer | PointerStyle | HAND_GRABBING | Added|
| ohos.multimodalInput.pointer | PointerStyle | COLOR_SUCKER | Added|
| ohos.multimodalInput.pointer | PointerStyle | CURSOR_FORBID | Added|
| ohos.multimodalInput.pointer | PointerStyle | CURSOR_COPY | Added|
| ohos.multimodalInput.pointer | PointerStyle | CROSS | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH_WEST_SOUTH_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH_EAST_SOUTH_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | SOUTH_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | SOUTH_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH_WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH_SOUTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | WEST_EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | NORTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | SOUTH | Added|
| ohos.multimodalInput.pointer | PointerStyle | WEST | Added|
| ohos.multimodalInput.pointer | PointerStyle | EAST | Added|
| ohos.multimodalInput.pointer | PointerStyle | DEFAULT | Added|
# JS API Changes of the Resource Scheduler Subsystem
The table below lists the APIs changes of the resource scheduler subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | reason: string; | Added|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | isProcess?: boolean; | Added|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | isPersist?: boolean; | Added|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | timeOut: number; | Added|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | isApply: boolean; | Added|
| ohos.backgroundTaskManager | EfficiencyResourcesRequest | resourceTypes: number; | Added|
| ohos.backgroundTaskManager | ResourceType | AUDIO = 1 << 6 | Added|
| ohos.backgroundTaskManager | ResourceType | GPS = 1 << 5 | Added|
| ohos.backgroundTaskManager | ResourceType | BLUETOOTH = 1 << 4 | Added|
| ohos.backgroundTaskManager | ResourceType | WORK_SCHEDULER = 1 << 3 | Added|
| ohos.backgroundTaskManager | ResourceType | TIMER = 1 << 2 | Added|
| ohos.backgroundTaskManager | ResourceType | COMMON_EVENT = 1 << 1 | Added|
| ohos.backgroundTaskManager | ResourceType | CPU = 1 | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | resetAllEfficiencyResources(): void; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | applyEfficiencyResources(request: EfficiencyResourcesRequest): boolean; | Added|
| ohos.workScheduler | WorkInfo | parameters?: {[key: string]: any}; | Added|
# JS API Changes of the Pan-Sensor Subsystem
The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.vibrator | VibratePreset | count: number; | Added|
| ohos.vibrator | VibratePreset | effectId: string; | Added|
| ohos.vibrator | VibratePreset | type: "preset"; | Added|
| ohos.vibrator | VibrateTime | duration: number; | Added|
| ohos.vibrator | VibrateTime | type: "time"; | Added|
| ohos.vibrator | VibrateAttribute | usage: Usage, | Added|
| ohos.vibrator | VibrateAttribute | id?: number, | Added|
# JS API Changes of the DSoftBus Subsystem
The table below lists the APIs changes of the DSoftBus subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.rpc | RemoteObject | onRemoteRequestEx(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean \| Promise\<boolean>; | Added|
| ohos.rpc | RemoteObject | onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean; | Deprecated|
# JS API Changes of the Telephony Subsystem
The table below lists the APIs changes of the telephony subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.telephony.data | data | getDefaultCellularDataSlotIdSync(): number; | Added|
| ohos.telephony.radio | ImsServiceType | TYPE_SMS | Added|
| ohos.telephony.radio | ImsServiceType | TYPE_UT | Added|
| ohos.telephony.radio | ImsServiceType | TYPE_VIDEO | Added|
| ohos.telephony.radio | ImsServiceType | TYPE_VOICE | Added|
| ohos.telephony.radio | ImsRegInfo | imsRegTech: ImsRegTech; | Added|
| ohos.telephony.radio | ImsRegInfo | imsRegState: ImsRegState; | Added|
| ohos.telephony.radio | ImsRegTech | REGISTRATION_TECH_NR | Added|
| ohos.telephony.radio | ImsRegTech | REGISTRATION_TECH_IWLAN | Added|
| ohos.telephony.radio | ImsRegTech | REGISTRATION_TECH_LTE | Added|
| ohos.telephony.radio | ImsRegTech | REGISTRATION_TECH_NONE | Added|
| ohos.telephony.radio | ImsRegState | IMS_REGISTERED | Added|
| ohos.telephony.radio | ImsRegState | IMS_UNREGISTERED | Added|
| ohos.telephony.radio | radio | off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\<ImsRegInfo>): void; | Added|
| ohos.telephony.radio | radio | on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\<ImsRegInfo>): void; | Added|
| ohos.telephony.radio | radio | getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\<ImsRegInfo>): void;<br>getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>; | Added|
| ohos.telephony.sim | sim | getOpName(slotId: number, callback: AsyncCallback\<string>): void;<br>getOpName(slotId: number): Promise\<string>; | Added|
| ohos.telephony.sim | sim | getOpKey(slotId: number, callback: AsyncCallback\<string>): void;<br>getOpKey(slotId: number): Promise\<string>; | Added|
# JS API Changes of the Test Subsystem
The table below lists the APIs changes of the test subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.uitest | PointerMatrix | setPoint(finger: number, step: number, point: Point):void; | Added|
| ohos.uitest | PointerMatrix | static create(fingers: number, steps: number):PointerMatrix; | Added|
| ohos.uitest | UiDriver | injectMultiPointerAction(pointers: PointerMatrix, speed?: number):Promise\<boolean>; | Added|
| ohos.uitest | UiDriver | fling(from: Point, to: Point, stepLen: number, speed: number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | waitForIdle(idleTime: number, timeout: number):Promise\<boolean>; | Added|
| ohos.uitest | UiDriver | pressHome():Promise\<void>; | Added|
| ohos.uitest | UiDriver | wakeUpDisplay():Promise\<void>; | Added|
| ohos.uitest | UiDriver | getDisplayDensity():Promise\<Point>; | Added|
| ohos.uitest | UiDriver | getDisplaySize():Promise\<Point>; | Added|
| ohos.uitest | UiDriver | setDisplayRotationEnabled(enabled:boolean):Promise\<void>; | Added|
| ohos.uitest | UiDriver | getDisplayRotation():Promise\<DisplayRotation>; | Added|
| ohos.uitest | UiDriver | setDisplayRotation(rotation: DisplayRotation):Promise\<void>; | Added|
| ohos.uitest | DisplayRotation | ROTATION_270 | Added|
| ohos.uitest | DisplayRotation | ROTATION_180 | Added|
| ohos.uitest | DisplayRotation | ROTATION_90 | Added|
| ohos.uitest | DisplayRotation | ROTATION_0 | Added|
# JS API Changes of the Update Subsystem
The table below lists the APIs changes of the update subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.update | Order | INSTALL_AND_APPLY = 6 | Added|
| ohos.update | Order | DOWNLOAD_AND_INSTALL = 3 | Added|
| ohos.update | NetType | CELLULAR_AND_WIFI = 7 | Added|
| ohos.update | NetType | WIFI = 6 | Added|
| ohos.update | DescriptionFormat | SIMPLIFIED = 1 | Added|
| ohos.update | DescriptionFormat | STANDARD = 0 | Added|
| ohos.update | ComponentDescription | descriptionInfo: DescriptionInfo; | Added|
| ohos.update | ComponentDescription | componentId: string; | Added|
| ohos.update | DescriptionOptions | language: string; | Added|
| ohos.update | DescriptionOptions | format: DescriptionFormat; | Added|
| ohos.update | VersionComponent | componentId: string; | Added|
| ohos.update | Updater | getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array\<ComponentDescription>>): void;<br>getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise<Array\<ComponentDescription>>; | Added|
| ohos.update | Updater | getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array\<ComponentDescription>>): void;<br>getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions): Promise<Array\<ComponentDescription>>; | Added|
| ohos.update | BusinessSubType | PARAM = 2 | Deleted|
# JS API Changes of the Web Subsystem
The table below lists the APIs changes of the web subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
## API Changes
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.web.webview | WebCookieManager | static deleteSessionCookie(): void; | Added|
| ohos.web.webview | WebCookieManager | static deleteEntireCookie(): void; | Added|
| ohos.web.webview | WebCookieManager | static existCookie(): boolean; | Added|
| ohos.web.webview | WebCookieManager | static putAcceptThirdPartyCookieEnabled(accept: boolean): void; | Added|
| ohos.web.webview | WebCookieManager | static isThirdPartyCookieAllowed(): boolean; | Added|
| ohos.web.webview | WebCookieManager | static putAcceptCookieEnabled(accept: boolean): void; | Added|
| ohos.web.webview | WebCookieManager | static isCookieAllowed(): boolean; | Added|
| ohos.web.webview | WebCookieManager | static saveCookieAsync(): Promise\<boolean>;<br>static saveCookieAsync(callback: AsyncCallback\<boolean>): void; | Added|
| ohos.web.webview | WebCookieManager | static saveCookieSync(): boolean; | Added|
| ohos.web.webview | WebCookieManager | static setCookie(url: string, value: string): boolean; | Added|
| ohos.web.webview | WebCookieManager | static getCookie(url: string): string; | Added|
| ohos.web.webview | GeolocationPermissions | static getStoredGeolocation() : Promise\<Array\<string>>;<br>static getStoredGeolocation(callback : AsyncCallback\<Array\<string>>): void; | Added|
| ohos.web.webview | GeolocationPermissions | static getAccessibleGeolocation(origin: string): Promise\<boolean>;<br>static getAccessibleGeolocation(origin: string, callback: AsyncCallback\<boolean>): void; | Added|
| ohos.web.webview | GeolocationPermissions | static deleteAllGeolocation(): void; | Added|
| ohos.web.webview | GeolocationPermissions | static deleteGeolocation(origin: string): void; | Added|
| ohos.web.webview | GeolocationPermissions | static allowGeolocation(origin: string): void; | Added|
| ohos.web.webview | WebAsyncController | storeWebArchive(baseName: string, autoName: boolean): Promise\<string>;<br>storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\<string>): void; | Added|
| ohos.web.webview | WebAsyncController | constructor(controller: WebController); | Added|
| ohos.web.webview | WebDataBase | static saveHttpAuthCredentials(host: string, realm: string, username: string, password: string): void; | Added|
| ohos.web.webview | WebDataBase | static getHttpAuthCredentials(host: string, realm: string): Array\<string>; | Added|
| ohos.web.webview | WebDataBase | static deleteHttpAuthCredentials(): void; | Added|
| ohos.web.webview | WebDataBase | static existHttpAuthCredentials(): boolean; | Added|
| ohos.web.webview | WebStorage | static getOriginUsage(origin : string) : Promise\<number> ;<br>static getOriginUsage(origin : string, callback : AsyncCallback\<number>) : void; | Added|
| ohos.web.webview | WebStorage | static getOriginQuota(origin : string) : Promise\<number>;<br>static getOriginQuota(origin : string, callback : AsyncCallback\<number>) : void; | Added|
| ohos.web.webview | WebStorage | static getOrigins() : Promise\<Array\<WebStorageOrigin>>;<br>static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>) : void; | Added|
| ohos.web.webview | WebStorage | static deleteOrigin(origin : string): void; | Added|
| ohos.web.webview | WebStorage | static deleteAllData() : void; | Added|
| ohos.web.webview | WebStorageOrigin | quota: number; | Added|
| ohos.web.webview | WebStorageOrigin | usage: number; | Added|
| ohos.web.webview | WebStorageOrigin | origin: string; | Added|
| ohos.web | WebDataBase | static saveHttpAuthCredentials(host: string, realm: string, username: string, password: string): void; | Deleted|
| ohos.web | WebDataBase | static getHttpAuthCredentials(host: string, realm: string): Array\<string>; | Deleted|
| ohos.web | WebDataBase | static deleteHttpAuthCredentials(): void; | Deleted|
| ohos.web | WebDataBase | static existHttpAuthCredentials(): boolean; | Deleted|
| ohos.web | WebStorage | static getOriginUsage(origin : string) : Promise\<number> ;<br>static getOriginUsage(origin : string, callback : AsyncCallback\<number>) : void; | Deleted|
| ohos.web | WebStorage | static getOriginQuota(origin : string) : Promise\<number>;<br>static getOriginQuota(origin : string, callback : AsyncCallback\<number>) : void; | Deleted|
| ohos.web | WebStorage | static getOrigins() : Promise\<Array\<WebStorageOrigin>>;<br>static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>) : void; | Deleted|
| ohos.web | WebStorage | static deleteOrigin(origin : string): void; | Deleted|
| ohos.web | WebStorage | static deleteAllData() : void; | Deleted|
| ohos.web | WebStorageOrigin | quota: number; | Deleted|
| ohos.web | WebStorageOrigin | usage: number; | Deleted|
| ohos.web | WebStorageOrigin | origin: string; | Deleted|
# Readme
This directory records the API changes in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2, including new, updated, deprecated, and deleted APIs.
- JS API Differences
- [Ability framework](js-apidiff-ability.md)
- [Accessibility subsystem](js-apidiff-accessibility.md)
- [Account subsystem](js-apidiff-account.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-communicate.md)
- [Utils subsystem](js-apidiff-compiler-and-runtime.md)
- [DFX subsystem](js-apidiff-dfx.md)
- [Distributed data management subsystem](js-apidiff-distributed-data.md)
- [Distributed hardware subsystem](js-apidiff-distributed-hardware.md)
- [Common event and notification subsystem](js-apidiff-event-and-notification.md)
- [File management subsystem](js-apidiff-file-management.md)
- [Globalization subsystem](js-apidiff-global.md)
- [Graphics subsystem](js-apidiff-graphic.md)
- [Misc services subsystem](js-apidiff-misc.md)
- [Multimodal input subsystem](js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](js-apidiff-multimedia.md)
- [Resource scheduler subsystem](js-apidiff-resource-scheduler.md)
- [Security subsystem](js-apidiff-security.md)
- [Pan-sensor subsystem](js-apidiff-sensor.md)
- [DSoftBus subsystem](js-apidiff-soft-bus.md)
- [Telephony subsystem](js-apidiff-telephony.md)
- [Test subsystem](js-apidiff-unitest.md)
- [Update subsystem](js-apidiff-update.md)
- [Web subsystem](js-apidiff-web.md)
- [Window manager subsystem](js-apidiff-window.md)
......@@ -29,7 +29,35 @@
- [OpenHarmony 1.0 (2020-09-10)](release-notes/OpenHarmony-1-0.md)
- API Differences
- OpenHarmony 3.2 Beta3
- JS API Differences
- [Ability framework](release-notes/api-change/v3.2-beta3/js-apidiff-ability.md)
- [Accessibility subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-accessibility.md)
- [Account subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-account.md)
- [ArkUI development framework](release-notes/api-change/v3.2-beta3/js-apidiff-arkui.md)
- [Power management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-battery.md)
- [Bundle management framework](release-notes/api-change/v3.2-beta3/js-apidiff-bundle.md)
- [Communication subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-communicate.md)
- [Utils subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-compiler-and-runtime.md)
- [DFX subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-dfx.md)
- [Distributed data management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-distributed-data.md)
- [Distributed hardware subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-distributed-hardware.md)
- [Common event and notification subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-event-and-notification.md)
- [File management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-file-management.md)
- [Globalization subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-global.md)
- [Graphics subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-graphic.md)
- [Misc services subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-misc.md)
- [Multimodal input subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-multimedia.md)
- [Resource scheduler subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-resource-scheduler.md)
- [Security subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-security.md)
- [Pan-sensor subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-sensor.md)
- [DSoftBus subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-soft-bus.md)
- [Telephony subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-telephony.md)
- [Test subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-unitest.md)
- [Update subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-update.md)
- [Web subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-web.md)
- [Window manager subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-window.md)
- OpenHarmony 3.2 Beta2
- JS API Differences
- [Ability framework](release-notes/api-change/v3.2-beta2/js-apidiff-ability.md)
......@@ -49,7 +77,7 @@
- [Misc services subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-misc.md)
- [Multimodal input subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-multimedia.md)
- [Distributed scheduler subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-resource-scheduler.md)
- [Resource scheduler subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-resource-scheduler.md)
- [Security subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-security.md)
- [Pan-sensor subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-sensor.md)
- [DSoftBus subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-soft-bus.md)
......@@ -79,7 +107,6 @@
- [Multimodal input subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-multi-modal-input.md)
- [Multimedia subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-multimedia.md)
- [Distributed scheduler subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-resource-scheduler.md)
- [DSoftBus subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-soft-bus.md)
- [Test subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-unitest.md)
- [Web subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-web.md)
- [Window manager subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-window.md)
......@@ -129,7 +156,7 @@
- OpenHarmony Third-Party Components
- [OpenHarmony Third-Party Components](third-party-components/third-party-components-introduction.md)
- [Using OpenHarmony JS and TS Third-Party Components](third-party-components/npm-third-party-guide.md)
- Contribution
- [How to Contribute](contribute/how-to-contribute.md)
- [Code of Conduct](contribute/code-of-conduct.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册