提交 29a2db3d 编写于 作者: W wusongqing

updated docs

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 be81536f
......@@ -25,9 +25,9 @@ Checks whether this application is undergoing a stability test. This API uses an
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;boolean&gt; | No| Callback used to return the result. If the application is undergoing a stability test, **true** will be returned; otherwise, **false** will be returned.|
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;boolean&gt; | No| Callback used to return the result. If the application is undergoing a stability test, **true** will be returned; otherwise, **false** will be returned.|
**Example**
......@@ -49,9 +49,9 @@ Checks whether this application is undergoing a stability test. This API uses a
**Return value**
| Type| Description|
| -------- | -------- |
| Promise&lt;boolean&gt; | Promise used to return the result. If the application is undergoing a stability test, **true** will be returned; otherwise, **false** will be returned.|
| Type| Description|
| -------- | -------- |
| Promise&lt;boolean&gt; | Promise used to return the result. If the application is undergoing a stability test, **true** will be returned; otherwise, **false** will be returned.|
**Example**
......@@ -75,9 +75,9 @@ Checks whether this application is running on a RAM constrained device. This API
**Return value**
| Type| Description|
| -------- | -------- |
| Promise&lt;boolean&gt; | Promise used to return whether the application is running on a RAM constrained device. If the application is running on a RAM constrained device, **true** will be returned; otherwise, **false** will be returned.|
| Type| Description|
| -------- | -------- |
| Promise&lt;boolean&gt; | Promise used to return whether the application is running on a RAM constrained device. If the application is running on a RAM constrained device, **true** will be returned; otherwise, **false** will be returned.|
**Example**
......@@ -99,9 +99,9 @@ Checks whether this application is running on a RAM constrained device. This API
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;boolean&gt; | No| Callback used to return whether the application is running on a RAM constrained device. If the application is running on a RAM constrained device, **true** will be returned; otherwise, **false** will be returned.|
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;boolean&gt; | No| Callback used to return whether the application is running on a RAM constrained device. If the application is running on a RAM constrained device, **true** will be returned; otherwise, **false** will be returned.|
**Example**
......@@ -122,9 +122,9 @@ Obtains the memory size of this application. This API uses a promise to return t
**Return value**
| Type| Description|
| -------- | -------- |
| Promise&lt;number&gt; | Size of the application memory.|
| Type| Description|
| -------- | -------- |
| Promise&lt;number&gt; | Size of the application memory.|
**Example**
......@@ -146,9 +146,9 @@ Obtains the memory size of this application. This API uses an asynchronous callb
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;number&gt; | No| Size of the application memory.|
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback&lt;number&gt; | No| Size of the application memory.|
**Example**
......@@ -160,7 +160,7 @@ Obtains the memory size of this application. This API uses an asynchronous callb
```
## appManager.getProcessRunningInfos<sup>8+</sup>
getProcessRunningInfos(): Promise<Array\<ProcessRunningInfo>>;
getProcessRunningInfos(): Promise\<Array\<ProcessRunningInfo>>;
Obtains information about the running processes. This API uses a promise to return the result.
......@@ -168,9 +168,9 @@ Obtains information about the running processes. This API uses a promise to retu
**Return value**
| Type| Description|
| -------- | -------- |
| Promise<Array\<ProcessRunningInfo>> | Promise used to return the process information.|
| Type| Description|
| -------- | -------- |
| Promise\<Array\<ProcessRunningInfo>> | Promise used to return the process information.|
**Example**
......@@ -184,7 +184,7 @@ Obtains information about the running processes. This API uses a promise to retu
## appManager.getProcessRunningInfos<sup>8+</sup>
getProcessRunningInfos(callback: AsyncCallback<Array\<ProcessRunningInfo>>): void;
getProcessRunningInfos(callback: AsyncCallback\<Array\<ProcessRunningInfo>>): void;
Obtains information about the running processes. This API uses an asynchronous callback to return the result.
......@@ -192,9 +192,9 @@ Obtains information about the running processes. This API uses an asynchronous c
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback<Array\<ProcessRunningInfo>> | No| Callback used to return the process information.|
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback\<Array\<ProcessRunningInfo>> | No| Callback used to return the process information.|
**Example**
......
......@@ -7,7 +7,9 @@ import zlib from '@ohos.zlib';
```
## zlib.zipFile
zipFile(inFile:string, outFile:string, options: Options): Promise\<void>
Zips a file. This API uses a promise to return the result.
**System capability**: SystemCapability.BundleManager.Zlib
......
......@@ -23,9 +23,9 @@ The name of a resource qualifier consists of one or more qualifiers that represe
Table1 Resource qualifiers
| Data Type | Description and Value Range |
| Data Type | Description and Value Range |
| -------- | -------- |
| Screen density | Indicates the screen density of the device, in dpi. The value can be:<br/>- ldpi: low-density screen (~120 dpi) (0.75 x Reference density)<br/>- mdpi: medium-density screen (~160 dpi) (reference density)<br/>- hdpi: high-density screen (~240 dpi) (1.5 x Reference density)<br/>- xhdpi: extra high-density screen (~320 dpi) (2.0 x Reference density)<br/>- xxhdpi: extra extra high-density screen (~480 dpi) (3.0 x Reference density)<br/>- xxxhdpi: extra extra extra high-density screen (~640 dpi) (4.0 x Reference density) |
| Screen density | Indicates the screen density of the device, in dpi. The value can be:<br/>- ldpi: low-density screen (~120 dpi) (0.75 x Reference density)<br/>- mdpi: medium-density screen (~160 dpi) (reference density)<br/>- hdpi: high-density screen (~240 dpi) (1.5 x Reference density)<br/>- xhdpi: extra high-density screen (~320 dpi) (2.0 x Reference density)<br/>- xxhdpi: extra extra high-density screen (~480 dpi) (3.0 x Reference density)<br/>- xxxhdpi: extra extra extra high-density screen (~640 dpi) (4.0 x Reference density) |
## Rules for Matching Qualifiers Files and Device Resources
......@@ -41,7 +41,7 @@ You can use the $r syntax in the application development files .hml and .js to f
| Attribute | Type | Description |
| -------- | -------- | -------- |
| $r | (key: string) => string | Obtains the resource content that matches the specific qualifiers, for example, this.$r('strings.hello loaded).<br/>Parameter description:<br/>- key: key value defined in the resource qualifier file, for example, strings.hello.<br/> |
| $r | (key: string) => string | Obtains the resource content that matches the specific qualifiers, for example, this.$r('strings.hello loaded).<br/>Parameter description:<br/>- key: key value defined in the resource qualifier file, for example, strings.hello. |
Example of res-defaults.json:<br/>
......
......@@ -4,67 +4,67 @@ This document describes the changes of APIs in OpenHarmony 2.2 Beta2 over OpenHa
| Module | API | Change Type | Change Description |
| -------- | -------- | -------- | -------- |
| Time, date, and digit module - Locale | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - Locale | toString(): string | Added | - |
| Time, date, and digit module - Locale | maximize(): Locale | Added | - |
| Time, date, and digit module - Locale | minimize(): Locale | Added | - |
| Time, date, and digit module - Locale | calendar | Added | - |
| Time, date, and digit module - Locale | caseFirst | Added | - |
| Time, date, and digit module - Locale | collation | Added | - |
| Time, date, and digit module - Locale | hourCycle | Added | - |
| Time, date, and digit module - Locale | numberingSystem | Added | - |
| Time, date, and digit module - Locale | numeric | Added | - |
| Time, date, and digit module - Locale | language | Added | - |
| Time, date, and digit module - Locale | script | Added | - |
| Time, date, and digit module - Locale | region | Added | - |
| Time, date, and digit module - Locale | baseName | Added | - |
| Time, date, and digit module - DateTimeFormat | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - DateTimeFormat | constructor(locale: string[], options?:options) | Added | - |
| Time, date, and digit module - DateTimeFormat | resolvedOptions(): DateTimeOptions | Added | - |
| Time, date, and digit module - DateTimeFormat | format(date: Date): string; | Added | - |
| Time, date, and digit module - DateTimeFormat | formatRange(fromDate: Date, toDate: Date): string; | Added | - |
| Time, date, and digit module - NumberFormat | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - NumberFormat | constructor(locale: string[], options?:options) | Added | - |
| Time, date, and digit module - NumberFormat | resolvedOptions(): NumberOptions | Added | - |
| Time, date, and digit module - NumberFormat | format(number: number): string; | Added | - |
| Time, date, and digit module - DateTimeOptions | locale | Added | - |
| Time, date, and digit module - DateTimeOptions | dateStyle | Added | - |
| Time, date, and digit module - DateTimeOptions | timeStyle | Added | - |
| Time, date, and digit module - DateTimeOptions | calendar | Added | - |
| Time, date, and digit module - DateTimeOptions | dayPeriod | Added | - |
| Time, date, and digit module - DateTimeOptions | numberingSystem | Added | - |
| Time, date, and digit module - DateTimeOptions | localeMatcher | Added | - |
| Time, date, and digit module - DateTimeOptions | timeZone | Added | - |
| Time, date, and digit module - DateTimeOptions | hour12 | Added | - |
| Time, date, and digit module - DateTimeOptions | hourCycle | Added | - |
| Time, date, and digit module - DateTimeOptions | formatMatcher | Added | - |
| Time, date, and digit module - DateTimeOptions | weekday | Added | - |
| Time, date, and digit module - DateTimeOptions | era | Added | - |
| Time, date, and digit module - DateTimeOptions | year | Added | - |
| Time, date, and digit module - DateTimeOptions | month | Added | - |
| Time, date, and digit module - DateTimeOptions | day | Added | - |
| Time, date, and digit module - DateTimeOptions | hour | Added | - |
| Time, date, and digit module - DateTimeOptions | minute | Added | - |
| Time, date, and digit module - DateTimeOptions | second | Added | - |
| Time, date, and digit module - DateTimeOptions | timeZoneName | Added | - |
| Time, date, and digit module - NumberOptions | locale | Added | - |
| Time, date, and digit module - NumberOptions | compactDisplay | Added | - |
| Time, date, and digit module - NumberOptions | currency | Added | - |
| Time, date, and digit module - NumberOptions | currencyDisplay | Added | - |
| Time, date, and digit module - NumberOptions | currencySign | Added | - |
| Time, date, and digit module - NumberOptions | localeMatcher | Added | - |
| Time, date, and digit module - NumberOptions | notation | Added | - |
| Time, date, and digit module - NumberOptions | numberingSystem | Added | - |
| Time, date, and digit module - NumberOptions | signDisplay | Added | - |
| Time, date, and digit module - NumberOptions | style | Added | - |
| Time, date, and digit module - NumberOptions | unit | Added | - |
| Time, date, and digit module - NumberOptions | unitDisplay | Added | - |
| Time, date, and digit module - NumberOptions | useGrouping | Added | - |
| Time, date, and digit module - NumberOptions | minimumIntegerDigits | Added | - |
| Time, date, and digit module - NumberOptions | minimumFractionDigits | Added | - |
| Time, date, and digit module - NumberOptions | maximumFractionDigits | Added | - |
| Time, date, and digit module - NumberOptions | minimumSignificantDigits | Added | - |
| Time, date, and digit module - NumberOptions | maximumSignificantDigits | Added | - |
| Time, date, and digit module - Locale | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - Locale | toString(): string | Added | - |
| Time, date, and digit module - Locale | maximize(): Locale | Added | - |
| Time, date, and digit module - Locale | minimize(): Locale | Added | - |
| Time, date, and digit module - Locale | calendar | Added | - |
| Time, date, and digit module - Locale | caseFirst | Added | - |
| Time, date, and digit module - Locale | collation | Added | - |
| Time, date, and digit module - Locale | hourCycle | Added | - |
| Time, date, and digit module - Locale | numberingSystem | Added | - |
| Time, date, and digit module - Locale | numeric | Added | - |
| Time, date, and digit module - Locale | language | Added | - |
| Time, date, and digit module - Locale | script | Added | - |
| Time, date, and digit module - Locale | region | Added | - |
| Time, date, and digit module - Locale | baseName | Added | - |
| Time, date, and digit module - DateTimeFormat | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - DateTimeFormat | constructor(locale: string[], options?:options) | Added | - |
| Time, date, and digit module - DateTimeFormat | resolvedOptions(): DateTimeOptions | Added | - |
| Time, date, and digit module - DateTimeFormat | format(date: Date): string; | Added | - |
| Time, date, and digit module - DateTimeFormat | formatRange(fromDate: Date, toDate: Date): string; | Added | - |
| Time, date, and digit module - NumberFormat | constructor(locale: string, options?:options) | Added | - |
| Time, date, and digit module - NumberFormat | constructor(locale: string[], options?:options) | Added | - |
| Time, date, and digit module - NumberFormat | resolvedOptions(): NumberOptions | Added | - |
| Time, date, and digit module - NumberFormat | format(number: number): string; | Added | - |
| Time, date, and digit module - DateTimeOptions | locale | Added | - |
| Time, date, and digit module - DateTimeOptions | dateStyle | Added | - |
| Time, date, and digit module - DateTimeOptions | timeStyle | Added | - |
| Time, date, and digit module - DateTimeOptions | calendar | Added | - |
| Time, date, and digit module - DateTimeOptions | dayPeriod | Added | - |
| Time, date, and digit module - DateTimeOptions | numberingSystem | Added | - |
| Time, date, and digit module - DateTimeOptions | localeMatcher | Added | - |
| Time, date, and digit module - DateTimeOptions | timeZone | Added | - |
| Time, date, and digit module - DateTimeOptions | hour12 | Added | - |
| Time, date, and digit module - DateTimeOptions | hourCycle | Added | - |
| Time, date, and digit module - DateTimeOptions | formatMatcher | Added | - |
| Time, date, and digit module - DateTimeOptions | weekday | Added | - |
| Time, date, and digit module - DateTimeOptions | era | Added | - |
| Time, date, and digit module - DateTimeOptions | year | Added | - |
| Time, date, and digit module - DateTimeOptions | month | Added | - |
| Time, date, and digit module - DateTimeOptions | day | Added | - |
| Time, date, and digit module - DateTimeOptions | hour | Added | - |
| Time, date, and digit module - DateTimeOptions | minute | Added | - |
| Time, date, and digit module - DateTimeOptions | second | Added | - |
| Time, date, and digit module - DateTimeOptions | timeZoneName | Added | - |
| Time, date, and digit module - NumberOptions | locale | Added | - |
| Time, date, and digit module - NumberOptions | compactDisplay | Added | - |
| Time, date, and digit module - NumberOptions | currency | Added | - |
| Time, date, and digit module - NumberOptions | currencyDisplay | Added | - |
| Time, date, and digit module - NumberOptions | currencySign | Added | - |
| Time, date, and digit module - NumberOptions | localeMatcher | Added | - |
| Time, date, and digit module - NumberOptions | notation | Added | - |
| Time, date, and digit module - NumberOptions | numberingSystem | Added | - |
| Time, date, and digit module - NumberOptions | signDisplay | Added | - |
| Time, date, and digit module - NumberOptions | style | Added | - |
| Time, date, and digit module - NumberOptions | unit | Added | - |
| Time, date, and digit module - NumberOptions | unitDisplay | Added | - |
| Time, date, and digit module - NumberOptions | useGrouping | Added | - |
| Time, date, and digit module - NumberOptions | minimumIntegerDigits | Added | - |
| Time, date, and digit module - NumberOptions | minimumFractionDigits | Added | - |
| Time, date, and digit module - NumberOptions | maximumFractionDigits | Added | - |
| Time, date, and digit module - NumberOptions | minimumSignificantDigits | Added | - |
| Time, date, and digit module - NumberOptions | maximumSignificantDigits | Added | - |
|File storage - system.file|mkdir|Added|-|
|File storage - system.file|rmdir|Added|-|
|File storage - system.file|get|Added|-|
......@@ -140,20 +140,20 @@ This document describes the changes of APIs in OpenHarmony 2.2 Beta2 over OpenHa
|Device management - DeviceManager|ExchangeMedium|Added|-|
|Device management - DeviceManager|ExchangeFreq|Added|-|
|Device management - DeviceManager|SubscribeCap|Added|-|
|Device management - DeviceManager|createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void|Added|-|
|Device management - DeviceManager|createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void|Added|-|
|Device management - DeviceManager|release(): void|Added|-|
|Device management - DeviceManager|getTrustedDeviceListSync(): Array<DeviceInfo>|Added|-|
|Device management - DeviceManager|getTrustedDeviceListSync(): Array\<DeviceInfo>|Added|-|
|Device management - DeviceManager|startDeviceDiscovery(subscribeInfo: SubscribeInfo): void|Added|-|
|Device management - DeviceManager|stopDeviceDiscovery(subscribeId: number): void|Added|-|
|Device management - DeviceManager|authenticateDevice(deviceInfo: DeviceInfo): void|Added|-|
|Device management - DeviceManager|on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|on(type: 'authResult', callback: Callback<{ deviceId: string, status: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|off(type: 'authResult', callback?: Callback<{ deviceId: string, status: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void|Added|-|
|Device management - DeviceManager|on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|on(type: 'authResult', callback: Callback\<{ deviceId: string, status: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|off(type: 'authResult', callback?: Callback\<{ deviceId: string, status: number, reason: number }>): void|Added|-|
|Device management - DeviceManager|on(type: 'serviceDie', callback: () => void): void|Added|-|
|Device management - DeviceManager|off(type: 'serviceDie', callback?: () => void): void|Added|-|
|Playback and recording|createAudioPlayer(): AudioPlayer|Added|-|
......@@ -171,7 +171,7 @@ This document describes the changes of APIs in OpenHarmony 2.2 Beta2 over OpenHa
|Playback and recording|readonly duration: number|Added|-|
|Playback and recording|readonly state: AudioState|Added|-|
|Playback and recording|on(type: 'play' / 'pause' / 'stop' / 'reset' / 'dataLoad' / 'finish' / 'volumeChange', callback: () => void): void|Added|-|
|Playback and recording|on(type: 'timeUpdate', callback: Callback<number>): void|Added|-|
|Playback and recording|on(type: 'timeUpdate', callback: Callback\<number>): void|Added|-|
|Playback and recording|on(type: 'error', callback: ErrorCallback): void|Added|-|
|Audio management|getAudioManager(): AudioManager|Added|-|
|Audio management|AudioVolumeType|Added|-|
......@@ -195,38 +195,38 @@ This document describes the changes of APIs in OpenHarmony 2.2 Beta2 over OpenHa
|Audio management|RINGER_MODE_NORMAL |Added|-|
|Audio management|RINGER_MODE_SILENT|Added|-|
|Audio management|RINGER_MODE_VIBRATE |Added|-|
|Audio management|setVolume(audioType: AudioVolumeType, volume: number,callback: AsyncCallback<void>): void|Added|-|
|Audio management|setVolume(audioType: AudioVolumeType, volume: number): Promise<void>|Added|-|
|Audio management|getVolume(audioType: AudioVolumeType, callback: AsyncCallback<number>): void|Added|-|
|Audio management|getVolume(audioType: AudioVolumeType): Promise<number>|Added|-|
|Audio management|getMinVolume(audioType: AudioVolumeType, callback: AsyncCallback<number>): void|Added|-|
|Audio management|getMinVolume(audioType: AudioVolumeType): Promise<number>|Added|-|
|Audio management|getMaxVolume(audioType: AudioVolumeType, callback: AsyncCallback<number>): void|Added|-|
|Audio management|getMaxVolume(audioType: AudioVolumeType): Promise<number>|Added|-|
|Audio management|getDevices(deviceFlag: DeviceFlag, callback: AsyncCallback<AudioDeviceDescriptors>): void|Added|-|
|Audio management|getDevices(deviceFlag: DeviceFlag): Promise<AudioDeviceDescriptors>|Added|-|
|Audio management|getRingerMode(callback: AsyncCallback<AudioRingMode>): void|Added|-|
|Audio management|getRingerMode(): Promise<AudioRingMode>|Added|-|
|Audio management|setRingerMode(mode: AudioRingMode, callback: AsyncCallback<void>): void|Added|-|
|Audio management|setRingerMode(mode: AudioRingMode): Promise<void>|Added|-|
|Audio management|isMute(volumeType: AudioVolumeType, callback: AsyncCallback<boolean>): void|Added|-|
|Audio management|isMute(volumeType: AudioVolumeType): Promise<boolean>|Added|-|
|Audio management|isActive(volumeType: AudioVolumeType, callback: AsyncCallback<boolean>): void|Added|-|
|Audio management|isActive(volumeType: AudioVolumeType): Promise<boolean>|Added|-|
|Audio management|isMicrophoneMute(callback: AsyncCallback<boolean>): void|Added|-|
|Audio management|isMicrophoneMute(): Promise<boolean>|Added|-|
|Audio management|mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback<void>) : void|Added|-|
|Audio management|mute(volumeType: AudioVolumeType, mute: boolean): Promise<void>|Added|-|
|Audio management|setMicrophoneMute(mute: boolean, callback: AsyncCallback<void>): void|Added|-|
|Audio management|setMicrophoneMute(mute: boolean): Promise<void>|Added|-|
|Audio management|isDeviceActive(deviceType: DeviceType, callback: AsyncCallback<boolean>): void|Added|-|
|Audio management|isDeviceActive(deviceType: DeviceType): Promise<boolean>|Added|-|
|Audio management|setDeviceActive(deviceType: DeviceType, active: boolean, callback: AsyncCallback<boolean>): void|Added|-|
|Audio management|setDeviceActive(deviceType: DeviceType, active: boolean): Promise<boolean>|Added|-|
|Audio management|getAudioParameter(key: string, callback: AsyncCallback<string>): void|Added|-|
|Audio management|getAudioParameter(key: string): Promise<string>|Added|-|
|Audio management|setAudioParameter(key: string, value: string, callback: AsyncCallback<void>): void|Added|-|
|Audio management|setAudioParameter(key: string, value: string): Promise<void>|Added|-|
|Audio management|setVolume(audioType: AudioVolumeType, volume: number,callback: AsyncCallback\<void>): void|Added|-|
|Audio management|setVolume(audioType: AudioVolumeType, volume: number): Promise\<void>|Added|-|
|Audio management|getVolume(audioType: AudioVolumeType, callback: AsyncCallback\<number>): void|Added|-|
|Audio management|getVolume(audioType: AudioVolumeType): Promise\<number>|Added|-|
|Audio management|getMinVolume(audioType: AudioVolumeType, callback: AsyncCallback\<number>): void|Added|-|
|Audio management|getMinVolume(audioType: AudioVolumeType): Promise\<number>|Added|-|
|Audio management|getMaxVolume(audioType: AudioVolumeType, callback: AsyncCallback\<number>): void|Added|-|
|Audio management|getMaxVolume(audioType: AudioVolumeType): Promise\<number>|Added|-|
|Audio management|getDevices(deviceFlag: DeviceFlag, callback: AsyncCallback\<AudioDeviceDescriptors>): void|Added|-|
|Audio management|getDevices(deviceFlag: DeviceFlag): Promise\<AudioDeviceDescriptors>|Added|-|
|Audio management|getRingerMode(callback: AsyncCallback\<AudioRingMode>): void|Added|-|
|Audio management|getRingerMode(): Promise\<AudioRingMode>|Added|-|
|Audio management|setRingerMode(mode: AudioRingMode, callback: AsyncCallback\<void>): void|Added|-|
|Audio management|setRingerMode(mode: AudioRingMode): Promise\<void>|Added|-|
|Audio management|isMute(volumeType: AudioVolumeType, callback: AsyncCallback\<boolean>): void|Added|-|
|Audio management|isMute(volumeType: AudioVolumeType): Promise\<boolean>|Added|-|
|Audio management|isActive(volumeType: AudioVolumeType, callback: AsyncCallback\<boolean>): void|Added|-|
|Audio management|isActive(volumeType: AudioVolumeType): Promise\<boolean>|Added|-|
|Audio management|isMicrophoneMute(callback: AsyncCallback\<boolean>): void|Added|-|
|Audio management|isMicrophoneMute(): Promise\<boolean>|Added|-|
|Audio management|mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback\<void>) : void|Added|-|
|Audio management|mute(volumeType: AudioVolumeType, mute: boolean): Promise\<void>|Added|-|
|Audio management|setMicrophoneMute(mute: boolean, callback: AsyncCallback\<void>): void|Added|-|
|Audio management|setMicrophoneMute(mute: boolean): Promise\<void>|Added|-|
|Audio management|isDeviceActive(deviceType: DeviceType, callback: AsyncCallback\<boolean>): void|Added|-|
|Audio management|isDeviceActive(deviceType: DeviceType): Promise\<boolean>|Added|-|
|Audio management|setDeviceActive(deviceType: DeviceType, active: boolean, callback: AsyncCallback\<boolean>): void|Added|-|
|Audio management|setDeviceActive(deviceType: DeviceType, active: boolean): Promise\<boolean>|Added|-|
|Audio management|getAudioParameter(key: string, callback: AsyncCallback\<string>): void|Added|-|
|Audio management|getAudioParameter(key: string): Promise\<string>|Added|-|
|Audio management|setAudioParameter(key: string, value: string, callback: AsyncCallback\<void>): void|Added|-|
|Audio management|setAudioParameter(key: string, value: string): Promise\<void>|Added|-|
|Audio management|AudioDeviceDescriptor|Added|-|
|Audio management|readonly deviceRole: DeviceRole|Added|-|
|Audio management|readonly deviceType: DeviceType|Added|-|
......
......@@ -2,624 +2,624 @@
This document describes the changes of APIs in OpenHarmony 3.0 LTS when compared with OpenHarmony 2.2 Beta2.
## Standard System API Changes
| Module| API| Change Type| Change Description|
| Module | API | Change Type | Change Description |
| -------- | -------- | -------- | -------- |
|Multi-language Runtime-worker|postMessage(obj):void|Added|Used by the host thread to transfer data to the worker.|
|Multi-language Runtime-worker|postMessage(message: Object, options?: PostMessageOptions):void|Added|Used by the host thread to transfer the data control permission of the array buffer to the worker.|
|Multi-language Runtime-worker|terminate():void|Added|Used by the host thread to proactively terminate the worker.|
|Multi-language Runtime-worker|on(type: string, listener: EventListener): void|Added|Adds a callback for the worker.|
|Multi-language Runtime-worker|once(type: string, listener: EventListener): void|Added|Adds a one-shot callback for the worker.|
|Multi-language Runtime-worker|off(type: string, listener?: EventListener): void|Added|Deletes a callback added for the worker.|
|Multi-language Runtime-worker|addEventListener(type: string, listener: EventListener): void|Added|Adds a callback for the worker.|
|Multi-language Runtime-worker|removeEventListener(type: string, listener?: EventListener): void|Added|Deletes a callback added for the worker.|
|Multi-language Runtime-worker|removeAllListener(): void|Added|Deletes all callbacks added for the worker.|
|Multi-language Runtime-worker|dispatchEvent(event: Event): boolean|Added|Dispatches a specific event to the worker.|
|Multi-language Runtime-parentPort|postMessage(obj):void|Added|Used by the worker to transfer data to the host thread.|
|Multi-language Runtime-parentPort|postMessage(message: Object, options?: PostMessageOptions):void|Added|Used by the worker to transfer the data control permission of the array buffer to the host thread.|
|Multi-language Runtime-parentPort|close(): void|Added|Used by the worker to proactively terminate itself.|
|Multi-language Runtime-Util|printf(format: string, ...args: Object[]): string|Added|-|
|Multi-language Runtime-Util|getErrorString(errno: number): string|Added|-|
|Multi-language Runtime-Util|callbackWrapper(original: Function): (err: Object, value: Object) => void|Added|-|
|Multi-language Runtime-Util|promiseWrapper(original: (err: Object, value: Object) => void): Object|Added|-|
|Multi-language Runtime-Util|new TextDecoder([encoding[, options]])|Added|-|
|Multi-language Runtime-Util|decode([input[, options]]):string|Added|-|
|Multi-language Runtime-Util|new TextEncoder()|Added|-|
|Multi-language Runtime-Util|encode(input?: string): Uint8Array;|Added|-|
|Multi-language Runtime-Util|"encodeInto(input: string,dest: Uint8Array,): { read: number; written: number };"|Added|-|
|Multi-language Runtime-Util|readonly encoding: string;|Added|-|
|Multi-language Runtime-Util|readonly fatal: boolean;|Added|-|
|Multi-language Runtime-Util|readonly ignoreBOM = false;|Added|-|
|Multi-language Runtime-Util|readonly encoding = "utf-8";|Added|-|
|Multi-language Runtime-URL|new URL(url: string, base?: string/URL)|Added|-|
|Multi-language Runtime-URL|toString(): string;|Added|-|
|Multi-language Runtime-URL|toJSON(): string;|Added|-|
|Multi-language Runtime-URL|new URSearchParams()|Added|-|
|Multi-language Runtime-URL|new URSearchParams(string)|Added|-|
|Multi-language Runtime-URL|new URSearchParams(obj)|Added|-|
|Multi-language Runtime-URL|new URSearchParams(iterable)|Added|-|
|Multi-language Runtime-URL|append(name: string, value: string): void;|Added|-|
|Multi-language Runtime-URL|delete(name: string): void;|Added|-|
|Multi-language Runtime-URL|entries(): IterableIterator<[string, string]>;|Added|-|
|Multi-language Runtime-URL|forEach(callbackfn: (value: string, key: string, parent: this) => void, thisArg?: any,): void;|Added|-|
|Multi-language Runtime-URL|get(name: string): string / null;|Added|-|
|Multi-language Runtime-URL|getAll(name: string): string[];|Added|-|
|Multi-language Runtime-URL|has(name: string): boolean;|Added|-|
|Multi-language Runtime-URL|keys(): IterableIterator<string>;|Added|-|
|Multi-language Runtime-URL|set(name: string, value: string): void;|Added|-|
|Multi-language Runtime-URL|sort():void;|Added|-|
|Multi-language Runtime-URL|toString():string|Added|-|
|Multi-language Runtime-URL|values(): IterableIterator<string>;|Added|-|
|Multi-language Runtime-URL|URSearchParams[Symbol.iterator]()|Added|-|
|Multi-language Runtime-URL|hash: string;|Added|-|
|Multi-language Runtime-URL|host: string;|Added|-|
|Multi-language Runtime-URL|hostname: string;|Added|-|
|Multi-language Runtime-URL|href: string;|Added|-|
|Multi-language Runtime-URL|readonly origin: string;|Added|-|
|Multi-language Runtime-URL|password: string;|Added|-|
|Multi-language Runtime-URL|pathname: string;|Added|-|
|Multi-language Runtime-URL|port: string;|Added|-|
|Multi-language Runtime-URL|protocol: string;|Added|-|
|Multi-language Runtime-URL|search: string;|Added|-|
|Multi-language Runtime-URL|readonly searchParams: URLSearchParams;|Added|-|
|Multi-language Runtime-URL|username: string;|Added|-|
|Multi-language Runtime-ChildProcess|readonly pid: number;|Added|-|
|Multi-language Runtime-ChildProcess|readonly ppid: number;|Added|-|
|Multi-language Runtime-ChildProcess|readonly exitCode: number;|Added|-|
|Multi-language Runtime-ChildProcess|readonly killed: boolean;|Added|-|
|Multi-language Runtime-ChildProcess|wait(): Promise<number>;|Added|-|
|Multi-language Runtime-ChildProcess|getOutput(): Promise<Uint8Array>;|Added|-|
|Multi-language Runtime-ChildProcess|getErrorOutput(): Promise<Uint8Array>;|Added|-|
|Multi-language Runtime-ChildProcess|close(): void;|Added|-|
|Multi-language Runtime-ChildProcess|kill(signal: number): void;|Added|-|
|Multi-language Runtime-process|runCmd(command: string,options?: { timeout : number, killSignal : number / string, maxBuffer : number }): ChildProcess;|Added|-|
|Multi-language Runtime-process|getPid(): number;|Added|-|
|Multi-language Runtime-process|getPpid(): number;|Added|-|
|Multi-language Runtime-process|abort(): void;|Added|-|
|Multi-language Runtime-process|on(type: string, listener: EventListener): void;|Added|-|
|Multi-language Runtime-process|exit(code?:number): void;|Added|-|
|Multi-language Runtime-process|cwd(): string;|Added|-|
|Multi-language Runtime-process|chdir(dir: string): void;|Added|-|
|Multi-language Runtime-process|getEgid(): number;|Added|-|
|Multi-language Runtime-process|getEuid(): number;|Added|-|
|Multi-language Runtime-process|getGid(): number|Added|-|
|Multi-language Runtime-process|getUid(): number;|Added|-|
|Multi-language Runtime-process|uptime(): number;|Added|-|
|Multi-language Runtime-process|getGroups(): number[];|Added|-|
|Multi-language Runtime-process|kill(signal?: number, pid?: number): boolean;|Added|-|
|Update Subsystem-Updater|checkNewVersion(): Promise<NewVersionInfo>;|Added| -|
|Update Subsystem-Updater|rebootAndCleanUserData(callback: AsyncCallback<number>): void;|Added| -|
|Update Subsystem-Updater|rebootAndCleanCache(): Promise<number>;|Added| -|
|Update Subsystem-Updater|function getUpdaterFromOther(device: string, updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem-Updater|cancel(): void;|Added| -|
|Update Subsystem-Updater|upgrade(): void;|Added| -|
|Update Subsystem-Updater|off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|getUpdatePolicy(callback: AsyncCallback<UpdatePolicy>): void;|Added| -|
|Update Subsystem-Updater|function getUpdaterForOther(device: string, updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem-Updater|setUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback<number>): void;|Added| -|
|Update Subsystem-Updater|getNewVersionInfo(): Promise<NewVersionInfo>;|Added| -|
|Update Subsystem-Updater|function getUpdater(updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem-Updater|applyNewVersion(callback: AsyncCallback<number>): void;|Added| -|
|Update Subsystem-Updater|rebootAndCleanUserData(): Promise<number>;|Added| -|
|Update Subsystem-Updater|off(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|on(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|checkNewVersion(callback: AsyncCallback<NewVersionInfo>): void;|Added| -|
|Update Subsystem-Updater|on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|getUpdatePolicy(): Promise<UpdatePolicy>;|Added| -|
|Update Subsystem-Updater|download(): void;|Added| -|
|Update Subsystem-Updater|off(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;|Added| -|
|Update Subsystem-Updater|on(eventType: 'verifyProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem-Updater|verifyUpdatePackage(upgradeFile: string, certsFile: string): void;|Added| -|
|Update Subsystem-Updater|setUpdatePolicy(policy: UpdatePolicy): Promise<number>;|Added| -|
|Update Subsystem-Updater|rebootAndCleanCache(callback: AsyncCallback<number>): void;|Added| -|
|Update Subsystem-Updater|applyNewVersion(): Promise<number>;|Added| -|
|Globalization Subsystem-I18n|getSystemLanguages(): Array<string>;|Added| -|
|Globalization Subsystem-I18n|getSystemCountries(language: string): Array<string>;|Added| -|
|Globalization Subsystem-I18n|isSuggested(language: string, region?: string): boolean;|Added| -|
|Globalization Subsystem-I18n|getSystemLanguage(): string;|Added| -|
|Globalization Subsystem-I18n|setSystemLanguage(language: string);|Added| -|
|Globalization Subsystem-I18n|getSystemRegion(): string;|Added| -|
|Globalization Subsystem-I18n|setSystemRegion(region: string);|Added| -|
|Globalization Subsystem-I18n|"getDisplayCountry(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|Added| -|
|Globalization Subsystem-I18n|getSystemLocale(): string;|Added| -|
|Globalization Subsystem-I18n|setSystemLocale(locale: string);|Added| -|
|Globalization Subsystem-I18n|"getDisplayLanguage(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|Added| -|
|Telephony Subsystem-radio|getNetworkState(callback: AsyncCallback<NetworkState>): void;getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void;getNetworkState(slotId?: number): Promise<NetworkState>;|Added| -|
|Telephony Subsystem-sim|getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void;getSimAccountInfo(slotId: number): Promise<IccAccountInfo>;|Added| -|
|Telephony Subsystem-sim|getDefaultVoiceSlotId(callback: AsyncCallback<number>): void;getDefaultVoiceSlotId(): Promise<number>;|Added| -|
|Telephony Subsystem-sim|getSimSpn(slotId: number, callback: AsyncCallback<string>): void;getSimSpn(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;getISOCountryCodeForSim(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getSimIccId(slotId: number, callback: AsyncCallback<string>): void;getSimIccId(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getSimGid1(slotId: number, callback: AsyncCallback<string>): void;getSimGid1(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;getISOCountryCodeForSim(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void;getSimOperatorNumeric(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getSimSpn(slotId: number, callback: AsyncCallback<string>): void;getSimSpn(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getSimIccId(slotId: number, callback: AsyncCallback<string>): void;getSimIccId(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sim|getIMSI(slotId: number, callback: AsyncCallback<string>): void;getIMSI(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-call|combineConference(callId: number, callback: AsyncCallback<void>): void;combineConference(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|startDTMF(callId: number, character: string, callback: AsyncCallback<void>): void;startDTMF(callId: number, character: string): Promise<void>;|Added| -|
|Telephony Subsystem-call|stopDTMF(callId: number, callback: AsyncCallback<void>): void;stopDTMF(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-sim|setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback<void>): void;setDefaultVoiceSlotId(slotId: number): Promise<void>;|Added| -|
|Telephony Subsystem-sim|unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse>): void;unlockPin(slotId: number, pin: string): Promise<LockStatusResponse>;|Added| -|
|Telephony Subsystem-sim|alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStatusResponse>): void;alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;|Added| -|
|Telephony Subsystem-sim|setLockState(slotId: number, pin: string, enable: number, callback: AsyncCallback<LockStatusResponse>): void;setLockState(slotId: number, pin: string, enable: number): Promise<LockStatusResponse>;|Added| -|
|Telephony Subsystem-sim|getSimState(slotId: number, callback: AsyncCallback<SimState>): void;getSimState(slotId: number): Promise<SimState>;|Added| -|
|Telephony Subsystem-sim|getSimState(slotId: number, callback: AsyncCallback<SimState>): void;getSimState(slotId: number): Promise<SimState>;|Added| -|
|Telephony Subsystem-sim|getSimState(slotId: number, callback: AsyncCallback<SimState>): void;getSimState(slotId: number): Promise<SimState>;|Added| -|
|Telephony Subsystem-sim|getSimState(slotId: number, callback: AsyncCallback<SimState>): void;getSimState(slotId: number): Promise<SimState>;|Added| -|
|Telephony Subsystem-call|isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void;isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void;isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>;|Added| -|
|Telephony Subsystem-sms|createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void;createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;|Added| -|
|Telephony Subsystem-call|hasCall(callback: AsyncCallback<boolean>): void;hasCall(): Promise<boolean>;|Added| -|
|Telephony Subsystem-sms|sendMessage(options: SendMessageOptions): void;|Added| -|
|Telephony Subsystem-call|dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;|Added| -|
|Telephony Subsystem-call|interface DialOptions {extras?: boolean; }|Added| -|
|Telephony Subsystem-sms|sendMessage(options: SendMessageOptions): void;|Added| -|
|Telephony Subsystem-sms|getDefaultSmsSlotId(callback: AsyncCallback<number>): void;getDefaultSmsSlotId(): Promise<number>;|Added| -|
|Telephony Subsystem-call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;|Added| -|
|Telephony Subsystem-call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;|Added| -|
|Telephony Subsystem-call|formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void;formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>;|Added| -|
|Telephony Subsystem-sms|setDefaultSmsSlotId(slotId: number, callback: AsyncCallback<void>): void;setDefaultSmsSlotId(slotId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|getCallState(callback: AsyncCallback<CallState>): void;getCallState(): Promise<CallState>;|Added| -|
|Telephony Subsystem-sms|setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback<void>): void;setSmscAddr(slotId: number, smscAddr: string): Promise<void>;|Added| -|
|Telephony Subsystem-sms|getSmscAddr(slotId: number, callback: AsyncCallback<string>): void;getSmscAddr(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sms|addSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void;addSimMessage(options: SimMessageOptions): Promise<void>;|Added| -|
|Telephony Subsystem-sms|delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;delSimMessage(slotId: number, msgIndex: number): Promise<void>;|Added| -|
|Telephony Subsystem-radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;getISOCountryCodeForNetwork(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sms|updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void;updateSimMessage(options: UpdateSimMessageOptions): Promise<void>;|Added| -|
|Telephony Subsystem-radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;getISOCountryCodeForNetwork(slotId: number): Promise<string>;|Added| -|
|Telephony Subsystem-sms|getAllSimMessages(slotId: number, callback: AsyncCallback<Array<SimShortMessage>>): void;getAllSimMessages(slotId: number): Promise<Array<SimShortMessage>>;|Added| -|
|Telephony Subsystem-call|isInEmergencyCall(callback: AsyncCallback<boolean>): void;isInEmergencyCall(): Promise<boolean>;|Added| -|
|Telephony Subsystem-sms|setCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void;setCBConfig(options: CBConfigOptions): Promise<void>;|Added| -|
|Telephony Subsystem-call|answer(callId: number, callback: AsyncCallback<void>): void;answer(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|hangup(callId: number, callback: AsyncCallback<void>): void;hangup(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|reject(callId: number, callback: AsyncCallback<void>): void;reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;reject(callId: number, options?: RejectMessageOptions): Promise<void>;|Added| -|
|Telephony Subsystem-call|holdCall(callId: number, callback: AsyncCallback<void>): void;holdCall(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|unHoldCall(callId: number, callback: AsyncCallback<void>): void;unHoldCall(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-call|switchCall(callId: number, callback: AsyncCallback<void>): void;switchCall(callId: number): Promise<void>;|Added| -|
|Telephony Subsystem-radio|setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback<void>): void;setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise<void>;|Added| -|
|Telephony Subsystem-radio|getNetworkSearchInformation(slotId: number, callback: AsyncCallback<NetworkSearchResult>): void;getNetworkSearchInformation(slotId: number): Promise<NetworkSearchResult>;|Added| -|
|Telephony Subsystem-radio|getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void;getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>;|Added| -|
|Telephony Subsystem-radio|isRadioOn(callback: AsyncCallback<boolean>): void;isRadioOn(): Promise<boolean>;|Added| -|
|Telephony Subsystem-radio|turnOnRadio(callback: AsyncCallback<void>): void;turnOnRadio(): Promise<void>;|Added| -|
|Telephony Subsystem-radio|turnOffRadio(callback: AsyncCallback<void>): void;turnOffRadio(): Promise<void>;|Added| -|
|Telephony Subsystem-radio|getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void;getSignalInformation(slotId: number): Promise<Array<SignalInformation>>;|Added| -|
|Telephony Subsystem-radio|getRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Telephony Subsystem-radio|getRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Telephony Subsystem-radio|getRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Data Management-distributeddata|put(key:string, value:Uint8Array / string / boolean / number, callback: AsyncCallback<void>):void put(key:string, value:Uint8Array / string / boolean / number):Promise<void>|Added| -|
|Data Management-distributeddata|delete(key: string, callback: AsyncCallback<void>): void delete(key: string): Promise<void>|Added| -|
|Data Management-distributeddata|on(event:'dataChange', subType: SubscribeType, observer: Callback<ChangeNotification>): void|Added| -|
|Data Management-distributeddata|get(key:string, callback:AsyncCallback<Uint8Array / string / boolean / number>):void get(key:string):Promise<Uint8Array / string / boolean / number>|Added| -|
|Data Management-distributeddata|sync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:number):void|Added| -|
|Data Management-distributeddata|createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void;createKVManager(config: KVManagerConfig): Promise<KVManager>;|Added| -|
|Data Management-distributeddata|getKVStore<T extends KVStore>(options: Options, storeId: string): Promise<T>;getKVStore<T extends KVStore>(options: Options, storeId: string, callback: AsyncCallback<T>): void;|Added| -|
|Data Management-distributeddata|on(event:'syncComplete', syncCallback: Callback<Array<[string, number]>>):void|Added| -|
|Data Management-rdb|type ValueType = number / string / boolean;|Added| -|
|Data Management-rdb|type ValuesBucket = { [key: string]: ValueType / Uint8Array / null; }|Added| -|
|Data Management-rdb|name: string;|Added| -|
|Data Management-rdb|constructor(name: string)|Added| -|
|Data Management-rdb|equalTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|notEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|beginWrap(): RdbPredicates;|Added| -|
|Data Management-rdb|endWrap(): RdbPredicates;|Added| -|
|Data Management-rdb|function getRdbStore(config: StoreConfig, version: number, callback: AsyncCallback<RdbStore>): void;function getRdbStore(config: StoreConfig, version: number): Promise<RdbStore>;|Added| -|
|Data Management-rdb|function deleteRdbStore(name: string, callback: AsyncCallback<void>): void;function deleteRdbStore(name: string): Promise<void>;|Added| -|
|Data Management-rdb|insert(name: string, values: ValuesBucket, callback: AsyncCallback<number>): void;insert(name: string, values: ValuesBucket): Promise<number>;|Added| -|
|Data Management-rdb|update(values: ValuesBucket, rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;update(values: ValuesBucket, rdbPredicates: RdbPredicates): Promise<number>;|Added| -|
|Data Management-rdb|delete(rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;delete(rdbPredicates: RdbPredicates): Promise<number>;|Added| -|
|Data Management-rdb|query(rdbPredicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;query(rdbPredicates: RdbPredicates, columns: Array<string>): Promise<ResultSet>;|Added| -|
|Data Management-rdb|executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;executeSql(sql: string, bindArgs: Array<ValueType>): Promise<void>;|Added| -|
|Data Management-rdb|like(field: string, value: string): RdbPredicates;|Added| -|
|Data Management-rdb|glob(field: string, value: string): RdbPredicates;|Added| -|
|Data Management-rdb|between(field: string, low: ValueType, high: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|greaterThan(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|lessThan(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management-rdb|or(): RdbPredicates;|Added| -|
|Data Management-rdb|and(): RdbPredicates;|Added| -|
|Data Management-rdb|contains(field: string, value: string): RdbPredicates;|Added| -|
|Data Management-rdb|beginsWith(field: string, value: string): RdbPredicates;|Added| -|
|Data Management-rdb|endsWith(field: string, value: string): RdbPredicates;|Added| -|
|Data Management-rdb|isNull(field: string): RdbPredicates;|Added| -|
|Data Management-rdb|isNotNull(field: string): RdbPredicates;|Added| -|
|Data Management-rdb|isEnded: boolean;|Added| -|
|Data Management-rdb|isStarted: boolean;|Added| -|
|Data Management-rdb|isClosed: boolean;|Added| -|
|Data Management-rdb|getColumnIndex(columnName: string): number;|Added| -|
|Data Management-rdb|getColumnName(columnIndex: number): string;|Added| -|
|Data Management-rdb|goTo(offset: number): boolean;|Added| -|
|Data Management-rdb|goToRow(position: number): boolean;|Added| -|
|Data Management-rdb|goToFirstRow(): boolean;|Added| -|
|Data Management-rdb|goToLastRow(): boolean;|Added| -|
|Data Management-rdb|goToNextRow(): boolean;|Added| -|
|Data Management-rdb|goToPreviousRow(): boolean;|Added| -|
|Data Management-rdb|getBlob(columnIndex: number): Uint8Array;|Added| -|
|Data Management-rdb|getString(columnIndex: number): string;|Added| -|
|Data Management-rdb|getLong(columnIndex: number): number;|Added| -|
|Data Management-rdb|getDouble(columnIndex: number): number;|Added| -|
|Data Management-dataAbility|orderByDesc(field: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|distinct(): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|limitAs(value: number): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|offsetAs(rowOffset: number): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|groupBy(fields: Array<string>): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|indexedBy(field: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|in(field: string, value: Array<ValueType>): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|notIn(field: string, value: Array<ValueType>): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|glob(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|between(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|notBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|greaterThan(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|lessThan(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|lessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|orderByAsc(field: string): DataAbilityPredicates;|Added| -|
|Data Management-rdb|isColumnNull(columnIndex: number): boolean;|Added| -|
|Data Management-rdb|close(): void;|Added| -|
|Data Management-dataAbility|function createRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates): rdb.RdbPredicates;|Added| -|
|Data Management-dataAbility|equalTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|notEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|beginWrap():DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|endWrap(): DataAbilityPredicates;|Added| -|
|Data Management-rdb|orderByAsc(field: string): RdbPredicates;|Added| -|
|Data Management-rdb|orderByDesc(field: string): RdbPredicates;|Added| -|
|Data Management-rdb|distinct(): RdbPredicates;|Added| -|
|Data Management-rdb|limitAs(value: number): RdbPredicates;|Added| -|
|Data Management-rdb|offsetAs(rowOffset: number): RdbPredicates;|Added| -|
|Data Management-rdb|groupBy(fields: Array<string>): RdbPredicates;|Added| -|
|Data Management-rdb|indexedBy(field: string): RdbPredicates;|Added| -|
|Data Management-dataAbility|or(): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|and(): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|contains(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|beginsWith(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|endsWith(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|isNull(field: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|isNotNull(field: string): DataAbilityPredicates;|Added| -|
|Data Management-dataAbility|like(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management-rdb|in(field: string, value: Array<ValueType>): RdbPredicates;|Added| -|
|Data Management-rdb|notIn(field: string, value: Array<ValueType>): RdbPredicates;|Added| -|
|Data Management-rdb|columnNames: Array<string>;|Added| -|
|Data Management-rdb|columnCount: number;|Added| -|
|Data Management-rdb|rowCount: number;|Added| -|
|Data Management-rdb|rowIndex: number;|Added| -|
|Data Management-rdb|isAtFirstRow: boolean;|Added| -|
|Data Management-rdb|isAtLastRow: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|title: string;|Added| -|
|Common Event and Notification Subsystem-notification|sound?: string;|Added| -|
|Common Event and Notification Subsystem-notification|text: string;|Added| -|
|Common Event and Notification Subsystem-notification|vibrationValues?: Array<number>;|Added| -|
|Common Event and Notification Subsystem-wantAgent|want?: Want;|Added| -|
|Common Event and Notification Subsystem-notification|vibrationEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|badgeFlag?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|type: notification.SlotType;|Added| -|
|Common Event and Notification Subsystem-wantAgent|code: number;|Added| -|
|Common Event and Notification Subsystem-notification|contentType: ContentType;|Added| -|
|Common Event and Notification Subsystem-notification|picture: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem-notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem-notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem-notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem-notification|bypassDnd?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|additionalText?: string;|Added| -|
|Common Event and Notification Subsystem-wantagent|function cancel(info: WantAgentInfo, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-wantAgent|enum OperationType|Added| -|
|Common Event and Notification Subsystem-wantAgent|enum WantAgentFlags|Added| -|
|Common Event and Notification Subsystem-wantAgent|permission?: string;|Added| -|
|Common Event and Notification Subsystem-notification|picture?: NotificationPictureContent;|Added| -|
|Common Event and Notification Subsystem-notification|normal?: NotificationBasicContent;|Added| -|
|Common Event and Notification Subsystem-notification|expandedTitle: string;|Added| -|
|Common Event and Notification Subsystem-notification|expandedTitle: string;|Added| -|
|Common Event and Notification Subsystem-wantAgent|function trigger(info: WantAgentInfo, triggerInfo: TriggerInfo, callback: AsyncCallback<CompleteData>): void;|Added| -|
|Common Event and Notification Subsystem-wantAgent|extraInfo?: {[key: string]: any};|Added| -|
|Common Event and Notification Subsystem-notification|multiLine?: NotificationMultiLineContent;|Added| -|
|Common Event and Notification Subsystem-notification|level?: notification.SlotLevel;|Added| -|
|Common Event and Notification Subsystem-notification|lightColor?: number;|Added| -|
|Common Event and Notification Subsystem-notification|lightEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|lines: Array<String>;|Added| -|
|Common Event and Notification Subsystem-notification|lockscreenVisibility?: number;|Added| -|
|Common Event and Notification Subsystem-notification|longText: string;|Added| -|
|Common Event and Notification Subsystem-wantAgent|function getBundleName(info: WantAgentInfo, callback: AsyncCallback<string>): void;|Added| -|
|Common Event and Notification Subsystem-notification|longText?: NotificationLongTextContent;|Added| -|
|Common Event and Notification Subsystem-notification|longTitle: string;|Added| -|
|Common Event and Notification Subsystem-wantAgent|function judgeEquality(info: WantAgentInfo, info2: WantAgentInfo, callback: AsyncCallback<boolean>): void;|Added| -|
|Common Event and Notification Subsystem-wantAgent|function getUid(info: WantAgentInfo, callback: AsyncCallback<number>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = common.event.IVI_TEMPERATURE_ABNORMAL,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_VOLTAGE_RECOVERY = common.event.IVI_VOLTAGE_RECOVERY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = common.event.IVI_TEMPERATURE_RECOVERY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_ACTIVE = common.event.IVI_ACTIVE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USB_DEVICE_ATTACHED = usual.event.hardware.usb.action.USB_DEVICE_ATTACHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USB_DEVICE_DETACHED = usual.event.hardware.usb.action.USB_DEVICE_DETACHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_PAUSE = common.event.IVI_PAUSE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_STANDBY = common.event.IVI_STANDBY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_LASTMODE_SAVE = common.event.IVI_LASTMODE_SAVE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = common.event.IVI_VOLTAGE_ABNORMAL,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_HIGH_TEMPERATURE = common.event.IVI_HIGH_TEMPERATURE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_EXTREME_TEMPERATURE = common.event.IVI_EXTREME_TEMPERATURE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_UNMOUNTABLE = usual.event.data.DISK_UNMOUNTABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_EJECT = usual.event.data.DISK_EJECT,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = usual.event.data.VISIBLE_ACCOUNTS_UPDATED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_ACCOUNT_DELETED = usual.event.data.ACCOUNT_DELETED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_FOUNDATION_READY = common.event.FOUNDATION_READY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_AIRPLANE_MODE_CHANGED = usual.event.AIRPLANE_MODE|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USB_ACCESSORY_ATTACHED = usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USB_ACCESSORY_DETACHED = usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_REMOVED = usual.event.data.DISK_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_UNMOUNTED = usual.event.data.DISK_UNMOUNTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_MOUNTED = usual.event.data.DISK_MOUNTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISK_BAD_REMOVAL = usual.event.data.DISK_BAD_REMOVAL,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = usual.event.nfc.action.RF_FIELD_OFF_DETECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DISCHARGING = usual.event.DISCHARGING,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_CHARGING = usual.event.CHARGING,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = usual.event.DEVICE_IDLE_MODE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_POWER_SAVE_MODE_CHANGED = usual.event.POWER_SAVE_MODE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_ADDED = usual.event.USER_ADDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_REMOVED = usual.event.USER_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_ABILITY_ADDED = common.event.ABILITY_ADDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_ABILITY_REMOVED = common.event.ABILITY_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_ABILITY_UPDATED = common.event.ABILITY_UPDATED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = usual.event.location.MODE_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_IVI_SLEEP = common.event.IVI_SLEEP,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = usual.event.bluetooth.host.NAME_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = usual.event.nfc.action.ADAPTER_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = usual.event.nfc.action.RF_FIELD_ON_DETECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = usual.event.bluetooth.host.REQ_ENABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = usual.event.bluetooth.host.REQ_DISABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = usual.event.bluetooth.host.SCAN_MODE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = usual.event.bluetooth.host.DISCOVERY_STARTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = usual.event.bluetooth.host.DISCOVERY_FINISHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_CONN_STATE = usual.event.wifi.p2p.CONN_STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_STATE_CHANGED = usual.event.wifi.p2p.STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = usual.event.wifi.p2p.DEVICES_CHANGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = usual.event.wifi.p2p.GROUP_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_RSSI_VALUE = usual.event.wifi.RSSI_VALUE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_CONN_STATE = usual.event.wifi.CONN_STATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_HOTSPOT_STATE = usual.event.wifi.HOTSPOT_STATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_AP_STA_JOIN = usual.event.wifi.WIFI_HS_STA_JOIN,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_AP_STA_LEAVE = usual.event.wifi.WIFI_HS_STA_LEAVE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = usual.event.wifi.mplink.STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_HWID_LOGOUT = common.event.HWID_LOGOUT,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_HWID_TOKEN_INVALID = common.event.HWID_TOKEN_INVALID,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_HWID_LOGOFF = common.event.HWID_LOGOFF,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_POWER_STATE = usual.event.wifi.POWER_STATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_SCAN_FINISHED = usual.event.wifi.SCAN_FINISHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|clearAbortCommonEvent(): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|bundleName?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|code?: number;|Added| -|
|Common Event and Notification Subsystem-commonEvent|data?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|subscriberPermissions?: Array<string>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|isOrdered?: boolean;|Added| -|
|Common Event and Notification Subsystem-commonEvent|isSticky?: boolean;|Added| -|
|Common Event and Notification Subsystem-commonEvent|abortCommonEvent(callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|abortCommonEvent(): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise<CommonEventSubscriber>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|function createSubscriber(subscribeInfo: CommonEventSubscribeInfo, callback: AsyncCallback<CommonEventSubscriber>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback<CommonEventData>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|isOrderedCommonEvent(callback: AsyncCallback<boolean>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|isOrderedCommonEvent(): Promise<boolean>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BOOT_COMPLETED = usual.event.BOOT_COMPLETED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_LOCKED_BOOT_COMPLETED = usual.event.LOCKED_BOOT_COMPLETED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_SHUTDOWN = usual.event.SHUTDOWN,|Added| -|
|Common Event and Notification Subsystem-commonEvent|isStickyCommonEvent(): Promise<boolean>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|getData(callback: AsyncCallback<string>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|getData(): Promise<string>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|getSubscribeInfo(callback: AsyncCallback<CommonEventSubscribeInfo>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|getSubscribeInfo(): Promise<CommonEventSubscribeInfo>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|function publish(event: string, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|event: string|Added| -|
|Common Event and Notification Subsystem-commonEvent|bundleName?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|code?: number;|Added| -|
|Common Event and Notification Subsystem-commonEvent|data?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|setCode(code: number, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DRIVE_MODE = common.event.DRIVE_MODE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_HOME_MODE = common.event.HOME_MODE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_OFFICE_MODE = common.event.OFFICE_MODE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_STARTED = usual.event.USER_STARTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_BACKGROUND = usual.event.USER_BACKGROUND,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_FOREGROUND = usual.event.USER_FOREGROUND,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_SWITCHED = usual.event.USER_SWITCHED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_STARTING = usual.event.USER_STARTING,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_UNLOCKED = usual.event.USER_UNLOCKED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_STOPPING = usual.event.USER_STOPPING,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_STOPPED = usual.event.USER_STOPPED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_HWID_LOGIN = common.event.HWID_LOGIN,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_VERIFIED = usual.event.PACKAGE_VERIFIED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = usual.event.EXTERNAL_APPLICATIONS_AVAILABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_CONFIGURATION_CHANGED = usual.event.CONFIGURATION_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_LOCALE_CHANGED = usual.event.LOCALE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_MANAGE_PACKAGE_STORAGE = usual.event.MANAGE_PACKAGE_STORAGE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGES_UNSUSPENDED = usual.event.PACKAGES_UNSUSPENDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_MY_PACKAGE_SUSPENDED = usual.event.MY_PACKAGE_SUSPENDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = usual.event.MY_PACKAGE_UNSUSPENDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_UID_REMOVED = usual.event.UID_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_FIRST_LAUNCH = usual.event.PACKAGE_FIRST_LAUNCH,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = usual.event.PACKAGE_NEEDS_VERIFICATION,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_SCREEN_OFF = usual.event.SCREEN_OFF,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_SCREEN_ON = usual.event.SCREEN_ON,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_USER_PRESENT = usual.event.USER_PRESENT,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_TIME_TICK = usual.event.TIME_TICK,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_TIME_CHANGED = usual.event.TIME_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_DATE_CHANGED = usual.event.DATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BATTERY_CHANGED = usual.event.BATTERY_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BATTERY_LOW = usual.event.BATTERY_LOW,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BATTERY_OKAY = usual.event.BATTERY_OKAY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_POWER_CONNECTED = usual.event.POWER_CONNECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_POWER_DISCONNECTED = usual.event.POWER_DISCONNECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = usual.event.bluetooth.remotedevice.ACL_CONNECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = usual.event.bluetooth.remotedevice.ACL_DISCONNECTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|getAbortCommonEvent(callback: AsyncCallback<boolean>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = usual.event.bluetooth.remotedevice.NAME_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|getAbortCommonEvent(): Promise<boolean>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = usual.event.bluetooth.remotedevice.PAIR_STATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|getCode(callback: AsyncCallback<number>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|setCode(code: number): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|getCode(): Promise<number>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT,|Added| -|
|Common Event and Notification Subsystem-commonEvent|setCodeAndData(code: number, data: string, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = usual.event.bluetooth.remotedevice.SDP_RESULT,|Added| -|
|Common Event and Notification Subsystem-commonEvent|isStickyCommonEvent(callback: AsyncCallback<boolean>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|setCodeAndData(code: number, data: string): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|events: Array<string>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = usual.event.bluetooth.host.STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|setData(data: string, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = usual.event.bluetooth.host.REQ_DISCOVERABLE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|publisherPermission?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|setData(data: string): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = usual.event.bluetooth.remotedevice.UUID_VALUE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|publisherDeviceId?: string;|Added| -|
|Common Event and Notification Subsystem-commonEvent|clearAbortCommonEvent(callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-commonEvent|userId?: number;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_TIMEZONE_CHANGED = usual.event.TIMEZONE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = usual.event.bluetooth.remotedevice.PAIRING_REQ,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = usual.event.bluetooth.remotedevice.DISCOVERED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|priority?: number;|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BUNDLE_REMOVED = usual.event.BUNDLE_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = usual.event.bluetooth.remotedevice.PAIRING_CANCEL,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = usual.event.CLOSE_SYSTEM_DIALOGS,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_ADDED = usual.event.PACKAGE_ADDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = usual.event.bluetooth.remotedevice.CONNECT_REQ,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_FULLY_REMOVED = usual.event.PACKAGE_FULLY_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_REPLACED = usual.event.PACKAGE_REPLACED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = usual.event.bluetooth.remotedevice.CONNECT_REPLY,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_MY_PACKAGE_REPLACED = usual.event.MY_PACKAGE_REPLACED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_CHANGED = usual.event.PACKAGE_CHANGED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = usual.event.bluetooth.remotedevice.CONNECT_CANCEL,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_REMOVED = usual.event.PACKAGE_REMOVED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_RESTARTED = usual.event.PACKAGE_RESTARTED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGE_DATA_CLEARED = usual.event.PACKAGE_DATA_CLEARED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_PACKAGES_SUSPENDED = usual.event.PACKAGES_SUSPENDED,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem-commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem-notification|LEVEL_NONE = 0,|Added| -|
|Common Event and Notification Subsystem-notification|LEVEL_MIN = 1,|Added| -|
|Common Event and Notification Subsystem-notification|LEVEL_LOW = 2,|Added| -|
|Common Event and Notification Subsystem-notification|LEVEL_DEFAULT = 3,|Added| -|
|Common Event and Notification Subsystem-notification|label?: string;|Added| -|
|Common Event and Notification Subsystem-notification|bundle: string;|Added| -|
|Common Event and Notification Subsystem-notification|uid?: number;|Added| -|
|Common Event and Notification Subsystem-notification|NOTIFICATION_CONTENT_MULTILINE,|Added| -|
|Common Event and Notification Subsystem-notification|UNKNOWN_TYPE = 0,|Added| -|
|Common Event and Notification Subsystem-notification|SOCIAL_COMMUNICATION = 1,|Added| -|
|Common Event and Notification Subsystem-notification|LEVEL_HIGH = 4,|Added| -|
|Common Event and Notification Subsystem-notification|NOTIFICATION_CONTENT_BASIC_TEXT,|Added| -|
|Common Event and Notification Subsystem-notification|NOTIFICATION_CONTENT_LONG_TEXT,|Added| -|
|Common Event and Notification Subsystem-notification|NOTIFICATION_CONTENT_PICTURE,|Added| -|
|Common Event and Notification Subsystem-notification|isFloatingIcon?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|label?: string;|Added| -|
|Common Event and Notification Subsystem-notification|badgeIconStyle?: number;|Added| -|
|Common Event and Notification Subsystem-notification|showDeliveryTime?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|isAlertOnce?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|function getActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;|Added| -|
|Common Event and Notification Subsystem-notification|isStopwatch?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|isCountDown?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|function getActiveNotifications(): Promise<Array<NotificationRequest>>;|Added| -|
|Common Event and Notification Subsystem-notification|function getActiveNotificationCount(callback: AsyncCallback<number>): void;|Added| -|
|Common Event and Notification Subsystem-notification|readonly creatorUid?: number;|Added| -|
|Common Event and Notification Subsystem-notification|function getActiveNotificationCount(): Promise<number>;|Added| -|
|Common Event and Notification Subsystem-notification|readonly creatorPid?: number;|Added| -|
|Common Event and Notification Subsystem-notification|function cancel(id: number, label?: string): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-notification|classification?: string;|Added| -|
|Common Event and Notification Subsystem-notification|readonly hashCode?: string;|Added| -|
|Common Event and Notification Subsystem-notification|function cancelAll(callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|actionButtons?: Array<NotificationActionButton>;|Added| -|
|Common Event and Notification Subsystem-notification|function cancelAll(): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-notification|smallIcon?: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem-notification|isUnremovable?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|largeIcon?: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem-notification|deliveryTime?: number;|Added| -|
|Common Event and Notification Subsystem-notification|readonly creatorBundleName?: string;|Added| -|
|Common Event and Notification Subsystem-notification|tapDismissed?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|function publish(request: NotificationRequest): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-notification|autoDeletedTime?: number;|Added| -|
|Common Event and Notification Subsystem-notification|function cancel(id: number, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|content: NotificationContent;|Added| -|
|Common Event and Notification Subsystem-notification|wantAgent?: WantAgentInfo;|Added| -|
|Common Event and Notification Subsystem-notification|function cancel(id: number, label: string, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|function getSlot(slotType: SlotType, callback: AsyncCallback<NotificationSlot>): void;|Added| -|
|Common Event and Notification Subsystem-notification|extraInfo?: {[key: string]: any};|Added| -|
|Common Event and Notification Subsystem-notification|function getSlot(slotType: SlotType): Promise<NotificationSlot>;|Added| -|
|Common Event and Notification Subsystem-notification|SERVICE_INFORMATION = 2,|Added| -|
|Common Event and Notification Subsystem-notification|color?: number;|Added| -|
|Common Event and Notification Subsystem-notification|id?: number;|Added| -|
|Common Event and Notification Subsystem-notification|function getSlots(callback: AsyncCallback<Array<NotificationSlot>>): void;|Added| -|
|Common Event and Notification Subsystem-notification|CONTENT_INFORMATION = 3,|Added| -|
|Common Event and Notification Subsystem-notification|slotType?: notification.SlotType;|Added| -|
|Common Event and Notification Subsystem-notification|colorEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|OTHER_TYPES = 0xFFFF,|Added| -|
|Common Event and Notification Subsystem-notification|isOngoing?: boolean;|Added| -|
|Common Event and Notification Subsystem-notification|function addSlot(type: SlotType, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|id: number;|Added| -|
|Common Event and Notification Subsystem-notification|function addSlot(type: SlotType): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-notification|desc?: string;|Added| -|
|Common Event and Notification Subsystem-notification|function publish(request: NotificationRequest, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|function removeAllSlots(callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|function removeAllSlots(): Promise<void>;|Added| -|
|Common Event and Notification Subsystem-notification|function getSlots(): Promise<Array<NotificationSlot>>;|Added| -|
|Common Event and Notification Subsystem-notification|function removeSlot(slotType: SlotType, callback: AsyncCallback<void>): void;|Added| -|
|Common Event and Notification Subsystem-notification|function removeSlot(slotType: SlotType): Promise<void>;|Added| -|
|Globalization Subsystem-resourceManager|getString(resId: number, callback: AsyncCallback<string>);getString(resId: number): Promise<string>;|Added| -|
|Globalization Subsystem-resourceManager|getStringArray(resId: number, callback: AsyncCallback<Array<string>>);getStringArray(resId: number): Promise<Array<string>>;|Added| -|
|Globalization Subsystem-resourceManager|getConfiguration(callback: AsyncCallback<Configuration>);getConfiguration(): Promise<Configuration>;|Added| -|
|Globalization Subsystem-resourceManager|getDeviceCapability(callback: AsyncCallback<DeviceCapability>);getDeviceCapability(): Promise<DeviceCapability>;|Added| -|
|Globalization Subsystem-resourceManager|getMedia(resId: number, callback: AsyncCallback<Uint8Array>);getMedia(resId: number): Promise<Uint8Array>;getMediaBase64(resId: number, callback: AsyncCallback<string>);getMediaBase64(resId: number): Promise<string>;|Added| -|
|Globalization Subsystem-resourceManager|"getPluralString(resId: number, num: number, callback: AsyncCallback<string>);getPluralString(resId: number, num: number): Promise<string>;"|Added| -|
|Globalization Subsystem-resourceManager|DeviceCapability|Added| -|
|Globalization Subsystem-resourceManager|"getMediaBase64(resId: number, callback: AsyncCallback<Uint8Array>);getMediaBase64(resId: number): Promise<Uint9Array>;"|Added| -|
|Globalization Subsystem-resourceManager|"getResourceManager(callback: AsyncCallback<ResourceManager>);getResourceManager(bundleName: string, callback: AsyncCallback<ResourceManager>);getResourceManager(): Promise<ResourceManager>;getResourceManager(bundleName: string): Promise<ResourceManager>;"|Added| -|
|Globalization Subsystem-resourceManager|DeviceType|Added| -|
|Globalization Subsystem-resourceManager|Direction|Added| -|
|Globalization Subsystem-resourceManager|Configuration|Added| -|
|Globalization Subsystem-resourceManager|ScreenDensity|Added| -|
|Globalization Subsystem-resourceManager|deviceType|Added| -|
|Globalization Subsystem-resourceManager|locale|Added| -|
|Globalization Subsystem-resourceManager|direction|Added| -|
|Globalization Subsystem-resourceManager|screenDensity|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const batterySOC: number;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const technology: string;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const isBatteryPresent: boolean;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const batteryTemperature: number;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const pluggedType: BatteryPluggedType;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const chargingStatus: BatteryChargeState;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const healthStatus: BatteryHealthState;|Added| -|
|Power Management Subsystem-batteryInfo|batteryInfo:const voltage: number;|Added| -|
|Power Management Subsystem-batteryInfo|BatteryChargeState:NONE|Added| -|
|Power Management Subsystem-batteryInfo|BatteryChargeState:DISABLE|Added| -|
|Power Management Subsystem-batteryInfo|BatteryChargeState:ENABLE,|Added| -|
|Power Management Subsystem-batteryInfo|BatteryChargeState:FULL|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:COLD|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:OVERHEAT|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:OVERVOLTAGE|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:DEAD|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:UNKNOWN|Added| -|
|Power Management Subsystem-batteryInfo|BatteryHealthState:GOOD|Added| -|
|Power Management Subsystem-batteryInfo|BatteryPluggedType:WIRELESS|Added| -|
|Power Management Subsystem-batteryInfo|BatteryPluggedType:NONE|Added| -|
|Power Management Subsystem-batteryInfo|BatteryPluggedType:AC|Added| -|
|Power Management Subsystem-batteryInfo|BatteryPluggedType:USB|Added| -|
|Power Management Subsystem-runningLock|RunningLock:unlock()|Added| -|
|Power Management Subsystem-runningLock|runningLock:isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void;|Added| -|
|Power Management Subsystem-runningLock|runningLock:createRunningLock(name: string, type: runningLockType): RunningLock|Added| -|
|Power Management Subsystem-runningLock|RunningLock:lock(timeout: number)|Added| -|
|Power Management Subsystem-runningLock|RunningLock:isUsed(): boolean|Added| -|
|Power Management Subsystem-runninglock|RunningLockType:BACKGROUND|Added| -|
|Power Management Subsystem-runninglock|RunningLockType:PROXIMITY_SCREEN_CONTROL|Added| -|
|Power Management Subsystem-power|power:rebootDevice(reason ?: string)|Added| -|
|Power Management Subsystem-power|power:isScreenOn(callback: AsyncCallback<boolean>): void;|Added| -|
|Multi - language Runtime - worker|postMessage(obj):void|Added|Used by the host thread to transfer data to the worker.|
|Multi - language Runtime - worker|postMessage(message: Object, options?: PostMessageOptions):void|Added|Used by the host thread to transfer the data control permission of the array buffer to the worker.|
|Multi - language Runtime - worker|terminate():void|Added|Used by the host thread to proactively terminate the worker.|
|Multi - language Runtime - worker|on(type: string, listener: EventListener): void|Added|Adds a callback for the worker.|
|Multi - language Runtime - worker|once(type: string, listener: EventListener): void|Added|Adds a one - shot callback for the worker.|
|Multi - language Runtime - worker|off(type: string, listener?: EventListener): void|Added|Deletes a callback added for the worker.|
|Multi - language Runtime - worker|addEventListener(type: string, listener: EventListener): void|Added|Adds a callback for the worker.|
|Multi - language Runtime - worker|removeEventListener(type: string, listener?: EventListener): void|Added|Deletes a callback added for the worker.|
|Multi - language Runtime - worker|removeAllListener(): void|Added|Deletes all callbacks added for the worker.|
|Multi - language Runtime - worker|dispatchEvent(event: Event): boolean|Added|Dispatches a specific event to the worker.|
|Multi - language Runtime - parentPort|postMessage(obj):void|Added|Used by the worker to transfer data to the host thread.|
|Multi - language Runtime - parentPort|postMessage(message: Object, options?: PostMessageOptions):void|Added|Used by the worker to transfer the data control permission of the array buffer to the host thread.|
|Multi - language Runtime - parentPort|close(): void|Added|Used by the worker to proactively terminate itself.|
|Multi - language Runtime - Util|printf(format: string, ...args: Object[]): string|Added|-|
|Multi - language Runtime - Util|getErrorString(errno: number): string|Added|-|
|Multi - language Runtime - Util|callbackWrapper(original: Function): (err: Object, value: Object) => void|Added|-|
|Multi - language Runtime - Util|promiseWrapper(original: (err: Object, value: Object) => void): Object|Added|-|
|Multi - language Runtime - Util|new TextDecoder([encoding[, options]])|Added|-|
|Multi - language Runtime - Util|decode([input[, options]]):string|Added|-|
|Multi - language Runtime - Util|new TextEncoder()|Added|-|
|Multi - language Runtime - Util|encode(input?: string): Uint8Array;|Added|-|
|Multi - language Runtime - Util|"encodeInto(input: string,dest: Uint8Array,): { read: number; written: number };"|Added|-|
|Multi - language Runtime - Util|readonly encoding: string;|Added|-|
|Multi - language Runtime - Util|readonly fatal: boolean;|Added|-|
|Multi - language Runtime - Util|readonly ignoreBOM = false;|Added|-|
|Multi - language Runtime - Util|readonly encoding = "utf-8";|Added|-|
|Multi - language Runtime - URL|new URL(url: string, base?: string/URL)|Added|-|
|Multi - language Runtime - URL|toString(): string;|Added|-|
|Multi - language Runtime - URL|toJSON(): string;|Added|-|
|Multi - language Runtime - URL|new URSearchParams()|Added|-|
|Multi - language Runtime - URL|new URSearchParams(string)|Added|-|
|Multi - language Runtime - URL|new URSearchParams(obj)|Added|-|
|Multi - language Runtime - URL|new URSearchParams(iterable)|Added|-|
|Multi - language Runtime - URL|append(name: string, value: string): void;|Added|-|
|Multi - language Runtime - URL|delete(name: string): void;|Added|-|
|Multi - language Runtime - URL|entries(): IterableIterator\<[string, string]>;|Added|-|
|Multi - language Runtime - URL|forEach(callbackfn: (value: string, key: string, parent: this) => void, thisArg?: any,): void;|Added|-|
|Multi - language Runtime - URL|get(name: string): string / null;|Added|-|
|Multi - language Runtime - URL|getAll(name: string): string[];|Added|-|
|Multi - language Runtime - URL|has(name: string): boolean;|Added|-|
|Multi - language Runtime - URL|keys(): IterableIterator\<string>;|Added|-|
|Multi - language Runtime - URL|set(name: string, value: string): void;|Added|-|
|Multi - language Runtime - URL|sort():void;|Added|-|
|Multi - language Runtime - URL|toString():string|Added|-|
|Multi - language Runtime - URL|values(): IterableIterator\<string>;|Added|-|
|Multi - language Runtime - URL|URSearchParams\[Symbol.iterator]()|Added|-|
|Multi - language Runtime - URL|hash: string;|Added|-|
|Multi - language Runtime - URL|host: string;|Added|-|
|Multi - language Runtime - URL|hostname: string;|Added|-|
|Multi - language Runtime - URL|href: string;|Added|-|
|Multi - language Runtime - URL|readonly origin: string;|Added|-|
|Multi - language Runtime - URL|password: string;|Added|-|
|Multi - language Runtime - URL|pathname: string;|Added|-|
|Multi - language Runtime - URL|port: string;|Added|-|
|Multi - language Runtime - URL|protocol: string;|Added|-|
|Multi - language Runtime - URL|search: string;|Added|-|
|Multi - language Runtime - URL|readonly searchParams: URLSearchParams;|Added|-|
|Multi - language Runtime - URL|username: string;|Added|-|
|Multi - language Runtime - ChildProcess|readonly pid: number;|Added|-|
|Multi - language Runtime - ChildProcess|readonly ppid: number;|Added|-|
|Multi - language Runtime - ChildProcess|readonly exitCode: number;|Added|-|
|Multi - language Runtime - ChildProcess|readonly killed: boolean;|Added|-|
|Multi - language Runtime - ChildProcess|wait(): Promise\<number>;|Added|-|
|Multi - language Runtime - ChildProcess|getOutput(): Promise\<Uint8Array>;|Added|-|
|Multi - language Runtime - ChildProcess|getErrorOutput(): Promise\<Uint8Array>;|Added|-|
|Multi - language Runtime - ChildProcess|close(): void;|Added|-|
|Multi - language Runtime - ChildProcess|kill(signal: number): void;|Added|-|
|Multi - language Runtime - process|runCmd(command: string,options?: { timeout : number, killSignal : number string, maxBuffer : number }): ChildProcess;|Added|-|
|Multi - language Runtime - process|getPid(): number;|Added|-|
|Multi - language Runtime - process|getPpid(): number;|Added|-|
|Multi - language Runtime - process|abort(): void;|Added|-|
|Multi - language Runtime - process|on(type: string, listener: EventListener): void;|Added|-|
|Multi - language Runtime - process|exit(code?:number): void;|Added|-|
|Multi - language Runtime - process|cwd(): string;|Added|-|
|Multi - language Runtime - process|chdir(dir: string): void;|Added|-|
|Multi - language Runtime - process|getEgid(): number;|Added|-|
|Multi - language Runtime - process|getEuid(): number;|Added|-|
|Multi - language Runtime - process|getGid(): number|Added|-|
|Multi - language Runtime - process|getUid(): number;|Added|-|
|Multi - language Runtime - process|uptime(): number;|Added|-|
|Multi - language Runtime - process|getGroups(): number[];|Added|-|
|Multi - language Runtime - process|kill(signal?: number, pid?: number): boolean;|Added|-|
|Update Subsystem - Updater|checkNewVersion(): Promise\<NewVersionInfo>;|Added| -|
|Update Subsystem - Updater|rebootAndCleanUserData(callback: AsyncCallback\<number>): void;|Added| -|
|Update Subsystem - Updater|rebootAndCleanCache(): Promise\<number>;|Added| -|
|Update Subsystem - Updater|getUpdaterFromOther(device: string, updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem - Updater|cancel(): void;|Added| -|
|Update Subsystem - Updater|upgrade(): void;|Added| -|
|Update Subsystem - Updater|off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|getUpdatePolicy(callback: AsyncCallback\<UpdatePolicy>): void;|Added| -|
|Update Subsystem - Updater|getUpdaterForOther(device: string, updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem - Updater|setUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback\<number>): void;|Added| -|
|Update Subsystem - Updater|getNewVersionInfo(): Promise\<NewVersionInfo>;|Added| -|
|Update Subsystem - Updater|getUpdater(updateType?: UpdateTypes): Updater;|Added| -|
|Update Subsystem - Updater|applyNewVersion(callback: AsyncCallback\<number>): void;|Added| -|
|Update Subsystem - Updater|rebootAndCleanUserData(): Promise\<number>;|Added| -|
|Update Subsystem - Updater|off(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|on(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|checkNewVersion(callback: AsyncCallback\<NewVersionInfo>): void;|Added| -|
|Update Subsystem - Updater|on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|getUpdatePolicy(): Promise\<UpdatePolicy>;|Added| -|
|Update Subsystem - Updater|download(): void;|Added| -|
|Update Subsystem - Updater|off(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|getNewVersionInfo(callback: AsyncCallback\<NewVersionInfo>): void;|Added| -|
|Update Subsystem - Updater|on(eventType: 'verifyProgress', callback: UpdateProgressCallback): void;|Added| -|
|Update Subsystem - Updater|verifyUpdatePackage(upgradeFile: string, certsFile: string): void;|Added| -|
|Update Subsystem - Updater|setUpdatePolicy(policy: UpdatePolicy): Promise\<number>;|Added| -|
|Update Subsystem - Updater|rebootAndCleanCache(callback: AsyncCallback\<number>): void;|Added| -|
|Update Subsystem - Updater|applyNewVersion(): Promise\<number>;|Added| -|
|Globalization Subsystem - I18n|getSystemLanguages(): Array\<string>;|Added| -|
|Globalization Subsystem - I18n|getSystemCountries(language: string): Array\<string>;|Added| -|
|Globalization Subsystem - I18n|isSuggested(language: string, region?: string): boolean;|Added| -|
|Globalization Subsystem - I18n|getSystemLanguage(): string;|Added| -|
|Globalization Subsystem - I18n|setSystemLanguage(language: string);|Added| -|
|Globalization Subsystem - I18n|getSystemRegion(): string;|Added| -|
|Globalization Subsystem - I18n|setSystemRegion(region: string);|Added| -|
|Globalization Subsystem - I18n|"getDisplayCountry(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|Added| -|
|Globalization Subsystem - I18n|getSystemLocale(): string;|Added| -|
|Globalization Subsystem - I18n|setSystemLocale(locale: string);|Added| -|
|Globalization Subsystem - I18n|"getDisplayLanguage(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|Added| -|
|Telephony Subsystem - radio|getNetworkState(callback: AsyncCallback\<NetworkState>): void;<br>getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>getNetworkState(slotId?: number): Promise\<NetworkState>;|Added| -|
|Telephony Subsystem - sim|getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;|Added| -|
|Telephony Subsystem - sim|getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void;<br>getDefaultVoiceSlotId(): Promise\<number>;|Added| -|
|Telephony Subsystem - sim|getSimSpn(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimSpn(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void;<br>getISOCountryCodeForSim(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getSimIccId(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimIccId(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getSimGid1(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimGid1(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void;<br>getISOCountryCodeForSim(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimOperatorNumeric(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getSimSpn(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimSpn(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getSimIccId(slotId: number, callback: AsyncCallback\<string>): void;<br>getSimIccId(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sim|getIMSI(slotId: number, callback: AsyncCallback\<string>): void;<br>getIMSI(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - call|combineConference(callId: number, callback: AsyncCallback\<void>): void;<br>combineConference(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|startDTMF(callId: number, character: string, callback: AsyncCallback\<void>): void;<br>startDTMF(callId: number, character: string): Promise\<void>;|Added| -|
|Telephony Subsystem - call|stopDTMF(callId: number, callback: AsyncCallback\<void>): void;<br>stopDTMF(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - sim|setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>setDefaultVoiceSlotId(slotId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - sim|unlockPin(slotId: number, pin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;|Added| -|
|Telephony Subsystem - sim|alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;|Added| -|
|Telephony Subsystem - sim|setLockState(slotId: number, pin: string, enable: number, callback: AsyncCallback\<LockStatusResponse>): void;<br>setLockState(slotId: number, pin: string, enable: number): Promise\<LockStatusResponse>;|Added| -|
|Telephony Subsystem - sim|getSimState(slotId: number, callback: AsyncCallback\<SimState>): void;<br>getSimState(slotId: number): Promise\<SimState>;|Added| -|
|Telephony Subsystem - sim|getSimState(slotId: number, callback: AsyncCallback\<SimState>): void;<br>getSimState(slotId: number): Promise\<SimState>;|Added| -|
|Telephony Subsystem - sim|getSimState(slotId: number, callback: AsyncCallback\<SimState>): void;<br>getSimState(slotId: number): Promise\<SimState>;|Added| -|
|Telephony Subsystem - sim|getSimState(slotId: number, callback: AsyncCallback\<SimState>): void;<br>getSimState(slotId: number): Promise\<SimState>;|Added| -|
|Telephony Subsystem - call|isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback\<boolean>): void;<br>isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\<boolean>): void;<br>isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\<boolean>;|Added| -|
|Telephony Subsystem - sms|createMessage(pdu: Array\<number>, specification: string, callback: AsyncCallback\<ShortMessage>): void;<br>createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage>;|Added| -|
|Telephony Subsystem - call|hasCall(callback: AsyncCallback\<boolean>): void;<br>hasCall(): Promise\<boolean>;|Added| -|
|Telephony Subsystem - sms|sendMessage(options: SendMessageOptions): void;|Added| -|
|Telephony Subsystem - call|dial(phoneNumber: string, callback: AsyncCallback\<boolean>): void;<br>dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;|Added| -|
|Telephony Subsystem - call|interface DialOptions {extras?: boolean; }|Added| -|
|Telephony Subsystem - sms|sendMessage(options: SendMessageOptions): void;|Added| -|
|Telephony Subsystem - sms|getDefaultSmsSlotId(callback: AsyncCallback\<number>): void;<br>getDefaultSmsSlotId(): Promise\<number>;|Added| -|
|Telephony Subsystem - call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback\<string>): void;<br>formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\<string>): void;<br>formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\<string>;|Added| -|
|Telephony Subsystem - call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback\<string>): void;<br>formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\<string>): void;<br>formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\<string>;|Added| -|
|Telephony Subsystem - call|formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback\<string>): void;<br>formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\<string>;|Added| -|
|Telephony Subsystem - sms|setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>setDefaultSmsSlotId(slotId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|getCallState(callback: AsyncCallback\<CallState>): void;<br>getCallState(): Promise\<CallState>;|Added| -|
|Telephony Subsystem - sms|setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\<void>): void;<br>setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;|Added| -|
|Telephony Subsystem - sms|getSmscAddr(slotId: number, callback: AsyncCallback\<string>): void;<br>getSmscAddr(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sms|addSimMessage(options: SimMessageOptions, callback: AsyncCallback\<void>): void;<br>addSimMessage(options: SimMessageOptions): Promise\<void>;|Added| -|
|Telephony Subsystem - sms|delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br>delSimMessage(slotId: number, msgIndex: number): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback\<string>): void;<br>getISOCountryCodeForNetwork(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sms|updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\<void>): void;<br>updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback\<string>): void;<br>getISOCountryCodeForNetwork(slotId: number): Promise\<string>;|Added| -|
|Telephony Subsystem - sms|getAllSimMessages(slotId: number, callback: AsyncCallback\<Array\<SimShortMessage>>): void;<br>getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;|Added| -|
|Telephony Subsystem - call|isInEmergencyCall(callback: AsyncCallback\<boolean>): void;<br>isInEmergencyCall(): Promise\<boolean>;|Added| -|
|Telephony Subsystem - sms|setCBConfig(options: CBConfigOptions, callback: AsyncCallback\<void>): void;<br>setCBConfig(options: CBConfigOptions): Promise\<void>;|Added| -|
|Telephony Subsystem - call|answer(callId: number, callback: AsyncCallback\<void>): void;<br>answer(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|hangup(callId: number, callback: AsyncCallback\<void>): void;<br>hangup(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|reject(callId: number, callback: AsyncCallback\<void>): void;<br>reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback\<void>): void;<br>reject(callId: number, options?: RejectMessageOptions): Promise\<void>;|Added| -|
|Telephony Subsystem - call|holdCall(callId: number, callback: AsyncCallback\<void>): void;<br>holdCall(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|unHoldCall(callId: number, callback: AsyncCallback\<void>): void;<br>unHoldCall(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - call|switchCall(callId: number, callback: AsyncCallback\<void>): void;<br>switchCall(callId: number): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\<void>): void;<br>setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|getNetworkSearchInformation(slotId: number, callback: AsyncCallback\<NetworkSearchResult>): void;<br>getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;|Added| -|
|Telephony Subsystem - radio|getNetworkSelectionMode(slotId: number, callback: AsyncCallback\<NetworkSelectionMode>): void;<br>getNetworkSelectionMode(slotId: number): Promise\<NetworkSelectionMode>;|Added| -|
|Telephony Subsystem - radio|isRadioOn(callback: AsyncCallback\<boolean>): void;<br>isRadioOn(): Promise\<boolean>;|Added| -|
|Telephony Subsystem - radio|turnOnRadio(callback: AsyncCallback\<void>): void;<br>turnOnRadio(): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|turnOffRadio(callback: AsyncCallback\<void>): void;<br>turnOffRadio(): Promise\<void>;|Added| -|
|Telephony Subsystem - radio|getSignalInformation(slotId: number, callback: AsyncCallback\<Array\<SignalInformation>>): void;<br>getSignalInformation(slotId: number): Promise\<Array\<SignalInformation>>;|Added| -|
|Telephony Subsystem - radio|getRadioTech(slotId: number, callback: AsyncCallback\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;<br>getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Telephony Subsystem - radio|getRadioTech(slotId: number, callback: AsyncCallback\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;<br>getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Telephony Subsystem - radio|getRadioTech(slotId: number, callback: AsyncCallback\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;<br>getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;|Added| -|
|Data Management - distributeddata|put(key:string, value:Uint8Array / string / boolean / number, callback: AsyncCallback\<void>):void put(key:string, value:Uint8Array / string / boolean / number):Promise\<void>|Added| -|
|Data Management - distributeddata|delete(key: string, callback: AsyncCallback\<void>): void delete(key: string): Promise\<void>|Added| -|
|Data Management - distributeddata|on(event:'dataChange', subType: SubscribeType, observer: Callback\<ChangeNotification>): void|Added| -|
|Data Management - distributeddata|get(key:string, callback:AsyncCallback\<Uint8Array / string / boolean / number>):void get(key:string):Promise\<Uint8Array / string / boolean / number>|Added| -|
|Data Management - distributeddata|sync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:number):void|Added| -|
|Data Management - distributeddata|createKVManager(config: KVManagerConfig, callback: AsyncCallback\<KVManager>): void;<br>createKVManager(config: KVManagerConfig): Promise\<KVManager>;|Added| -|
|Data Management - distributeddata|getKVStore\<T extends KVStore>(options: Options, storeId: string): Promise\<T>;<br>getKVStore\<T extends KVStore>(options: Options, storeId: string, callback: AsyncCallback\<T>): void;|Added| -|
|Data Management - distributeddata|on(event:'syncComplete', syncCallback: Callback\<Array\<[string, number]>>):void|Added| -|
|Data Management - rdb|type ValueType = number / string / boolean;|Added| -|
|Data Management - rdb|type ValuesBucket = { [key: string]: ValueType / Uint8Array / null; }|Added| -|
|Data Management - rdb|name: string;|Added| -|
|Data Management - rdb|constructor(name: string)|Added| -|
|Data Management - rdb|equalTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|notEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|beginWrap(): RdbPredicates;|Added| -|
|Data Management - rdb|endWrap(): RdbPredicates;|Added| -|
|Data Management - rdb|getRdbStore(config: StoreConfig, version: number, callback: AsyncCallback\<RdbStore>): void;<br>getRdbStore(config: StoreConfig, version: number): Promise\<RdbStore>;|Added| -|
|Data Management - rdb|deleteRdbStore(name: string, callback: AsyncCallback\<void>): void;<br>deleteRdbStore(name: string): Promise\<void>;|Added| -|
|Data Management - rdb|insert(name: string, values: ValuesBucket, callback: AsyncCallback\<number>): void;<br>insert(name: string, values: ValuesBucket): Promise\<number>;|Added| -|
|Data Management - rdb|update(values: ValuesBucket, rdbPredicates: RdbPredicates, callback: AsyncCallback\<number>): void;<br>update(values: ValuesBucket, rdbPredicates: RdbPredicates): Promise\<number>;|Added| -|
|Data Management - rdb|delete(rdbPredicates: RdbPredicates, callback: AsyncCallback\<number>): void;<br>delete(rdbPredicates: RdbPredicates): Promise\<number>;|Added| -|
|Data Management - rdb|query(rdbPredicates: RdbPredicates, columns: Array\<string>, callback: AsyncCallback\<ResultSet>): void;<br>query(rdbPredicates: RdbPredicates, columns: Array\<string>): Promise\<ResultSet>;|Added| -|
|Data Management - rdb|executeSql(sql: string, bindArgs: Array\<ValueType>, callback: AsyncCallback\<void>): void;<br>executeSql(sql: string, bindArgs: Array\<ValueType>): Promise\<void>;|Added| -|
|Data Management - rdb|like(field: string, value: string): RdbPredicates;|Added| -|
|Data Management - rdb|glob(field: string, value: string): RdbPredicates;|Added| -|
|Data Management - rdb|between(field: string, low: ValueType, high: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|greaterThan(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|lessThan(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|Added| -|
|Data Management - rdb|or(): RdbPredicates;|Added| -|
|Data Management - rdb|and(): RdbPredicates;|Added| -|
|Data Management - rdb|contains(field: string, value: string): RdbPredicates;|Added| -|
|Data Management - rdb|beginsWith(field: string, value: string): RdbPredicates;|Added| -|
|Data Management - rdb|endsWith(field: string, value: string): RdbPredicates;|Added| -|
|Data Management - rdb|isNull(field: string): RdbPredicates;|Added| -|
|Data Management - rdb|isNotNull(field: string): RdbPredicates;|Added| -|
|Data Management - rdb|isEnded: boolean;|Added| -|
|Data Management - rdb|isStarted: boolean;|Added| -|
|Data Management - rdb|isClosed: boolean;|Added| -|
|Data Management - rdb|getColumnIndex(columnName: string): number;|Added| -|
|Data Management - rdb|getColumnName(columnIndex: number): string;|Added| -|
|Data Management - rdb|goTo(offset: number): boolean;|Added| -|
|Data Management - rdb|goToRow(position: number): boolean;|Added| -|
|Data Management - rdb|goToFirstRow(): boolean;|Added| -|
|Data Management - rdb|goToLastRow(): boolean;|Added| -|
|Data Management - rdb|goToNextRow(): boolean;|Added| -|
|Data Management - rdb|goToPreviousRow(): boolean;|Added| -|
|Data Management - rdb|getBlob(columnIndex: number): Uint8Array;|Added| -|
|Data Management - rdb|getString(columnIndex: number): string;|Added| -|
|Data Management - rdb|getLong(columnIndex: number): number;|Added| -|
|Data Management - rdb|getDouble(columnIndex: number): number;|Added| -|
|Data Management - dataAbility|orderByDesc(field: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|distinct(): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|limitAs(value: number): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|offsetAs(rowOffset: number): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|groupBy(fields: Array\<string>): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|indexedBy(field: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|in(field: string, value: Array\<ValueType>): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|notIn(field: string, value: Array\<ValueType>): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|glob(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|between(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|notBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|greaterThan(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|lessThan(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|lessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|orderByAsc(field: string): DataAbilityPredicates;|Added| -|
|Data Management - rdb|isColumnNull(columnIndex: number): boolean;|Added| -|
|Data Management - rdb|close(): void;|Added| -|
|Data Management - dataAbility|createRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates): rdb.RdbPredicates;|Added| -|
|Data Management - dataAbility|equalTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|notEqualTo(field: string, value: ValueType): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|beginWrap():DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|endWrap(): DataAbilityPredicates;|Added| -|
|Data Management - rdb|orderByAsc(field: string): RdbPredicates;|Added| -|
|Data Management - rdb|orderByDesc(field: string): RdbPredicates;|Added| -|
|Data Management - rdb|distinct(): RdbPredicates;|Added| -|
|Data Management - rdb|limitAs(value: number): RdbPredicates;|Added| -|
|Data Management - rdb|offsetAs(rowOffset: number): RdbPredicates;|Added| -|
|Data Management - rdb|groupBy(fields: Array\<string>): RdbPredicates;|Added| -|
|Data Management - rdb|indexedBy(field: string): RdbPredicates;|Added| -|
|Data Management - dataAbility|or(): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|and(): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|contains(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|beginsWith(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|endsWith(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|isNull(field: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|isNotNull(field: string): DataAbilityPredicates;|Added| -|
|Data Management - dataAbility|like(field: string, value: string): DataAbilityPredicates;|Added| -|
|Data Management - rdb|in(field: string, value: Array\<ValueType>): RdbPredicates;|Added| -|
|Data Management - rdb|notIn(field: string, value: Array\<ValueType>): RdbPredicates;|Added| -|
|Data Management - rdb|columnNames: Array\<string>;|Added| -|
|Data Management - rdb|columnCount: number;|Added| -|
|Data Management - rdb|rowCount: number;|Added| -|
|Data Management - rdb|rowIndex: number;|Added| -|
|Data Management - rdb|isAtFirstRow: boolean;|Added| -|
|Data Management - rdb|isAtLastRow: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|title: string;|Added| -|
|Common Event and Notification Subsystem - notification|sound?: string;|Added| -|
|Common Event and Notification Subsystem - notification|text: string;|Added| -|
|Common Event and Notification Subsystem - notification|vibrationValues?: Array\<number>;|Added| -|
|Common Event and Notification Subsystem - wantAgent|want?: Want;|Added| -|
|Common Event and Notification Subsystem - notification|vibrationEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|badgeFlag?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|type: notification.SlotType;|Added| -|
|Common Event and Notification Subsystem - wantAgent|code: number;|Added| -|
|Common Event and Notification Subsystem - notification|contentType: ContentType;|Added| -|
|Common Event and Notification Subsystem - notification|picture: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem - notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem - notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem - notification|briefText: string;|Added| -|
|Common Event and Notification Subsystem - notification|bypassDnd?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|additionalText?: string;|Added| -|
|Common Event and Notification Subsystem - wantAgent|cancel(info: WantAgentInfo, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - wantAgent|enum OperationType|Added| -|
|Common Event and Notification Subsystem - wantAgent|enum WantAgentFlags|Added| -|
|Common Event and Notification Subsystem - wantAgent|permission?: string;|Added| -|
|Common Event and Notification Subsystem - notification|picture?: NotificationPictureContent;|Added| -|
|Common Event and Notification Subsystem - notification|normal?: NotificationBasicContent;|Added| -|
|Common Event and Notification Subsystem - notification|expandedTitle: string;|Added| -|
|Common Event and Notification Subsystem - notification|expandedTitle: string;|Added| -|
|Common Event and Notification Subsystem - wantAgent|trigger(info: WantAgentInfo, triggerInfo: TriggerInfo, callback: AsyncCallback\<CompleteData>): void;|Added| -|
|Common Event and Notification Subsystem - wantAgent|extraInfo?: {[key: string]: any};|Added| -|
|Common Event and Notification Subsystem - notification|multiLine?: NotificationMultiLineContent;|Added| -|
|Common Event and Notification Subsystem - notification|level?: notification.SlotLevel;|Added| -|
|Common Event and Notification Subsystem - notification|lightColor?: number;|Added| -|
|Common Event and Notification Subsystem - notification|lightEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|lines: Array\<string>;|Added| -|
|Common Event and Notification Subsystem - notification|lockscreenVisibility?: number;|Added| -|
|Common Event and Notification Subsystem - notification|longText: string;|Added| -|
|Common Event and Notification Subsystem - wantAgent|getBundleName(info: WantAgentInfo, callback: AsyncCallback\<string>): void;|Added| -|
|Common Event and Notification Subsystem - notification|longText?: NotificationLongTextContent;|Added| -|
|Common Event and Notification Subsystem - notification|longTitle: string;|Added| -|
|Common Event and Notification Subsystem - wantAgent|judgeEquality(info: WantAgentInfo, info2: WantAgentInfo, callback: AsyncCallback\<boolean>): void;|Added| -|
|Common Event and Notification Subsystem - wantAgent|getUid(info: WantAgentInfo, callback: AsyncCallback\<number>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = common.event.IVI_TEMPERATURE_ABNORMAL,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_VOLTAGE_RECOVERY = common.event.IVI_VOLTAGE_RECOVERY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = common.event.IVI_TEMPERATURE_RECOVERY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_ACTIVE = common.event.IVI_ACTIVE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USB_DEVICE_ATTACHED = usual.event.hardware.usb.action.USB_DEVICE_ATTACHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USB_DEVICE_DETACHED = usual.event.hardware.usb.action.USB_DEVICE_DETACHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_PAUSE = common.event.IVI_PAUSE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_STANDBY = common.event.IVI_STANDBY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_LASTMODE_SAVE = common.event.IVI_LASTMODE_SAVE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = common.event.IVI_VOLTAGE_ABNORMAL,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_HIGH_TEMPERATURE = common.event.IVI_HIGH_TEMPERATURE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_EXTREME_TEMPERATURE = common.event.IVI_EXTREME_TEMPERATURE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_UNMOUNTABLE = usual.event.data.DISK_UNMOUNTABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_EJECT = usual.event.data.DISK_EJECT,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = usual.event.data.VISIBLE_ACCOUNTS_UPDATED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_ACCOUNT_DELETED = usual.event.data.ACCOUNT_DELETED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_FOUNDATION_READY = common.event.FOUNDATION_READY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_AIRPLANE_MODE_CHANGED = usual.event.AIRPLANE_MODE|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USB_ACCESSORY_ATTACHED = usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USB_ACCESSORY_DETACHED = usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_REMOVED = usual.event.data.DISK_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_UNMOUNTED = usual.event.data.DISK_UNMOUNTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_MOUNTED = usual.event.data.DISK_MOUNTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISK_BAD_REMOVAL = usual.event.data.DISK_BAD_REMOVAL,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = usual.event.nfc.action.RF_FIELD_OFF_DETECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DISCHARGING = usual.event.DISCHARGING,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_CHARGING = usual.event.CHARGING,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = usual.event.DEVICE_IDLE_MODE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_POWER_SAVE_MODE_CHANGED = usual.event.POWER_SAVE_MODE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_ADDED = usual.event.USER_ADDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_REMOVED = usual.event.USER_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_ABILITY_ADDED = common.event.ABILITY_ADDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_ABILITY_REMOVED = common.event.ABILITY_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_ABILITY_UPDATED = common.event.ABILITY_UPDATED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = usual.event.location.MODE_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_IVI_SLEEP = common.event.IVI_SLEEP,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = usual.event.bluetooth.host.NAME_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = usual.event.nfc.action.ADAPTER_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = usual.event.nfc.action.RF_FIELD_ON_DETECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = usual.event.bluetooth.host.REQ_ENABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = usual.event.bluetooth.host.REQ_DISABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = usual.event.bluetooth.host.SCAN_MODE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = usual.event.bluetooth.host.DISCOVERY_STARTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = usual.event.bluetooth.host.DISCOVERY_FINISHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_CONN_STATE = usual.event.wifi.p2p.CONN_STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_STATE_CHANGED = usual.event.wifi.p2p.STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = usual.event.wifi.p2p.DEVICES_CHANGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = usual.event.wifi.p2p.GROUP_STATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_RSSI_VALUE = usual.event.wifi.RSSI_VALUE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_CONN_STATE = usual.event.wifi.CONN_STATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_HOTSPOT_STATE = usual.event.wifi.HOTSPOT_STATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_AP_STA_JOIN = usual.event.wifi.WIFI_HS_STA_JOIN,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_AP_STA_LEAVE = usual.event.wifi.WIFI_HS_STA_LEAVE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = usual.event.wifi.mplink.STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_HWID_LOGOUT = common.event.HWID_LOGOUT,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_HWID_TOKEN_INVALID = common.event.HWID_TOKEN_INVALID,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_HWID_LOGOFF = common.event.HWID_LOGOFF,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_POWER_STATE = usual.event.wifi.POWER_STATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_SCAN_FINISHED = usual.event.wifi.SCAN_FINISHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|clearAbortCommonEvent(): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|bundleName?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|code?: number;|Added| -|
|Common Event and Notification Subsystem - commonEvent|data?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|subscriberPermissions?: Array\<string>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|isOrdered?: boolean;|Added| -|
|Common Event and Notification Subsystem - commonEvent|isSticky?: boolean;|Added| -|
|Common Event and Notification Subsystem - commonEvent|abortCommonEvent(callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|abortCommonEvent(): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise\<CommonEventSubscriber>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|createSubscriber(subscribeInfo: CommonEventSubscribeInfo, callback: AsyncCallback\<CommonEventSubscriber>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback\<CommonEventData>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|publish(event: string, options: CommonEventPublishData, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|isOrderedCommonEvent(callback: AsyncCallback\<boolean>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|isOrderedCommonEvent(): Promise\<boolean>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BOOT_COMPLETED = usual.event.BOOT_COMPLETED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_LOCKED_BOOT_COMPLETED = usual.event.LOCKED_BOOT_COMPLETED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_SHUTDOWN = usual.event.SHUTDOWN,|Added| -|
|Common Event and Notification Subsystem - commonEvent|isStickyCommonEvent(): Promise\<boolean>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|getData(callback: AsyncCallback\<string>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|getData(): Promise\<string>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|getSubscribeInfo(callback: AsyncCallback\<CommonEventSubscribeInfo>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|getSubscribeInfo(): Promise\<CommonEventSubscribeInfo>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|publish(event: string, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|event: string|Added| -|
|Common Event and Notification Subsystem - commonEvent|bundleName?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|code?: number;|Added| -|
|Common Event and Notification Subsystem - commonEvent|data?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|setCode(code: number, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DRIVE_MODE = common.event.DRIVE_MODE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_HOME_MODE = common.event.HOME_MODE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_OFFICE_MODE = common.event.OFFICE_MODE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_STARTED = usual.event.USER_STARTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_BACKGROUND = usual.event.USER_BACKGROUND,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_FOREGROUND = usual.event.USER_FOREGROUND,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_SWITCHED = usual.event.USER_SWITCHED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_STARTING = usual.event.USER_STARTING,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_UNLOCKED = usual.event.USER_UNLOCKED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_STOPPING = usual.event.USER_STOPPING,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_STOPPED = usual.event.USER_STOPPED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_HWID_LOGIN = common.event.HWID_LOGIN,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_VERIFIED = usual.event.PACKAGE_VERIFIED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = usual.event.EXTERNAL_APPLICATIONS_AVAILABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_CONFIGURATION_CHANGED = usual.event.CONFIGURATION_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_LOCALE_CHANGED = usual.event.LOCALE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_MANAGE_PACKAGE_STORAGE = usual.event.MANAGE_PACKAGE_STORAGE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGES_UNSUSPENDED = usual.event.PACKAGES_UNSUSPENDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_MY_PACKAGE_SUSPENDED = usual.event.MY_PACKAGE_SUSPENDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = usual.event.MY_PACKAGE_UNSUSPENDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_UID_REMOVED = usual.event.UID_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_FIRST_LAUNCH = usual.event.PACKAGE_FIRST_LAUNCH,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = usual.event.PACKAGE_NEEDS_VERIFICATION,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_SCREEN_OFF = usual.event.SCREEN_OFF,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_SCREEN_ON = usual.event.SCREEN_ON,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_USER_PRESENT = usual.event.USER_PRESENT,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_TIME_TICK = usual.event.TIME_TICK,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_TIME_CHANGED = usual.event.TIME_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_DATE_CHANGED = usual.event.DATE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BATTERY_CHANGED = usual.event.BATTERY_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BATTERY_LOW = usual.event.BATTERY_LOW,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BATTERY_OKAY = usual.event.BATTERY_OKAY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_POWER_CONNECTED = usual.event.POWER_CONNECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_POWER_DISCONNECTED = usual.event.POWER_DISCONNECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = usual.event.bluetooth.remotedevice.ACL_CONNECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = usual.event.bluetooth.remotedevice.ACL_DISCONNECTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|getAbortCommonEvent(callback: AsyncCallback\<boolean>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = usual.event.bluetooth.remotedevice.NAME_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|getAbortCommonEvent(): Promise\<boolean>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = usual.event.bluetooth.remotedevice.PAIR_STATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|getCode(callback: AsyncCallback\<number>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|setCode(code: number): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|getCode(): Promise\<number>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT,|Added| -|
|Common Event and Notification Subsystem - commonEvent|setCodeAndData(code: number, data: string, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = usual.event.bluetooth.remotedevice.SDP_RESULT,|Added| -|
|Common Event and Notification Subsystem - commonEvent|isStickyCommonEvent(callback: AsyncCallback\<boolean>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|setCodeAndData(code: number, data: string): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|events: Array\<string>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = usual.event.bluetooth.host.STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|setData(data: string, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = usual.event.bluetooth.host.REQ_DISCOVERABLE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|publisherPermission?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|setData(data: string): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = usual.event.bluetooth.remotedevice.UUID_VALUE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|publisherDeviceId?: string;|Added| -|
|Common Event and Notification Subsystem - commonEvent|clearAbortCommonEvent(callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - commonEvent|userId?: number;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_TIMEZONE_CHANGED = usual.event.TIMEZONE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = usual.event.bluetooth.remotedevice.PAIRING_REQ,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = usual.event.bluetooth.remotedevice.DISCOVERED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|priority?: number;|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BUNDLE_REMOVED = usual.event.BUNDLE_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = usual.event.bluetooth.remotedevice.PAIRING_CANCEL,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = usual.event.CLOSE_SYSTEM_DIALOGS,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_ADDED = usual.event.PACKAGE_ADDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = usual.event.bluetooth.remotedevice.CONNECT_REQ,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_FULLY_REMOVED = usual.event.PACKAGE_FULLY_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_REPLACED = usual.event.PACKAGE_REPLACED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = usual.event.bluetooth.remotedevice.CONNECT_REPLY,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_MY_PACKAGE_REPLACED = usual.event.MY_PACKAGE_REPLACED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_CHANGED = usual.event.PACKAGE_CHANGED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = usual.event.bluetooth.remotedevice.CONNECT_CANCEL,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_REMOVED = usual.event.PACKAGE_REMOVED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_RESTARTED = usual.event.PACKAGE_RESTARTED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGE_DATA_CLEARED = usual.event.PACKAGE_DATA_CLEARED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_PACKAGES_SUSPENDED = usual.event.PACKAGES_SUSPENDED,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE,|Added| -|
|Common Event and Notification Subsystem - commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE,|Added| -|
|Common Event and Notification Subsystem - notification|LEVEL_NONE = 0,|Added| -|
|Common Event and Notification Subsystem - notification|LEVEL_MIN = 1,|Added| -|
|Common Event and Notification Subsystem - notification|LEVEL_LOW = 2,|Added| -|
|Common Event and Notification Subsystem - notification|LEVEL_DEFAULT = 3,|Added| -|
|Common Event and Notification Subsystem - notification|label?: string;|Added| -|
|Common Event and Notification Subsystem - notification|bundle: string;|Added| -|
|Common Event and Notification Subsystem - notification|uid?: number;|Added| -|
|Common Event and Notification Subsystem - notification|NOTIFICATION_CONTENT_MULTILINE,|Added| -|
|Common Event and Notification Subsystem - notification|UNKNOWN_TYPE = 0,|Added| -|
|Common Event and Notification Subsystem - notification|SOCIAL_COMMUNICATION = 1,|Added| -|
|Common Event and Notification Subsystem - notification|LEVEL_HIGH = 4,|Added| -|
|Common Event and Notification Subsystem - notification|NOTIFICATION_CONTENT_BASIC_TEXT,|Added| -|
|Common Event and Notification Subsystem - notification|NOTIFICATION_CONTENT_LONG_TEXT,|Added| -|
|Common Event and Notification Subsystem - notification|NOTIFICATION_CONTENT_PICTURE,|Added| -|
|Common Event and Notification Subsystem - notification|isFloatingIcon?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|label?: string;|Added| -|
|Common Event and Notification Subsystem - notification|badgeIconStyle?: number;|Added| -|
|Common Event and Notification Subsystem - notification|showDeliveryTime?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|isAlertOnce?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|getActiveNotifications(callback: AsyncCallback\<Array\<NotificationRequest>>): void;|Added| -|
|Common Event and Notification Subsystem - notification|isStopwatch?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|isCountDown?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|getActiveNotifications(): Promise\<Array\<NotificationRequest>>;|Added| -|
|Common Event and Notification Subsystem - notification|getActiveNotificationCount(callback: AsyncCallback\<number>): void;|Added| -|
|Common Event and Notification Subsystem - notification|readonly creatorUid?: number;|Added| -|
|Common Event and Notification Subsystem - notification|getActiveNotificationCount(): Promise\<number>;|Added| -|
|Common Event and Notification Subsystem - notification|readonly creatorPid?: number;|Added| -|
|Common Event and Notification Subsystem - notification|cancel(id: number, label?: string): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - notification|classification?: string;|Added| -|
|Common Event and Notification Subsystem - notification|readonly hashCode?: string;|Added| -|
|Common Event and Notification Subsystem - notification|cancelAll(callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|actionButtons?: Array\<NotificationActionButton>;|Added| -|
|Common Event and Notification Subsystem - notification|cancelAll(): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - notification|smallIcon?: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem - notification|isUnremovable?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|largeIcon?: image.PixelMap;|Added| -|
|Common Event and Notification Subsystem - notification|deliveryTime?: number;|Added| -|
|Common Event and Notification Subsystem - notification|readonly creatorBundleName?: string;|Added| -|
|Common Event and Notification Subsystem - notification|tapDismissed?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|publish(request: NotificationRequest): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - notification|autoDeletedTime?: number;|Added| -|
|Common Event and Notification Subsystem - notification|cancel(id: number, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|content: NotificationContent;|Added| -|
|Common Event and Notification Subsystem - notification|wantAgent?: WantAgentInfo;|Added| -|
|Common Event and Notification Subsystem - notification|cancel(id: number, label: string, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|getSlot(slotType: SlotType, callback: AsyncCallback\<NotificationSlot>): void;|Added| -|
|Common Event and Notification Subsystem - notification|extraInfo?: {[key: string]: any};|Added| -|
|Common Event and Notification Subsystem - notification|getSlot(slotType: SlotType): Promise\<NotificationSlot>;|Added| -|
|Common Event and Notification Subsystem - notification|SERVICE_INFORMATION = 2,|Added| -|
|Common Event and Notification Subsystem - notification|color?: number;|Added| -|
|Common Event and Notification Subsystem - notification|id?: number;|Added| -|
|Common Event and Notification Subsystem - notification|getSlots(callback: AsyncCallback\<Array\<NotificationSlot>>): void;|Added| -|
|Common Event and Notification Subsystem - notification|CONTENT_INFORMATION = 3,|Added| -|
|Common Event and Notification Subsystem - notification|slotType?: notification.SlotType;|Added| -|
|Common Event and Notification Subsystem - notification|colorEnabled?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|OTHER_TYPES = 0xFFFF,|Added| -|
|Common Event and Notification Subsystem - notification|isOngoing?: boolean;|Added| -|
|Common Event and Notification Subsystem - notification|addSlot(type: SlotType, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|id: number;|Added| -|
|Common Event and Notification Subsystem - notification|addSlot(type: SlotType): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - notification|desc?: string;|Added| -|
|Common Event and Notification Subsystem - notification|publish(request: NotificationRequest, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|removeAllSlots(callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|removeAllSlots(): Promise\<void>;|Added| -|
|Common Event and Notification Subsystem - notification|getSlots(): Promise\<Array\<NotificationSlot>>;|Added| -|
|Common Event and Notification Subsystem - notification|removeSlot(slotType: SlotType, callback: AsyncCallback\<void>): void;|Added| -|
|Common Event and Notification Subsystem - notification|removeSlot(slotType: SlotType): Promise\<void>;|Added| -|
|Globalization Subsystem - resourceManager|getString(resId: number, callback: AsyncCallback\<string>);<br>getString(resId: number): Promise\<string>;|Added| -|
|Globalization Subsystem - resourceManager|getStringArray(resId: number, callback: AsyncCallback\<Array\<string>>);<br>getStringArray(resId: number): Promise\<Array\<string>>;|Added| -|
|Globalization Subsystem - resourceManager|getConfiguration(callback: AsyncCallback\<Configuration>);<br>getConfiguration(): Promise\<Configuration>;|Added| -|
|Globalization Subsystem - resourceManager|getDeviceCapability(callback: AsyncCallback\<DeviceCapability>);<br>getDeviceCapability(): Promise\<DeviceCapability>;|Added| -|
|Globalization Subsystem - resourceManager|getMedia(resId: number, callback: AsyncCallback\<Uint8Array>);<br>getMedia(resId: number): Promise\<Uint8Array>;<br>getMediaBase64(resId: number, callback: AsyncCallback\<string>);<br>getMediaBase64(resId: number): Promise\<string>;|Added| -|
|Globalization Subsystem - resourceManager|"getPluralString(resId: number, num: number, callback: AsyncCallback\<string>);<br>getPluralString(resId: number, num: number): Promise\<string>;"|Added| -|
|Globalization Subsystem - resourceManager|DeviceCapability|Added| -|
|Globalization Subsystem - resourceManager|"getMediaBase64(resId: number, callback: AsyncCallback\<Uint8Array>);<br>getMediaBase64(resId: number): Promise\<Uint9Array>;"|Added| -|
|Globalization Subsystem - resourceManager|"getResourceManager(callback: AsyncCallback\<ResourceManager>);<br>getResourceManager(bundleName: string, callback: AsyncCallback\<ResourceManager>);<br>getResourceManager(): Promise\<ResourceManager>;<br>getResourceManager(bundleName: string): Promise\<ResourceManager>;"|Added| -|
|Globalization Subsystem - resourceManager|DeviceType|Added| -|
|Globalization Subsystem - resourceManager|Direction|Added| -|
|Globalization Subsystem - resourceManager|Configuration|Added| -|
|Globalization Subsystem - resourceManager|ScreenDensity|Added| -|
|Globalization Subsystem - resourceManager|deviceType|Added| -|
|Globalization Subsystem - resourceManager|locale|Added| -|
|Globalization Subsystem - resourceManager|direction|Added| -|
|Globalization Subsystem - resourceManager|screenDensity|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const batterySOC: number;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const technology: string;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const isBatteryPresent: boolean;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const batteryTemperature: number;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const pluggedType: BatteryPluggedType;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const chargingStatus: BatteryChargeState;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const healthStatus: BatteryHealthState;|Added| -|
|Power Management Subsystem - batteryInfo|batteryInfo:const voltage: number;|Added| -|
|Power Management Subsystem - batteryInfo|BatteryChargeState:NONE|Added| -|
|Power Management Subsystem - batteryInfo|BatteryChargeState:DISABLE|Added| -|
|Power Management Subsystem - batteryInfo|BatteryChargeState:ENABLE,|Added| -|
|Power Management Subsystem - batteryInfo|BatteryChargeState:FULL|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:COLD|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:OVERHEAT|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:OVERVOLTAGE|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:DEAD|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:UNKNOWN|Added| -|
|Power Management Subsystem - batteryInfo|BatteryHealthState:GOOD|Added| -|
|Power Management Subsystem - batteryInfo|BatteryPluggedType:WIRELESS|Added| -|
|Power Management Subsystem - batteryInfo|BatteryPluggedType:NONE|Added| -|
|Power Management Subsystem - batteryInfo|BatteryPluggedType:AC|Added| -|
|Power Management Subsystem - batteryInfo|BatteryPluggedType:USB|Added| -|
|Power Management Subsystem - runningLock|RunningLock:unlock()|Added| -|
|Power Management Subsystem - runningLock|runningLock:isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback\<boolean>): void;|Added| -|
|Power Management Subsystem - runningLock|runningLock:createRunningLock(name: string, type: runningLockType): RunningLock|Added| -|
|Power Management Subsystem - runningLock|RunningLock:lock(timeout: number)|Added| -|
|Power Management Subsystem - runningLock|RunningLock:isUsed(): boolean|Added| -|
|Power Management Subsystem - runningLock|RunningLockType:BACKGROUND|Added| -|
|Power Management Subsystem - runningLock|RunningLockType:PROXIMITY_SCREEN_CONTROL|Added| -|
|Power Management Subsystem - power|power:rebootDevice(reason ?: string)|Added| -|
|Power Management Subsystem - power|power:isScreenOn(callback: AsyncCallback\<boolean>): void;|Added| -|
......@@ -6,18 +6,18 @@ The table below lists the APIs changes of the ability framework in OpenHarmony 3
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| featureability | FeatureAbility | static getDeviceList(flag: number): Promise<Result>; | Added|
| featureability | FeatureAbility | static getDeviceList(flag: number): Promise\<Result>; | Added|
| customizeData | CustomizeData | extra: string; | Added|
| applicationInfo | ApplicationInfo | readonly entityType: string; | Added|
| applicationInfo | ApplicationInfo | readonly uid: number; | Added|
| applicationInfo | ApplicationInfo | readonly accessTokenId: number; | Added|
| applicationInfo | ApplicationInfo | readonly removable: boolean; | Added|
| applicationInfo | ApplicationInfo | readonly metaData: Map<string, Array<CustomizeData>>; | Added|
| applicationInfo | ApplicationInfo | readonly metaData: Map\<string, Array\<CustomizeData>>; | Added|
| applicationInfo | ApplicationInfo | readonly codePath: string; | Added|
| applicationInfo | ApplicationInfo | readonly moduleInfos: Array<ModuleInfo>; | Added|
| applicationInfo | ApplicationInfo | readonly moduleInfos: Array\<ModuleInfo>; | Added|
| shellCmdResult | ShellCmdResult | exitCode: number; | Added|
| shellCmdResult | ShellCmdResult | stdResult: String; | Added|
| ProcessRunningInfo | ProcessRunningInfo | bundleNames: Array<string>; | Added|
| ProcessRunningInfo | ProcessRunningInfo | bundleNames: Array\<string>; | Added|
| ProcessRunningInfo | ProcessRunningInfo | processName: string; | Added|
| ProcessRunningInfo | ProcessRunningInfo | uid: number; | Added|
| ProcessRunningInfo | ProcessRunningInfo | pid: number; | Added|
......@@ -26,29 +26,29 @@ The table below lists the APIs changes of the ability framework in OpenHarmony 3
| abilityDelegatorArgs | AbilityDelegatorArgs | testCaseNames: string; | Added|
| abilityDelegatorArgs | AbilityDelegatorArgs | parameters: {[key: string]: string}; | Added|
| abilityDelegatorArgs | AbilityDelegatorArgs | bundleName: string; | Added|
| abilityDelegator | AbilityDelegator | executeShellCommand(cmd: string, callback: AsyncCallback<ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback<ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs?: number): Promise<ShellCmdResult>; | Added|
| abilityDelegator | AbilityDelegator | print(msg: string, callback: AsyncCallback<void>): void;<br>print(msg: string): Promise<void>; | Added|
| context | Context | printDrawnCompleted(callback: AsyncCallback<void>): void;<br>printDrawnCompleted(): Promise<void>; | Added|
| context | Context | isUpdatingConfigurations(callback: AsyncCallback<boolean>): void;<br>isUpdatingConfigurations(): Promise<boolean>; | Added|
| context | Context | getAbilityInfo(callback: AsyncCallback<AbilityInfo>): void<br>getAbilityInfo(): Promise<AbilityInfo>; | Added|
| abilityDelegator | AbilityDelegator | executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>; | Added|
| abilityDelegator | AbilityDelegator | print(msg: string, callback: AsyncCallback\<void>): void;<br>print(msg: string): Promise\<void>; | Added|
| context | Context | printDrawnCompleted(callback: AsyncCallback\<void>): void;<br>printDrawnCompleted(): Promise\<void>; | Added|
| context | Context | isUpdatingConfigurations(callback: AsyncCallback\<boolean>): void;<br>isUpdatingConfigurations(): Promise\<boolean>; | Added|
| context | Context | getAbilityInfo(callback: AsyncCallback\<AbilityInfo>): void<br>getAbilityInfo(): Promise\<AbilityInfo>; | Added|
| context | Context | getApplicationContext(): Context; | Added|
| context | Context | getAppVersionInfo(callback: AsyncCallback<AppVersionInfo>): void<br>getAppVersionInfo(): Promise<AppVersionInfo>; | Added|
| context | Context | getHapModuleInfo(callback: AsyncCallback<HapModuleInfo>): void<br>getHapModuleInfo(): Promise<HapModuleInfo>; | Added|
| context | Context | getAppType(callback: AsyncCallback<string>): void<br>getAppType(): Promise<string>; | Added|
| context | Context | getOrCreateDistributedDir(): Promise<string>;<br>getOrCreateDistributedDir(callback: AsyncCallback<string>): void; | Added|
| context | Context | getCacheDir(callback: AsyncCallback<string>): void;<br>getCacheDir(): Promise<string>; | Added|
| context | Context | getFilesDir(callback: AsyncCallback<string>): void;<br>getFilesDir(): Promise<string>; | Added|
| context | Context | setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback<void>): void<br>setWakeUpScreen(wakeUp: boolean): Promise<void>; | Added|
| context | Context | setShowOnLockScreen(show: boolean, callback: AsyncCallback<void>): void<br>setShowOnLockScreen(show: boolean): Promise<void>; | Added|
| context | Context | setDisplayOrientation(orientation: DisplayOrientation, callback: AsyncCallback<void>): void<br>setDisplayOrientation(orientation: DisplayOrientation): Promise<void>; | Added|
| context | Context | getDisplayOrientation(callback: AsyncCallback<DisplayOrientation>): void<br>getDisplayOrientation(): Promise<DisplayOrientation>; | Added|
| context | Context | getAppVersionInfo(callback: AsyncCallback\<AppVersionInfo>): void<br>getAppVersionInfo(): Promise\<AppVersionInfo>; | Added|
| context | Context | getHapModuleInfo(callback: AsyncCallback\<HapModuleInfo>): void<br>getHapModuleInfo(): Promise\<HapModuleInfo>; | Added|
| context | Context | getAppType(callback: AsyncCallback\<string>): void<br>getAppType(): Promise\<string>; | Added|
| context | Context | getOrCreateDistributedDir(): Promise\<string>;<br>getOrCreateDistributedDir(callback: AsyncCallback\<string>): void; | Added|
| context | Context | getCacheDir(callback: AsyncCallback\<string>): void;<br>getCacheDir(): Promise\<string>; | Added|
| context | Context | getFilesDir(callback: AsyncCallback\<string>): void;<br>getFilesDir(): Promise\<string>; | Added|
| context | Context | setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\<void>): void<br>setWakeUpScreen(wakeUp: boolean): Promise\<void>; | Added|
| context | Context | setShowOnLockScreen(show: boolean, callback: AsyncCallback\<void>): void<br>setShowOnLockScreen(show: boolean): Promise\<void>; | Added|
| context | Context | setDisplayOrientation(orientation: DisplayOrientation, callback: AsyncCallback\<void>): void<br>setDisplayOrientation(orientation: DisplayOrientation): Promise\<void>; | Added|
| context | Context | getDisplayOrientation(callback: AsyncCallback\<DisplayOrientation>): void<br>getDisplayOrientation(): Promise\<DisplayOrientation>; | Added|
| appVersionInfo | AppVersionInfo | readonly versionName: string; | Added|
| appVersionInfo | AppVersionInfo | readonly versionCode: number; | Added|
| appVersionInfo | AppVersionInfo | readonly appName: string; | Added|
| dataAbilityHelper | PacMap | [key: string]: number \| string \| boolean \| Array<string \| number \| boolean> \| null; | Added|
| dataAbilityHelper | DataAbilityHelper | executeBatch(uri: string, operations: Array<DataAbilityOperation>, callback: AsyncCallback<Array<DataAbilityResult>>): void;<br>executeBatch(uri: string, operations: Array<DataAbilityOperation>): Promise<Array<DataAbilityResult>>; | Added|
| dataAbilityHelper | DataAbilityHelper | call(uri: string, method: string, arg: string, extras: PacMap, callback: AsyncCallback<PacMap>): void;<br>call(uri: string, method: string, arg: string, extras: PacMap): Promise<PacMap>; | Added|
| ohos.application.Want | Want | entities?: Array<string>; | Added|
| dataAbilityHelper | PacMap | [key: string]: number \| string \| boolean \| Array\<string \| number \| boolean> \| null; | Added|
| dataAbilityHelper | DataAbilityHelper | executeBatch(uri: string, operations: Array\<DataAbilityOperation>, callback: AsyncCallback\<Array\<DataAbilityResult>>): void;<br>executeBatch(uri: string, operations: Array\<DataAbilityOperation>): Promise\<Array\<DataAbilityResult>>; | Added|
| dataAbilityHelper | DataAbilityHelper | call(uri: string, method: string, arg: string, extras: PacMap, callback: AsyncCallback\<PacMap>): void;<br>call(uri: string, method: string, arg: string, extras: PacMap): Promise\<PacMap>; | Added|
| ohos.application.Want | Want | entities?: Array\<string>; | Added|
| ohos.application.Want | Want | parameters?: {[key: string]: any}; | Added|
| ohos.application.Want | Want | action?: string; | Added|
| ohos.application.Want | Want | flags?: number; | Added|
......@@ -59,8 +59,8 @@ The table below lists the APIs changes of the ability framework in OpenHarmony 3
| ohos.application.Want | Want | deviceId?: string; | Added|
| ohos.application.testRunner | TestRunner | onRun(): void; | Added|
| ohos.application.testRunner | TestRunner | onPrepare(): void; | Added|
| ohos.application.formProvider | formProvider | function updateForm(formId: string, formBindingData: formBindingData.FormBindingData, callback: AsyncCallback<void>): void;<br>function updateForm(formId: string, formBindingData: formBindingData.FormBindingData): Promise<void>; | Added|
| ohos.application.formProvider | formProvider | function setFormNextRefreshTime(formId: string, minute: number, callback: AsyncCallback<void>): void;<br>function setFormNextRefreshTime(formId: string, minute: number): Promise<void>; | Added|
| ohos.application.formProvider | formProvider | updateForm(formId: string, formBindingData: formBindingData.FormBindingData, callback: AsyncCallback\<void>): void;<br>updateForm(formId: string, formBindingData: formBindingData.FormBindingData): Promise\<void>; | Added|
| ohos.application.formProvider | formProvider | setFormNextRefreshTime(formId: string, minute: number, callback: AsyncCallback\<void>): void;<br>setFormNextRefreshTime(formId: string, minute: number): Promise\<void>; | Added|
| ohos.application.formInfo | FormParam | TEMPORARY_KEY = "ohos.extra.param.key.form_temporary" | Added|
| ohos.application.formInfo | FormParam | HEIGHT_KEY = "ohos.extra.param.key.form_height" | Added|
| ohos.application.formInfo | FormParam | WIDTH_KEY = "ohos.extra.param.key.form_width" | Added|
......@@ -77,7 +77,7 @@ The table below lists the APIs changes of the ability framework in OpenHarmony 3
| ohos.application.formInfo | ColorMode | MODE_AUTO = -1 | Added|
| ohos.application.formInfo | FormType | JS = 1 | Added|
| ohos.application.formInfo | FormInfo | customizeData: {[key: string]: [value: string]}; | Added|
| ohos.application.formInfo | FormInfo | supportDimensions: Array<number>; | Added|
| ohos.application.formInfo | FormInfo | supportDimensions: Array\<number>; | Added|
| ohos.application.formInfo | FormInfo | defaultDimension: number; | Added|
| ohos.application.formInfo | FormInfo | updateDuration: number; | Added|
| ohos.application.formInfo | FormInfo | formConfigAbility: string; | Added|
......@@ -117,42 +117,42 @@ The table below lists the APIs changes of the ability framework in OpenHarmony 3
| ohos.application.formError | FormError | ERR_PERMISSION_DENY = 2 | Added|
| ohos.application.formError | FormError | ERR_COMMON = 1 | Added|
| ohos.application.formBindingData | FormBindingData | data: Object | Added|
| ohos.application.formBindingData | formBindingData | function createFormBindingData(obj?: Object \| string): FormBindingData; | Added|
| ohos.application.formBindingData | formBindingData | createFormBindingData(obj?: Object \| string): FormBindingData; | Added|
| ohos.application.ConfigurationConstant | ColorMode | COLOR_MODE_LIGHT = 1 | Added|
| ohos.application.ConfigurationConstant | ColorMode | COLOR_MODE_DARK = 0 | Added|
| ohos.application.ConfigurationConstant | ColorMode | COLOR_MODE_NOT_SET = -1 | Added|
| ohos.application.Configuration | Configuration | colorMode: ConfigurationConstant.ColorMode; | Added|
| ohos.application.Configuration | Configuration | language: string; | Added|
| ohos.application.appManager | appManager | function getAppMemorySize(): Promise<number>;<br>function getAppMemorySize(callback: AsyncCallback<number>): void; | Added|
| ohos.application.appManager | appManager | function isRamConstrainedDevice(): Promise<boolean>;<br>function isRamConstrainedDevice(callback: AsyncCallback<boolean>): void; | Added|
| ohos.application.appManager | appManager | function getProcessRunningInfos(): Promise<Array<ProcessRunningInfo>>;<br>function getProcessRunningInfos(callback: AsyncCallback<Array<ProcessRunningInfo>>): void; | Added|
| ohos.application.appManager | appManager | function isRunningInStabilityTest(callback: AsyncCallback<boolean>): void;<br>function isRunningInStabilityTest(): Promise<boolean>; | Added|
| ohos.application.appManager | appManager | getAppMemorySize(): Promise\<number>;<br>getAppMemorySize(callback: AsyncCallback\<number>): void; | Added|
| ohos.application.appManager | appManager | isRamConstrainedDevice(): Promise\<boolean>;<br>isRamConstrainedDevice(callback: AsyncCallback\<boolean>): void; | Added|
| ohos.application.appManager | appManager | getProcessRunningInfos(): Promise\<Array\<ProcessRunningInfo>>;<br>getProcessRunningInfos(callback: AsyncCallback\<Array\<ProcessRunningInfo>>): void; | Added|
| ohos.application.appManager | appManager | isRunningInStabilityTest(callback: AsyncCallback\<boolean>): void;<br>isRunningInStabilityTest(): Promise\<boolean>; | Added|
| ohos.application.abilityDelegatorRegistry | AbilityLifecycleState | DESTROY | Added|
| ohos.application.abilityDelegatorRegistry | AbilityLifecycleState | BACKGROUND | Added|
| ohos.application.abilityDelegatorRegistry | AbilityLifecycleState | FOREGROUND | Added|
| ohos.application.abilityDelegatorRegistry | AbilityLifecycleState | CREATE | Added|
| ohos.application.abilityDelegatorRegistry | AbilityLifecycleState | UNINITIALIZED | Added|
| ohos.application.abilityDelegatorRegistry | abilityDelegatorRegistry | function getArguments(): AbilityDelegatorArgs; | Added|
| ohos.application.abilityDelegatorRegistry | abilityDelegatorRegistry | function getAbilityDelegator(): AbilityDelegator; | Added|
| ohos.application.abilityDelegatorRegistry | abilityDelegatorRegistry | getArguments(): AbilityDelegatorArgs; | Added|
| ohos.application.abilityDelegatorRegistry | abilityDelegatorRegistry | getAbilityDelegator(): AbilityDelegator; | Added|
| ohos.abilityAccessCtrl | GrantStatus | PERMISSION_GRANTED = 0 | Added|
| ohos.abilityAccessCtrl | GrantStatus | PERMISSION_DENIED = -1 | Added|
| ohos.abilityAccessCtrl | AtManager | verifyAccessToken(tokenID: number, permissionName: string): Promise<GrantStatus>; | Added|
| ohos.abilityAccessCtrl | abilityAccessCtrl | function createAtManager(): AtManager; | Added|
| ohos.abilityAccessCtrl | AtManager | verifyAccessToken(tokenID: number, permissionName: string): Promise\<GrantStatus>; | Added|
| ohos.abilityAccessCtrl | abilityAccessCtrl | createAtManager(): AtManager; | Added|
| ohos.ability.wantConstant | Action | ACTION_APP_ACCOUNT_OAUTH = "ohos.account.appAccount.action.oauth" | Added|
| ohos.ability.wantConstant | Action | ACTION_VIDEO_CAPTURE = "ohos.want.action.videoCapture" | Added|
| ohos.ability.wantConstant | Action | ACTION_IMAGE_CAPTURE = "ohos.want.action.imageCapture" | Added|
| ohos.ability.particleAbility | ErrorCode | INVALID_PARAMETER = -1 | Added|
| ohos.ability.particleAbility | particleAbility | function disconnectAbility(connection: number, callback:AsyncCallback<void>): void;<br>function disconnectAbility(connection: number): Promise<void>; | Added|
| ohos.ability.particleAbility | particleAbility | function connectAbility(request: Want, options:ConnectOptions): number; | Added|
| ohos.ability.particleAbility | particleAbility | function cancelBackgroundRunning(callback: AsyncCallback<void>): void;<br>function cancelBackgroundRunning(): Promise<void>; | Added|
| ohos.ability.particleAbility | particleAbility | function startBackgroundRunning(id: number, request: NotificationRequest, callback: AsyncCallback<void>): void;<br>function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>; | Added|
| ohos.ability.featureAbility | featureAbility | function getWindow(callback: AsyncCallback<window.Window>): void;<br>function getWindow(): Promise<window.Window>; | Added|
| ohos.ability.particleAbility | particleAbility | disconnectAbility(connection: number, callback:AsyncCallback\<void>): void;<br>disconnectAbility(connection: number): Promise\<void>; | Added|
| ohos.ability.particleAbility | particleAbility | connectAbility(request: Want, options:ConnectOptions): number; | Added|
| ohos.ability.particleAbility | particleAbility | cancelBackgroundRunning(callback: AsyncCallback\<void>): void;<br>cancelBackgroundRunning(): Promise\<void>; | Added|
| ohos.ability.particleAbility | particleAbility | startBackgroundRunning(id: number, request: NotificationRequest, callback: AsyncCallback\<void>): void;<br>startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>; | Added|
| ohos.ability.featureAbility | featureAbility | getWindow(callback: AsyncCallback\<window.Window>): void;<br>getWindow(): Promise\<window.Window>; | Added|
| ohos.ability.errorCode | ErrorCode | NO_ERROR = 0 | Added|
| ohos.ability.errorCode | ErrorCode | INVALID_PARAMETER = -1 | Added|
| ohos.ability.errorCode | ErrorCode | ABILITY_NOT_FOUND = -2 | Added|
| ohos.ability.errorCode | ErrorCode | PERMISSION_DENY = -3 | Added|
| lifecycle | LifecycleData | call?(method: string, arg: string, extras: PacMap, callback: AsyncCallback<PacMap>): void; | Added|
| lifecycle | LifecycleData | executeBatch?(ops: Array<DataAbilityOperation>, callback: AsyncCallback<Array<DataAbilityResult>>): void; | Added|
| lifecycle | LifecycleData | call?(method: string, arg: string, extras: PacMap, callback: AsyncCallback\<PacMap>): void; | Added|
| lifecycle | LifecycleData | executeBatch?(ops: Array\<DataAbilityOperation>, callback: AsyncCallback\<Array\<DataAbilityResult>>): void; | Added|
| lifecycle | LifecycleService | onReconnect?(want: Want): void; | Added|
| lifecycle | LifecycleApp | onMemoryLevel?(level: number): void; | Added|
| lifecycle | LifecycleApp | onNewWant?(want: Want): void; | Added|
......
......@@ -11,7 +11,7 @@ The table below lists the APIs changes of the accessibility subsystem in OpenHar
| ohos.accessibility | EventInfo | currentIndex?: number; | Added|
| ohos.accessibility | EventInfo | beginIndex?: number; | Added|
| ohos.accessibility | EventInfo | lastContent?: string; | Added|
| ohos.accessibility | EventInfo | contents?: Array<string>; | Added|
| ohos.accessibility | EventInfo | contents?: Array\<string>; | Added|
| ohos.accessibility | EventInfo | textMoveUnit?: TextMoveUnit; | Added|
| ohos.accessibility | EventInfo | triggerAction: Action; | Added|
| ohos.accessibility | EventInfo | description?: string; | Added|
......@@ -21,10 +21,10 @@ The table below lists the APIs changes of the accessibility subsystem in OpenHar
| ohos.accessibility | EventInfo | windowUpdateType?: WindowUpdateType; | Added|
| ohos.accessibility | EventInfo | type: EventType; | Added|
| ohos.accessibility | EventInfo | constructor(jsonObject); | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly eventTypes: Array<EventType>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly eventTypes: Array\<EventType>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly description: string; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly capabilities: Array<Capability>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly abilityTypes: Array<AbilityType>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly capabilities: Array\<Capability>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly abilityTypes: Array\<AbilityType>; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly bundleName: string; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly name: string; | Added|
| ohos.accessibility | AccessibilityAbilityInfo | readonly id: string; | Added|
......@@ -34,18 +34,18 @@ The table below lists the APIs changes of the accessibility subsystem in OpenHar
| ohos.accessibility | CaptionsStyle | fontColor: number \| string; | Added|
| ohos.accessibility | CaptionsStyle | fontScale: number; | Added|
| ohos.accessibility | CaptionsStyle | fontFamily: CaptionsFontFamily; | Added|
| ohos.accessibility | CaptionsManager | off(type: 'styleChange', callback?: Callback<CaptionsStyle>): void; | Added|
| ohos.accessibility | CaptionsManager | off(type: 'enableChange', callback?: Callback<boolean>): void; | Added|
| ohos.accessibility | CaptionsManager | on(type: 'styleChange', callback: Callback<CaptionsStyle>): void; | Added|
| ohos.accessibility | CaptionsManager | on(type: 'enableChange', callback: Callback<boolean>): void; | Added|
| ohos.accessibility | CaptionsManager | off(type: 'styleChange', callback?: Callback\<CaptionsStyle>): void; | Added|
| ohos.accessibility | CaptionsManager | off(type: 'enableChange', callback?: Callback\<boolean>): void; | Added|
| ohos.accessibility | CaptionsManager | on(type: 'styleChange', callback: Callback\<CaptionsStyle>): void; | Added|
| ohos.accessibility | CaptionsManager | on(type: 'enableChange', callback: Callback\<boolean>): void; | Added|
| ohos.accessibility | CaptionsManager | style: CaptionsStyle; | Added|
| ohos.accessibility | CaptionsManager | enabled: boolean; | Added|
| ohos.accessibility | accessibility | function getCaptionsManager(): CaptionsManager; | Added|
| ohos.accessibility | accessibility | function off(type: 'touchGuideStateChange', callback?: Callback<boolean>): void; | Added|
| ohos.accessibility | accessibility | function off(type: 'accessibilityStateChange', callback?: Callback<boolean>): void; | Added|
| ohos.accessibility | accessibility | function on(type: 'touchGuideStateChange', callback: Callback<boolean>): void; | Added|
| ohos.accessibility | accessibility | function on(type: 'accessibilityStateChange', callback: Callback<boolean>): void; | Added|
| ohos.accessibility | accessibility | function sendEvent(event: EventInfo, callback: AsyncCallback<void>): void;<br>function sendEvent(event: EventInfo): Promise<void>; | Added|
| ohos.accessibility | accessibility | function getAbilityLists(abilityType: AbilityType, stateType: AbilityState, callback: AsyncCallback<Array<AccessibilityAbilityInfo>>): void;<br>function getAbilityLists(abilityType: AbilityType, stateType: AbilityState): Promise<Array<AccessibilityAbilityInfo>>; | Added|
| ohos.accessibility | accessibility | function isOpenTouchGuide(callback: AsyncCallback<boolean>): void;<br>function isOpenTouchGuide(): Promise<boolean>; | Added|
| ohos.accessibility | accessibility | function isOpenAccessibility(callback: AsyncCallback<boolean>): void;<br>function isOpenAccessibility(): Promise<boolean>; | Added|
| ohos.accessibility | accessibility | getCaptionsManager(): CaptionsManager; | Added|
| ohos.accessibility | accessibility | off(type: 'touchGuideStateChange', callback?: Callback\<boolean>): void; | Added|
| ohos.accessibility | accessibility | off(type: 'accessibilityStateChange', callback?: Callback\<boolean>): void; | Added|
| ohos.accessibility | accessibility | on(type: 'touchGuideStateChange', callback: Callback\<boolean>): void; | Added|
| ohos.accessibility | accessibility | on(type: 'accessibilityStateChange', callback: Callback\<boolean>): void; | Added|
| ohos.accessibility | accessibility | sendEvent(event: EventInfo, callback: AsyncCallback\<void>): void;<br>sendEvent(event: EventInfo): Promise\<void>; | Added|
| ohos.accessibility | accessibility | getAbilityLists(abilityType: AbilityType, stateType: AbilityState, callback: AsyncCallback\<Array\<AccessibilityAbilityInfo>>): void;<br>getAbilityLists(abilityType: AbilityType, stateType: AbilityState): Promise\<Array\<AccessibilityAbilityInfo>>; | Added|
| ohos.accessibility | accessibility | isOpenTouchGuide(callback: AsyncCallback\<boolean>): void;<br>isOpenTouchGuide(): Promise\<boolean>; | Added|
| ohos.accessibility | accessibility | isOpenAccessibility(callback: AsyncCallback\<boolean>): void;<br>isOpenAccessibility(): Promise\<boolean>; | Added|
......@@ -20,27 +20,27 @@ The table below lists the APIs changes of the account subsystem in OpenHarmony 3
| ohos.account.osAccount | OsAccountInfo | createTime: number; | Added|
| ohos.account.osAccount | OsAccountInfo | photo: string; | Added|
| ohos.account.osAccount | OsAccountInfo | isVerified: boolean; | Added|
| ohos.account.osAccount | OsAccountInfo | constraints: Array<string>; | Added|
| ohos.account.osAccount | OsAccountInfo | constraints: Array\<string>; | Added|
| ohos.account.osAccount | OsAccountInfo | type: OsAccountType; | Added|
| ohos.account.osAccount | OsAccountInfo | localName: string; | Added|
| ohos.account.osAccount | OsAccountInfo | localId: number; | Added|
| ohos.account.osAccount | AccountManager | getSerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;<br>getSerialNumberByOsAccountLocalId(localId: number): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;<br>getOsAccountLocalIdBySerialNumber(serialNumber: number): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | getDistributedVirtualDeviceId(callback: AsyncCallback<string>): void;<br>getDistributedVirtualDeviceId(): Promise<string>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountTypeFromProcess(callback: AsyncCallback<OsAccountType>): void;<br>getOsAccountTypeFromProcess(): Promise<OsAccountType>; | Added|
| ohos.account.osAccount | AccountManager | queryCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void;<br>queryCurrentOsAccount(): Promise<OsAccountInfo>; | Added|
| ohos.account.osAccount | AccountManager | queryActivatedOsAccountIds(callback: AsyncCallback<Array<number>>): void;<br>queryActivatedOsAccountIds(): Promise<Array<number>>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountAllConstraints(localId: number, callback: AsyncCallback<Array<string>>): void;<br>getOsAccountAllConstraints(localId: number): Promise<Array<string>>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;<br>getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback<number>): void;<br>getOsAccountLocalIdFromUid(uid: number): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromProcess(callback: AsyncCallback<number>): void;<br>getOsAccountLocalIdFromProcess(): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | getCreatedOsAccountsCount(callback: AsyncCallback<number>): void;<br>getCreatedOsAccountsCount(): Promise<number>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountVerified(callback: AsyncCallback<boolean>): void;<br>isOsAccountVerified(localId: number, callback: AsyncCallback<boolean>): void;<br>isOsAccountVerified(localId?: number): Promise<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isTestOsAccount(callback: AsyncCallback<boolean>): void;<br>isTestOsAccount(): Promise<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountConstraintEnable(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;<br>isOsAccountConstraintEnable(localId: number, constraint: string): Promise<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountActived(localId: number, callback: AsyncCallback<boolean>): void;<br>isOsAccountActived(localId: number): Promise<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isMultiOsAccountEnable(callback: AsyncCallback<boolean>): void;<br>isMultiOsAccountEnable(): Promise<boolean>; | Added|
| ohos.account.osAccount | osAccount | function getAccountManager(): AccountManager; | Added|
| ohos.account.osAccount | AccountManager | getSerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback\<number>): void;<br>getSerialNumberByOsAccountLocalId(localId: number): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback\<number>): void;<br>getOsAccountLocalIdBySerialNumber(serialNumber: number): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | getDistributedVirtualDeviceId(callback: AsyncCallback\<string>): void;<br>getDistributedVirtualDeviceId(): Promise\<string>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountTypeFromProcess(callback: AsyncCallback\<OsAccountType>): void;<br>getOsAccountTypeFromProcess(): Promise\<OsAccountType>; | Added|
| ohos.account.osAccount | AccountManager | queryCurrentOsAccount(callback: AsyncCallback\<OsAccountInfo>): void;<br>queryCurrentOsAccount(): Promise\<OsAccountInfo>; | Added|
| ohos.account.osAccount | AccountManager | queryActivatedOsAccountIds(callback: AsyncCallback\<Array\<number>>): void;<br>queryActivatedOsAccountIds(): Promise\<Array\<number>>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountAllConstraints(localId: number, callback: AsyncCallback\<Array\<string>>): void;<br>getOsAccountAllConstraints(localId: number): Promise\<Array\<string>>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback\<number>): void;<br>getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback\<number>): void;<br>getOsAccountLocalIdFromUid(uid: number): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | getOsAccountLocalIdFromProcess(callback: AsyncCallback\<number>): void;<br>getOsAccountLocalIdFromProcess(): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | getCreatedOsAccountsCount(callback: AsyncCallback\<number>): void;<br>getCreatedOsAccountsCount(): Promise\<number>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountVerified(callback: AsyncCallback\<boolean>): void;<br>isOsAccountVerified(localId: number, callback: AsyncCallback\<boolean>): void;<br>isOsAccountVerified(localId?: number): Promise\<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isTestOsAccount(callback: AsyncCallback\<boolean>): void;<br>isTestOsAccount(): Promise\<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountConstraintEnable(localId: number, constraint: string, callback: AsyncCallback\<boolean>): void;<br>isOsAccountConstraintEnable(localId: number, constraint: string): Promise\<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isOsAccountActived(localId: number, callback: AsyncCallback\<boolean>): void;<br>isOsAccountActived(localId: number): Promise\<boolean>; | Added|
| ohos.account.osAccount | AccountManager | isMultiOsAccountEnable(callback: AsyncCallback\<boolean>): void;<br>isMultiOsAccountEnable(): Promise\<boolean>; | Added|
| ohos.account.osAccount | osAccount | getAccountManager(): AccountManager; | Added|
| ohos.account.appAccount | Authenticator | authenticate(name: string, authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void; | Added|
| ohos.account.appAccount | Authenticator | addAccountImplicitly(authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void; | Added|
| ohos.account.appAccount | AuthenticatorCallback | onRequestRedirected: (request: Want) => void; | Added|
......@@ -82,31 +82,31 @@ The table below lists the APIs changes of the account subsystem in OpenHarmony 3
| ohos.account.appAccount | OAuthTokenInfo | authType: string; | Added|
| ohos.account.appAccount | AppAccountInfo | name: string; | Added|
| ohos.account.appAccount | AppAccountInfo | owner: string; | Added|
| ohos.account.appAccount | AppAccountManager | getAuthenticatorInfo(owner: string, callback: AsyncCallback<AuthenticatorInfo>): void;<br>getAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo>; | Added|
| ohos.account.appAccount | AppAccountManager | getAuthenticatorCallback(sessionId: string, callback: AsyncCallback<AuthenticatorCallback>): void;<br>getAuthenticatorCallback(sessionId: string): Promise<AuthenticatorCallback>; | Added|
| ohos.account.appAccount | AppAccountManager | getOAuthList(name: string, authType: string, callback: AsyncCallback<Array<string>>): void;<br>getOAuthList(name: string, authType: string): Promise<Array<string>>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllOAuthTokens(name: string, owner: string, callback: AsyncCallback<Array<OAuthTokenInfo>>): void;<br>getAllOAuthTokens(name: string, owner: string): Promise<Array<OAuthTokenInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | checkOAuthTokenVisibility(name: string, authType: string, bundleName: string, callback: AsyncCallback<boolean>): void;<br>checkOAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise<boolean>; | Added|
| ohos.account.appAccount | AppAccountManager | setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;<br>setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | deleteOAuthToken(name: string, owner: string, authType: string, token: string, callback: AsyncCallback<void>): void;<br>deleteOAuthToken(name: string, owner: string, authType: string, token: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setOAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void;<br>setOAuthToken(name: string, authType: string, token: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | getOAuthToken(name: string, owner: string, authType: string, callback: AsyncCallback<string>): void;<br>getOAuthToken(name: string, owner: string, authType: string): Promise<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAuthenticatorInfo(owner: string, callback: AsyncCallback\<AuthenticatorInfo>): void;<br>getAuthenticatorInfo(owner: string): Promise\<AuthenticatorInfo>; | Added|
| ohos.account.appAccount | AppAccountManager | getAuthenticatorCallback(sessionId: string, callback: AsyncCallback\<AuthenticatorCallback>): void;<br>getAuthenticatorCallback(sessionId: string): Promise\<AuthenticatorCallback>; | Added|
| ohos.account.appAccount | AppAccountManager | getOAuthList(name: string, authType: string, callback: AsyncCallback\<Array\<string>>): void;<br>getOAuthList(name: string, authType: string): Promise\<Array\<string>>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllOAuthTokens(name: string, owner: string, callback: AsyncCallback\<Array\<OAuthTokenInfo>>): void;<br>getAllOAuthTokens(name: string, owner: string): Promise\<Array\<OAuthTokenInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | checkOAuthTokenVisibility(name: string, authType: string, bundleName: string, callback: AsyncCallback\<boolean>): void;<br>checkOAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise\<boolean>; | Added|
| ohos.account.appAccount | AppAccountManager | setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback\<void>): void;<br>setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | deleteOAuthToken(name: string, owner: string, authType: string, token: string, callback: AsyncCallback\<void>): void;<br>deleteOAuthToken(name: string, owner: string, authType: string, token: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setOAuthToken(name: string, authType: string, token: string, callback: AsyncCallback\<void>): void;<br>setOAuthToken(name: string, authType: string, token: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | getOAuthToken(name: string, owner: string, authType: string, callback: AsyncCallback\<string>): void;<br>getOAuthToken(name: string, owner: string, authType: string): Promise\<string>; | Added|
| ohos.account.appAccount | AppAccountManager | authenticate(name: string, owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void; | Added|
| ohos.account.appAccount | AppAccountManager | off(type: 'change', callback?: Callback<Array<AppAccountInfo>>): void; | Added|
| ohos.account.appAccount | AppAccountManager | on(type: 'change', owners: Array<string>, callback: Callback<Array<AppAccountInfo>>): void; | Added|
| ohos.account.appAccount | AppAccountManager | getAssociatedData(name: string, key: string, callback: AsyncCallback<string>): void;<br>getAssociatedData(name: string, key: string): Promise<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAccountExtraInfo(name: string, callback: AsyncCallback<string>): void;<br>getAccountExtraInfo(name: string): Promise<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAccountCredential(name: string, credentialType: string, callback: AsyncCallback<string>): void;<br>getAccountCredential(name: string, credentialType: string): Promise<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllAccounts(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>getAllAccounts(owner: string): Promise<Array<AppAccountInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllAccessibleAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>getAllAccessibleAccounts(): Promise<Array<AppAccountInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;<br>setAssociatedData(name: string, key: string, value: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback<void>): void;<br>setAppAccountSyncEnable(name: string, isEnable: boolean): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback<void>): void;<br>setAccountExtraInfo(name: string, extraInfo: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAccountCredential(name: string, credentialType: string, credential: string, callback: AsyncCallback<void>): void;<br>setAccountCredential(name: string, credentialType: string, credential: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | checkAppAccountSyncEnable(name: string, callback: AsyncCallback<boolean>): void;<br>checkAppAccountSyncEnable(name: string): Promise<boolean>; | Added|
| ohos.account.appAccount | AppAccountManager | enableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;<br>enableAppAccess(name: string, bundleName: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | disableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;<br>disableAppAccess(name: string, bundleName: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | deleteAccount(name: string, callback: AsyncCallback<void>): void;<br>deleteAccount(name: string): Promise<void>; | Added|
| ohos.account.appAccount | AppAccountManager | off(type: 'change', callback?: Callback\<Array\<AppAccountInfo>>): void; | Added|
| ohos.account.appAccount | AppAccountManager | on(type: 'change', owners: Array\<string>, callback: Callback\<Array\<AppAccountInfo>>): void; | Added|
| ohos.account.appAccount | AppAccountManager | getAssociatedData(name: string, key: string, callback: AsyncCallback\<string>): void;<br>getAssociatedData(name: string, key: string): Promise\<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAccountExtraInfo(name: string, callback: AsyncCallback\<string>): void;<br>getAccountExtraInfo(name: string): Promise\<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAccountCredential(name: string, credentialType: string, callback: AsyncCallback\<string>): void;<br>getAccountCredential(name: string, credentialType: string): Promise\<string>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllAccounts(owner: string, callback: AsyncCallback\<Array\<AppAccountInfo>>): void;<br>getAllAccounts(owner: string): Promise\<Array\<AppAccountInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | getAllAccessibleAccounts(callback: AsyncCallback\<Array\<AppAccountInfo>>): void;<br>getAllAccessibleAccounts(): Promise\<Array\<AppAccountInfo>>; | Added|
| ohos.account.appAccount | AppAccountManager | setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback\<void>): void;<br>setAssociatedData(name: string, key: string, value: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback\<void>): void;<br>setAppAccountSyncEnable(name: string, isEnable: boolean): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback\<void>): void;<br>setAccountExtraInfo(name: string, extraInfo: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | setAccountCredential(name: string, credentialType: string, credential: string, callback: AsyncCallback\<void>): void;<br>setAccountCredential(name: string, credentialType: string, credential: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | checkAppAccountSyncEnable(name: string, callback: AsyncCallback\<boolean>): void;<br>checkAppAccountSyncEnable(name: string): Promise\<boolean>; | Added|
| ohos.account.appAccount | AppAccountManager | enableAppAccess(name: string, bundleName: string, callback: AsyncCallback\<void>): void;<br>enableAppAccess(name: string, bundleName: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | disableAppAccess(name: string, bundleName: string, callback: AsyncCallback\<void>): void;<br>disableAppAccess(name: string, bundleName: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | deleteAccount(name: string, callback: AsyncCallback\<void>): void;<br>deleteAccount(name: string): Promise\<void>; | Added|
| ohos.account.appAccount | AppAccountManager | addAccountImplicitly(owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void; | Added|
| ohos.account.appAccount | AppAccountManager | addAccount(name: string, callback: AsyncCallback<void>): void;<br>addAccount(name: string, extraInfo: string, callback: AsyncCallback<void>): void;<br>addAccount(name: string, extraInfo?: string): Promise<void>; | Added|
| ohos.account.appAccount | appAccount | function createAppAccountManager(): AppAccountManager; | Added|
| ohos.account.appAccount | AppAccountManager | addAccount(name: string, callback: AsyncCallback\<void>): void;<br>addAccount(name: string, extraInfo: string, callback: AsyncCallback\<void>): void;<br>addAccount(name: string, extraInfo?: string): Promise\<void>; | Added|
| ohos.account.appAccount | appAccount | createAppAccountManager(): AppAccountManager; | Added|
......@@ -6,9 +6,9 @@ The table below lists the APIs changes of the power management subsystem in Open
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.thermal | thermal | function getThermalLevel(): ThermalLevel; | Added|
| ohos.thermal | thermal | function unsubscribeThermalLevel(callback?: AsyncCallback<void>): void; | Added|
| ohos.thermal | thermal | function subscribeThermalLevel(callback: AsyncCallback<ThermalLevel>): void; | Added|
| ohos.thermal | thermal | getThermalLevel(): ThermalLevel; | Added|
| ohos.thermal | thermal | unsubscribeThermalLevel(callback?: AsyncCallback\<void>): void; | Added|
| ohos.thermal | thermal | subscribeThermalLevel(callback: AsyncCallback\<ThermalLevel>): void; | Added|
| ohos.thermal | ThermalLevel | EMERGENCY = 6 | Added|
| ohos.thermal | ThermalLevel | WARNING = 5 | Added|
| ohos.thermal | ThermalLevel | OVERHEATED = 4 | Added|
......@@ -16,5 +16,5 @@ The table below lists the APIs changes of the power management subsystem in Open
| ohos.thermal | ThermalLevel | WARM = 2 | Added|
| ohos.thermal | ThermalLevel | NORMAL = 1 | Added|
| ohos.thermal | ThermalLevel | COOL = 0 | Added|
| ohos.runninglock | runningLock | function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void;<br>function createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>; | Added|
| ohos.runninglock | runningLock | function isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void;<br>function isRunningLockTypeSupported(type: RunningLockType): Promise<boolean>; | Added|
| ohos.runninglock | runningLock | createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback\<RunningLock>): void;<br>createRunningLock(name: string, type: RunningLockType): Promise\<RunningLock>; | Added|
| ohos.runninglock | runningLock | isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback\<boolean>): void;<br>isRunningLockTypeSupported(type: RunningLockType): Promise\<boolean>; | Added|
......@@ -14,13 +14,13 @@ The table below lists the APIs changes of the bundle management framework in Ope
| launcherAbilityInfo | LauncherAbilityInfo | readonly labelId: number; | Added|
| launcherAbilityInfo | LauncherAbilityInfo | readonly elementName : ElementName; | Added|
| launcherAbilityInfo | LauncherAbilityInfo | readonly applicationInfo: ApplicationInfo; | Added|
| bundleInfo | BundleInfo | readonly reqPermissionStates: Array<number>; | Added|
| bundleInfo | BundleInfo | readonly hapModuleInfos: Array<HapModuleInfo>; | Added|
| bundleInfo | BundleInfo | readonly abilityInfos: Array<AbilityInfo>; | Added|
| bundleInfo | BundleInfo | readonly reqPermissionStates: Array\<number>; | Added|
| bundleInfo | BundleInfo | readonly hapModuleInfos: Array\<HapModuleInfo>; | Added|
| bundleInfo | BundleInfo | readonly abilityInfos: Array\<AbilityInfo>; | Added|
| abilityInfo | AbilityInfo | readonly enabled: boolean; | Added|
| abilityInfo | AbilityInfo | readonly metaData: Array<CustomizeData>; | Added|
| ohos.zlib | zlib | function unzipFile(inFile:string, outFile:string, options: Options): Promise<void>; | Added|
| ohos.zlib | zlib | function zipFile(inFile:string, outFile:string, options: Options): Promise<void>; | Added|
| abilityInfo | AbilityInfo | readonly metaData: Array\<CustomizeData>; | Added|
| ohos.zlib | zlib | unzipFile(inFile:string, outFile:string, options: Options): Promise\<void>; | Added|
| ohos.zlib | zlib | zipFile(inFile:string, outFile:string, options: Options): Promise\<void>; | Added|
| ohos.zlib | Options | strategy?: CompressStrategy; | Added|
| ohos.zlib | Options | memLevel?: MemLevel; | Added|
| ohos.zlib | Options | level?: CompressLevel; | Added|
......@@ -38,12 +38,12 @@ The table below lists the APIs changes of the bundle management framework in Ope
| ohos.zlib | CompressLevel | COMPRESS_LEVEL_NO_COMPRESSION = 0 | Added|
| ohos.zlib | ErrorCode | ERROR_CODE_ERRNO = -1 | Added|
| ohos.zlib | ErrorCode | ERROR_CODE_OK = 0 | Added|
| ohos.bundle | bundle | function isApplicationEnabled(bundleName: string, callback: AsyncCallback<boolean>): void;<br>function isApplicationEnabled(bundleName: string): Promise<boolean>; | Added|
| ohos.bundle | bundle | function isAbilityEnabled(info: AbilityInfo, callback: AsyncCallback<boolean>): void;<br>function isAbilityEnabled(info: AbilityInfo): Promise<boolean>; | Added|
| ohos.bundle | bundle | function getAbilityIcon(bundleName: string, abilityName: string, callback: AsyncCallback<image.PixelMap>): void;<br>function getAbilityIcon(bundleName: string, abilityName: string): Promise<image.PixelMap>; | Added|
| ohos.bundle | bundle | function getAbilityLabel(bundleName: string, abilityName: string, callback: AsyncCallback<string>): void;<br>function getAbilityLabel(bundleName: string, abilityName: string): Promise<string>; | Added|
| ohos.bundle | bundle | function getNameForUid(uid: number, callback: AsyncCallback<string>) : void<br>function getNameForUid(uid: number) : Promise<string>; | Added|
| ohos.bundle | bundle | function getAbilityInfo(bundleName: string, abilityName: string, callback: AsyncCallback<AbilityInfo>): void;<br>function getAbilityInfo(bundleName: string, abilityName: string): Promise<AbilityInfo>; | Added|
| ohos.bundle | bundle | isApplicationEnabled(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>isApplicationEnabled(bundleName: string): Promise\<boolean>; | Added|
| ohos.bundle | bundle | isAbilityEnabled(info: AbilityInfo, callback: AsyncCallback\<boolean>): void;<br>isAbilityEnabled(info: AbilityInfo): Promise\<boolean>; | Added|
| ohos.bundle | bundle | getAbilityIcon(bundleName: string, abilityName: string, callback: AsyncCallback\<image.PixelMap>): void;<br>getAbilityIcon(bundleName: string, abilityName: string): Promise\<image.PixelMap>; | Added|
| ohos.bundle | bundle | getAbilityLabel(bundleName: string, abilityName: string, callback: AsyncCallback\<string>): void;<br>getAbilityLabel(bundleName: string, abilityName: string): Promise\<string>; | Added|
| ohos.bundle | bundle | getNameForUid(uid: number, callback: AsyncCallback\<string>) : void<br>getNameForUid(uid: number) : Promise\<string>; | Added|
| ohos.bundle | bundle | getAbilityInfo(bundleName: string, abilityName: string, callback: AsyncCallback\<AbilityInfo>): void;<br>getAbilityInfo(bundleName: string, abilityName: string): Promise\<AbilityInfo>; | Added|
| ohos.bundle | InstallErrorCode | STATUS_UNINSTALL_PERMISSION_DENIED = 0x45 | Added|
| ohos.bundle | InstallErrorCode | STATUS_INSTALL_PERMISSION_DENIED = 0x44 | Added|
| ohos.bundle | InstallErrorCode | STATUS_GRANT_REQUEST_PERMISSIONS_FAILED = 0x43 | Added|
......
......@@ -7,7 +7,7 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| tagSession | TagSession | getMaxSendLength(): number; | Added|
| tagSession | TagSession | sendData(data: number[]): Promise<number[]>;<br>sendData(data: number[], callback: AsyncCallback<number[]>): void; | Added|
| tagSession | TagSession | sendData(data: number[]): Promise\<number[]>;<br>sendData(data: number[], callback: AsyncCallback\<number[]>): void; | Added|
| tagSession | TagSession | getSendDataTimeout(): number; | Added|
| tagSession | TagSession | setSendDataTimeout(timeout: number): boolean; | Added|
| tagSession | TagSession | isTagConnected(): boolean; | Added|
......@@ -25,11 +25,11 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.wifiext | PowerModel | THROUGH_WALL = 2 | Added|
| ohos.wifiext | PowerModel | GENERAL = 1 | Added|
| ohos.wifiext | PowerModel | SLEEPING = 0 | Added|
| ohos.wifiext | wifiext | function setPowerModel(model: PowerModel) : boolean | Added|
| ohos.wifiext | wifiext | function getPowerModel (): Promise<PowerModel>;<br>function getPowerModel (callback: AsyncCallback<PowerModel>): void; | Added|
| ohos.wifiext | wifiext | function getSupportedPowerModel(): Promise<Array<PowerModel>>;<br>function getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>): void; | Added|
| ohos.wifiext | wifiext | function disableHotspot(): boolean; | Added|
| ohos.wifiext | wifiext | function enableHotspot(): boolean; | Added|
| ohos.wifiext | wifiext | setPowerModel(model: PowerModel) : boolean | Added|
| ohos.wifiext | wifiext | getPowerModel (): Promise\<PowerModel>;<br>getPowerModel (callback: AsyncCallback\<PowerModel>): void; | Added|
| ohos.wifiext | wifiext | getSupportedPowerModel(): Promise\<Array\<PowerModel>>;<br>getSupportedPowerModel(callback: AsyncCallback\<Array\<PowerModel>>): void; | Added|
| ohos.wifiext | wifiext | disableHotspot(): boolean; | Added|
| ohos.wifiext | wifiext | enableHotspot(): boolean; | Added|
| ohos.wifi | GroupOwnerBand | GO_BAND_5GHZ = 2 | Added|
| ohos.wifi | GroupOwnerBand | GO_BAND_2GHZ = 1 | Added|
| ohos.wifi | GroupOwnerBand | GO_BAND_AUTO = 0 | Added|
......@@ -90,49 +90,49 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.wifi | WifiLinkedInfo | ssid: string; | Added|
| ohos.wifi | WifiScanInfo | channelWidth: number; | Added|
| ohos.wifi | WifiScanInfo | capabilities: string; | Added|
| ohos.wifi | wifi | function off(type: "p2pDiscoveryChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pDiscoveryChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "p2pPersistentGroupChange", callback?: Callback<void>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pPersistentGroupChange", callback: Callback<void>): void; | Added|
| ohos.wifi | wifi | function off(type: "p2pPeerDeviceChange", callback?: Callback<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pPeerDeviceChange", callback: Callback<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | function off(type: "p2pDeviceChange", callback?: Callback<WifiP2pDevice>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pDeviceChange", callback: Callback<WifiP2pDevice>): void; | Added|
| ohos.wifi | wifi | function off(type: "p2pConnectionChange", callback?: Callback<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pConnectionChange", callback: Callback<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | function off(type: "p2pStateChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "p2pStateChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "hotspotStateChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "hotspotStateChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "wifiRssiChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "wifiRssiChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "wifiScanStateChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "wifiScanStateChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "wifiConnectionChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "wifiConnectionChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function off(type: "wifiStateChange", callback?: Callback<number>): void; | Added|
| ohos.wifi | wifi | function on(type: "wifiStateChange", callback: Callback<number>): void; | Added|
| ohos.wifi | wifi | function stopDiscoverDevices(): boolean; | Added|
| ohos.wifi | wifi | function startDiscoverDevices(): boolean; | Added|
| ohos.wifi | wifi | function p2pCancelConnect(): boolean; | Added|
| ohos.wifi | wifi | function p2pConnect(config: WifiP2PConfig): boolean; | Added|
| ohos.wifi | wifi | function removeGroup(): boolean; | Added|
| ohos.wifi | wifi | function createGroup(config: WifiP2PConfig): boolean; | Added|
| ohos.wifi | wifi | function getP2pPeerDevices(): Promise<WifiP2pDevice[]>;<br>function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | function getCurrentGroup(): Promise<WifiP2pGroupInfo>;<br>function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void; | Added|
| ohos.wifi | wifi | function getP2pLinkedInfo(): Promise<WifiP2pLinkedInfo>;<br>function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | function getCountryCode(): string; | Added|
| ohos.wifi | wifi | function getIpInfo(): IpInfo; | Added|
| ohos.wifi | wifi | function isFeatureSupported(featureId: number): boolean; | Added|
| ohos.wifi | wifi | function isConnected(): boolean; | Added|
| ohos.wifi | wifi | function getLinkedInfo(): Promise<WifiLinkedInfo>;<br>function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void; | Added|
| ohos.wifi | wifi | function removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>;<br>function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void; | Added|
| ohos.wifi | wifi | function addUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>;<br>function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pDiscoveryChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pDiscoveryChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pPersistentGroupChange", callback?: Callback\<void>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pPersistentGroupChange", callback: Callback\<void>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pPeerDeviceChange", callback?: Callback\<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pPeerDeviceChange", callback: Callback\<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pDeviceChange", callback?: Callback\<WifiP2pDevice>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pDeviceChange", callback: Callback\<WifiP2pDevice>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pConnectionChange", callback?: Callback\<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pConnectionChange", callback: Callback\<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | off(type: "p2pStateChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "p2pStateChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "hotspotStateChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "hotspotStateChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "wifiRssiChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "wifiRssiChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "wifiScanStateChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "wifiScanStateChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "wifiConnectionChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "wifiConnectionChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | off(type: "wifiStateChange", callback?: Callback\<number>): void; | Added|
| ohos.wifi | wifi | on(type: "wifiStateChange", callback: Callback\<number>): void; | Added|
| ohos.wifi | wifi | stopDiscoverDevices(): boolean; | Added|
| ohos.wifi | wifi | startDiscoverDevices(): boolean; | Added|
| ohos.wifi | wifi | p2pCancelConnect(): boolean; | Added|
| ohos.wifi | wifi | p2pConnect(config: WifiP2PConfig): boolean; | Added|
| ohos.wifi | wifi | removeGroup(): boolean; | Added|
| ohos.wifi | wifi | createGroup(config: WifiP2PConfig): boolean; | Added|
| ohos.wifi | wifi | getP2pPeerDevices(): Promise\<WifiP2pDevice[]>;<br>getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void; | Added|
| ohos.wifi | wifi | getCurrentGroup(): Promise\<WifiP2pGroupInfo>;<br>getCurrentGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void; | Added|
| ohos.wifi | wifi | getP2pLinkedInfo(): Promise\<WifiP2pLinkedInfo>;<br>getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void; | Added|
| ohos.wifi | wifi | getCountryCode(): string; | Added|
| ohos.wifi | wifi | getIpInfo(): IpInfo; | Added|
| ohos.wifi | wifi | isFeatureSupported(featureId: number): boolean; | Added|
| ohos.wifi | wifi | isConnected(): boolean; | Added|
| ohos.wifi | wifi | getLinkedInfo(): Promise\<WifiLinkedInfo>;<br>getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void; | Added|
| ohos.wifi | wifi | removeUntrustedConfig(config: WifiDeviceConfig): Promise\<boolean>;<br>removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback\<boolean>): void; | Added|
| ohos.wifi | wifi | addUntrustedConfig(config: WifiDeviceConfig): Promise\<boolean>;<br>addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback\<boolean>): void; | Added|
| ohos.nfc.tag | TagInfo | supportedProfiles: number[]; | Added|
| ohos.nfc.tag | tag | function getNfcVTag(tagInfo: TagInfo): NfcVTag | Added|
| ohos.nfc.tag | tag | function getNfcFTag(tagInfo: TagInfo): NfcFTag | Added|
| ohos.nfc.tag | tag | function getNfcBTag(tagInfo: TagInfo): NfcBTag | Added|
| ohos.nfc.tag | tag | function getNfcATag(tagInfo: TagInfo): NfcATag | Added|
| ohos.nfc.tag | tag | getNfcVTag(tagInfo: TagInfo): NfcVTag | Added|
| ohos.nfc.tag | tag | getNfcFTag(tagInfo: TagInfo): NfcFTag | Added|
| ohos.nfc.tag | tag | getNfcBTag(tagInfo: TagInfo): NfcBTag | Added|
| ohos.nfc.tag | tag | getNfcATag(tagInfo: TagInfo): NfcATag | Added|
| ohos.nfc.tag | tag | const MIFARE_ULTRALIGHT = 9; | Added|
| ohos.nfc.tag | tag | const MIFARE_CLASSIC = 8; | Added|
| ohos.nfc.tag | tag | const NDEF = 6; | Added|
......@@ -141,33 +141,33 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.nfc.tag | tag | const ISO_DEP = 3; | Added|
| ohos.nfc.tag | tag | const NFC_B = 2; | Added|
| ohos.nfc.tag | tag | const NFC_A = 1; | Added|
| ohos.nfc.controller | nfcController | function getNfcState(): NfcState | Added|
| ohos.nfc.controller | nfcController | function isNfcOpen(): boolean | Added|
| ohos.nfc.controller | nfcController | function closeNfc(): boolean | Added|
| ohos.nfc.controller | nfcController | function openNfc(): boolean | Added|
| ohos.nfc.controller | nfcController | function off(type: "nfcStateChange", callback?: Callback<NfcState>): void | Added|
| ohos.nfc.controller | nfcController | function on(type: "nfcStateChange", callback: Callback<NfcState>): void | Added|
| ohos.nfc.controller | nfcController | function isNfcAvailable(): boolean | Added|
| ohos.nfc.controller | nfcController | getNfcState(): NfcState | Added|
| ohos.nfc.controller | nfcController | isNfcOpen(): boolean | Added|
| ohos.nfc.controller | nfcController | closeNfc(): boolean | Added|
| ohos.nfc.controller | nfcController | openNfc(): boolean | Added|
| ohos.nfc.controller | nfcController | off(type: "nfcStateChange", callback?: Callback\<NfcState>): void | Added|
| ohos.nfc.controller | nfcController | on(type: "nfcStateChange", callback: Callback\<NfcState>): void | Added|
| ohos.nfc.controller | nfcController | isNfcAvailable(): boolean | Added|
| ohos.nfc.controller | NfcState | STATE_TURNING_OFF = 4 | Added|
| ohos.nfc.controller | NfcState | STATE_ON = 3 | Added|
| ohos.nfc.controller | NfcState | STATE_TURNING_ON = 2 | Added|
| ohos.nfc.controller | NfcState | STATE_OFF = 1 | Added|
| ohos.nfc.cardEmulation | HceService | sendResponse(responseApdu: number[]): void; | Added|
| ohos.nfc.cardEmulation | HceService | on(type: "hceCmd", callback: AsyncCallback<number[]>): void; | Added|
| ohos.nfc.cardEmulation | HceService | on(type: "hceCmd", callback: AsyncCallback\<number[]>): void; | Added|
| ohos.nfc.cardEmulation | HceService | stopHCE(): boolean; | Added|
| ohos.nfc.cardEmulation | HceService | startHCE(aidList: string[]): boolean; | Added|
| ohos.nfc.cardEmulation | cardEmulation | function isSupported(feature: number): boolean; | Added|
| ohos.nfc.cardEmulation | cardEmulation | isSupported(feature: number): boolean; | Added|
| ohos.nfc.cardEmulation | FeatureType | ESE = 2 | Added|
| ohos.nfc.cardEmulation | FeatureType | UICC = 1 | Added|
| ohos.nfc.cardEmulation | FeatureType | HCE = 0 | Added|
| ohos.connectedTag | NfcRfType | NFC_RF_ENTER = 1 | Added|
| ohos.connectedTag | NfcRfType | NFC_RF_LEAVE = 0 | Added|
| ohos.connectedTag | connectedTag | function off(type: "notify", callback?:Callback<number>): void; | Added|
| ohos.connectedTag | connectedTag | function on(type: "notify", callback: Callback<number>): void; | Added|
| ohos.connectedTag | connectedTag | function writeNdefTag(data: string): Promise<void>;<br>function writeNdefTag(data: string, callback: AsyncCallback<void>): void; | Added|
| ohos.connectedTag | connectedTag | function readNdefTag(): Promise<string>;<br>function readNdefTag(callback: AsyncCallback<string>): void; | Added|
| ohos.connectedTag | connectedTag | function uninit(): boolean; | Added|
| ohos.connectedTag | connectedTag | function init(): boolean; | Added|
| ohos.connectedTag | connectedTag | off(type: "notify", callback?:Callback\<number>): void; | Added|
| ohos.connectedTag | connectedTag | on(type: "notify", callback: Callback\<number>): void; | Added|
| ohos.connectedTag | connectedTag | writeNdefTag(data: string): Promise\<void>;<br>writeNdefTag(data: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.connectedTag | connectedTag | readNdefTag(): Promise\<string>;<br>readNdefTag(callback: AsyncCallback\<string>): void; | Added|
| ohos.connectedTag | connectedTag | uninit(): boolean; | Added|
| ohos.connectedTag | connectedTag | init(): boolean; | Added|
| ohos.bluetooth | ProfileId | PROFILE_HANDS_FREE_AUDIO_GATEWAY = 4 | Added|
| ohos.bluetooth | ProfileId | PROFILE_A2DP_SOURCE = 1 | Added|
| ohos.bluetooth | PlayingState | STATE_PLAYING | Added|
......@@ -317,9 +317,9 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.bluetooth | ServiceData | serviceUuid: string; | Added|
| ohos.bluetooth | ManufactureData | manufactureValue: ArrayBuffer; | Added|
| ohos.bluetooth | ManufactureData | manufactureId: number; | Added|
| ohos.bluetooth | AdvertiseData | serviceData: Array<ServiceData>; | Added|
| ohos.bluetooth | AdvertiseData | manufactureData: Array<ManufactureData>; | Added|
| ohos.bluetooth | AdvertiseData | serviceUuids: Array<string>; | Added|
| ohos.bluetooth | AdvertiseData | serviceData: Array\<ServiceData>; | Added|
| ohos.bluetooth | AdvertiseData | manufactureData: Array\<ManufactureData>; | Added|
| ohos.bluetooth | AdvertiseData | serviceUuids: Array\<string>; | Added|
| ohos.bluetooth | AdvertiseSetting | connectable?: boolean; | Added|
| ohos.bluetooth | AdvertiseSetting | txPower?: number; | Added|
| ohos.bluetooth | AdvertiseSetting | interval?: number; | Added|
......@@ -369,40 +369,40 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.bluetooth | BLEDescriptor | descriptorUuid: string; | Added|
| ohos.bluetooth | BLEDescriptor | characteristicUuid: string; | Added|
| ohos.bluetooth | BLEDescriptor | serviceUuid: string; | Added|
| ohos.bluetooth | BLECharacteristic | descriptors: Array<BLEDescriptor>; | Added|
| ohos.bluetooth | BLECharacteristic | descriptors: Array\<BLEDescriptor>; | Added|
| ohos.bluetooth | BLECharacteristic | characteristicValue: ArrayBuffer; | Added|
| ohos.bluetooth | BLECharacteristic | characteristicUuid: string; | Added|
| ohos.bluetooth | BLECharacteristic | serviceUuid: string; | Added|
| ohos.bluetooth | GattService | includeServices?: Array<GattService>; | Added|
| ohos.bluetooth | GattService | characteristics: Array<BLECharacteristic>; | Added|
| ohos.bluetooth | GattService | includeServices?: Array\<GattService>; | Added|
| ohos.bluetooth | GattService | characteristics: Array\<BLECharacteristic>; | Added|
| ohos.bluetooth | GattService | isPrimary: boolean; | Added|
| ohos.bluetooth | GattService | serviceUuid: string; | Added|
| ohos.bluetooth | GattClientDevice | off(type: "BLEConnectionStateChange", callback?: Callback<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattClientDevice | on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattClientDevice | off(type: "BLECharacteristicChange", callback?: Callback<BLECharacteristic>): void; | Added|
| ohos.bluetooth | GattClientDevice | on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; | Added|
| ohos.bluetooth | GattClientDevice | off(type: "BLEConnectionStateChange", callback?: Callback\<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattClientDevice | on(type: "BLEConnectionStateChange", callback: Callback\<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattClientDevice | off(type: "BLECharacteristicChange", callback?: Callback\<BLECharacteristic>): void; | Added|
| ohos.bluetooth | GattClientDevice | on(type: "BLECharacteristicChange", callback: Callback\<BLECharacteristic>): void; | Added|
| ohos.bluetooth | GattClientDevice | setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): boolean; | Added|
| ohos.bluetooth | GattClientDevice | setBLEMtuSize(mtu: number): boolean; | Added|
| ohos.bluetooth | GattClientDevice | getRssiValue(callback: AsyncCallback<number>): void;<br>getRssiValue(): Promise<number>; | Added|
| ohos.bluetooth | GattClientDevice | getRssiValue(callback: AsyncCallback\<number>): void;<br>getRssiValue(): Promise\<number>; | Added|
| ohos.bluetooth | GattClientDevice | writeDescriptorValue(descriptor: BLEDescriptor): boolean; | Added|
| ohos.bluetooth | GattClientDevice | writeCharacteristicValue(characteristic: BLECharacteristic): boolean; | Added|
| ohos.bluetooth | GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;<br>readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | Added|
| ohos.bluetooth | GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;<br>readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | Added|
| ohos.bluetooth | GattClientDevice | getServices(callback: AsyncCallback<Array<GattService>>): void;<br>getServices(): Promise<Array<GattService>>; | Added|
| ohos.bluetooth | GattClientDevice | getDeviceName(callback: AsyncCallback<string>): void;<br>getDeviceName(): Promise<string>; | Added|
| ohos.bluetooth | GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback\<BLEDescriptor>): void;<br>readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>; | Added|
| ohos.bluetooth | GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback\<BLECharacteristic>): void;<br>readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>; | Added|
| ohos.bluetooth | GattClientDevice | getServices(callback: AsyncCallback\<Array\<GattService>>): void;<br>getServices(): Promise\<Array\<GattService>>; | Added|
| ohos.bluetooth | GattClientDevice | getDeviceName(callback: AsyncCallback\<string>): void;<br>getDeviceName(): Promise\<string>; | Added|
| ohos.bluetooth | GattClientDevice | close(): boolean; | Added|
| ohos.bluetooth | GattClientDevice | disconnect(): boolean; | Added|
| ohos.bluetooth | GattClientDevice | connect(): boolean; | Added|
| ohos.bluetooth | GattServer | off(type: "connectStateChange", callback?: Callback<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "connectStateChange", callback: Callback<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "descriptorWrite", callback?: Callback<DescriptorWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "descriptorWrite", callback: Callback<DescriptorWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "descriptorRead", callback?: Callback<DescriptorReadReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "descriptorRead", callback: Callback<DescriptorReadReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "characteristicWrite", callback?: Callback<CharacteristicWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "characteristicWrite", callback: Callback<CharacteristicWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "characteristicRead", callback?: Callback<CharacteristicReadReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "characteristicRead", callback: Callback<CharacteristicReadReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "connectStateChange", callback?: Callback\<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "connectStateChange", callback: Callback\<BLEConnectChangedState>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "descriptorWrite", callback?: Callback\<DescriptorWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "descriptorWrite", callback: Callback\<DescriptorWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "descriptorRead", callback?: Callback\<DescriptorReadReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "descriptorRead", callback: Callback\<DescriptorReadReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "characteristicWrite", callback?: Callback\<CharacteristicWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "characteristicWrite", callback: Callback\<CharacteristicWriteReq>): void; | Added|
| ohos.bluetooth | GattServer | off(type: "characteristicRead", callback?: Callback\<CharacteristicReadReq>): void; | Added|
| ohos.bluetooth | GattServer | on(type: "characteristicRead", callback: Callback\<CharacteristicReadReq>): void; | Added|
| ohos.bluetooth | GattServer | sendResponse(serverResponse: ServerResponse): boolean; | Added|
| ohos.bluetooth | GattServer | notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): boolean; | Added|
| ohos.bluetooth | GattServer | close(): void; | Added|
......@@ -410,54 +410,54 @@ The table below lists the APIs changes of the communication subsystem in OpenHar
| ohos.bluetooth | GattServer | addService(service: GattService): boolean; | Added|
| ohos.bluetooth | GattServer | stopAdvertising(): void; | Added|
| ohos.bluetooth | GattServer | startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | Added|
| ohos.bluetooth | BLE | function off(type: "BLEDeviceFind", callback?: Callback<Array<ScanResult>>): void; | Added|
| ohos.bluetooth | BLE | function on(type: "BLEDeviceFind", callback: Callback<Array<ScanResult>>): void; | Added|
| ohos.bluetooth | BLE | function stopBLEScan(): void; | Added|
| ohos.bluetooth | BLE | function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | Added|
| ohos.bluetooth | BLE | function getConnectedBLEDevices(): Array<string>; | Added|
| ohos.bluetooth | BLE | function createGattClientDevice(deviceId: string): GattClientDevice; | Added|
| ohos.bluetooth | BLE | function createGattServer(): GattServer; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Added|
| ohos.bluetooth | BLE | off(type: "BLEDeviceFind", callback?: Callback\<Array\<ScanResult>>): void; | Added|
| ohos.bluetooth | BLE | on(type: "BLEDeviceFind", callback: Callback\<Array\<ScanResult>>): void; | Added|
| ohos.bluetooth | BLE | stopBLEScan(): void; | Added|
| ohos.bluetooth | BLE | startBLEScan(filters: Array\<ScanFilter>, options?: ScanOptions): void; | Added|
| ohos.bluetooth | BLE | getConnectedBLEDevices(): Array\<string>; | Added|
| ohos.bluetooth | BLE | createGattClientDevice(deviceId: string): GattClientDevice; | Added|
| ohos.bluetooth | BLE | createGattServer(): GattServer; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | off(type: "connectionStateChange", callback?: Callback\<StateChangeParam>): void; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | on(type: "connectionStateChange", callback: Callback\<StateChangeParam>): void; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | disconnect(device: string): boolean; | Added|
| ohos.bluetooth | HandsFreeAudioGatewayProfile | connect(device: string): boolean; | Added|
| ohos.bluetooth | A2dpSourceProfile | getPlayingState(device: string): PlayingState; | Added|
| ohos.bluetooth | A2dpSourceProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Added|
| ohos.bluetooth | A2dpSourceProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Added|
| ohos.bluetooth | A2dpSourceProfile | off(type: "connectionStateChange", callback?: Callback\<StateChangeParam>): void; | Added|
| ohos.bluetooth | A2dpSourceProfile | on(type: "connectionStateChange", callback: Callback\<StateChangeParam>): void; | Added|
| ohos.bluetooth | A2dpSourceProfile | disconnect(device: string): boolean; | Added|
| ohos.bluetooth | A2dpSourceProfile | connect(device: string): boolean; | Added|
| ohos.bluetooth | BaseProfile | getDeviceState(device: string): ProfileConnectionState; | Added|
| ohos.bluetooth | BaseProfile | getConnectionDevices(): Array<string>; | Added|
| ohos.bluetooth | bluetooth | function getProfile(profileId: ProfileId): A2dpSourceProfile \| HandsFreeAudioGatewayProfile; | Added|
| ohos.bluetooth | bluetooth | function off(type: "sppRead", clientSocket: number, callback?: Callback<ArrayBuffer>): void; | Added|
| ohos.bluetooth | bluetooth | function on(type: "sppRead", clientSocket: number, callback: Callback<ArrayBuffer>): void; | Added|
| ohos.bluetooth | bluetooth | function sppWrite(clientSocket: number, data: ArrayBuffer): boolean; | Added|
| ohos.bluetooth | bluetooth | function sppCloseClientSocket(socket: number): void; | Added|
| ohos.bluetooth | bluetooth | function sppCloseServerSocket(socket: number): void; | Added|
| ohos.bluetooth | bluetooth | function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void; | Added|
| ohos.bluetooth | bluetooth | function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void; | Added|
| ohos.bluetooth | bluetooth | function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void; | Added|
| ohos.bluetooth | bluetooth | function off(type: "stateChange", callback?: Callback<BluetoothState>): void; | Added|
| ohos.bluetooth | bluetooth | function on(type: "stateChange", callback: Callback<BluetoothState>): void; | Added|
| ohos.bluetooth | bluetooth | function off(type: "pinRequired", callback?: Callback<PinRequiredParam>): void; | Added|
| ohos.bluetooth | bluetooth | function on(type: "pinRequired", callback: Callback<PinRequiredParam>): void; | Added|
| ohos.bluetooth | bluetooth | function off(type: "bondStateChange", callback?: Callback<BondStateParam>): void; | Added|
| ohos.bluetooth | bluetooth | function on(type: "bondStateChange", callback: Callback<BondStateParam>): void; | Added|
| ohos.bluetooth | bluetooth | function off(type: "bluetoothDeviceFind", callback?: Callback<Array<string>>): void; | Added|
| ohos.bluetooth | bluetooth | function on(type: "bluetoothDeviceFind", callback: Callback<Array<string>>): void; | Added|
| ohos.bluetooth | bluetooth | function stopBluetoothDiscovery(): boolean; | Added|
| ohos.bluetooth | bluetooth | function startBluetoothDiscovery(): boolean; | Added|
| ohos.bluetooth | bluetooth | function getBluetoothScanMode(): ScanMode; | Added|
| ohos.bluetooth | bluetooth | function setBluetoothScanMode(mode: ScanMode, duration: number): boolean; | Added|
| ohos.bluetooth | bluetooth | function setLocalName(name: string): boolean; | Added|
| ohos.bluetooth | bluetooth | function setDevicePairingConfirmation(device: string, accept: boolean): boolean; | Added|
| ohos.bluetooth | bluetooth | function getProfileConnState(profileId: ProfileId): ProfileConnectionState; | Added|
| ohos.bluetooth | bluetooth | function getPairedDevices(): Array<string>; | Added|
| ohos.bluetooth | bluetooth | function getLocalName(): string; | Added|
| ohos.bluetooth | bluetooth | function disableBluetooth(): boolean; | Added|
| ohos.bluetooth | bluetooth | function enableBluetooth(): boolean; | Added|
| ohos.bluetooth | bluetooth | function getRemoteDeviceClass(deviceId: string): DeviceClass; | Added|
| ohos.bluetooth | bluetooth | function getRemoteDeviceName(deviceId: string): string; | Added|
| ohos.bluetooth | bluetooth | function pairDevice(deviceId: string): boolean; | Added|
| ohos.bluetooth | bluetooth | function getBtConnectionState(): ProfileConnectionState; | Added|
| ohos.bluetooth | bluetooth | function getState(): BluetoothState; | Added|
| ohos.bluetooth | BaseProfile | getConnectionDevices(): Array\<string>; | Added|
| ohos.bluetooth | bluetooth | getProfile(profileId: ProfileId): A2dpSourceProfile \| HandsFreeAudioGatewayProfile; | Added|
| ohos.bluetooth | bluetooth | off(type: "sppRead", clientSocket: number, callback?: Callback\<ArrayBuffer>): void; | Added|
| ohos.bluetooth | bluetooth | on(type: "sppRead", clientSocket: number, callback: Callback\<ArrayBuffer>): void; | Added|
| ohos.bluetooth | bluetooth | sppWrite(clientSocket: number, data: ArrayBuffer): boolean; | Added|
| ohos.bluetooth | bluetooth | sppCloseClientSocket(socket: number): void; | Added|
| ohos.bluetooth | bluetooth | sppCloseServerSocket(socket: number): void; | Added|
| ohos.bluetooth | bluetooth | sppConnect(device: string, option: SppOption, callback: AsyncCallback\<number>): void; | Added|
| ohos.bluetooth | bluetooth | sppAccept(serverSocket: number, callback: AsyncCallback\<number>): void; | Added|
| ohos.bluetooth | bluetooth | sppListen(name: string, option: SppOption, callback: AsyncCallback\<number>): void; | Added|
| ohos.bluetooth | bluetooth | off(type: "stateChange", callback?: Callback\<BluetoothState>): void; | Added|
| ohos.bluetooth | bluetooth | on(type: "stateChange", callback: Callback\<BluetoothState>): void; | Added|
| ohos.bluetooth | bluetooth | off(type: "pinRequired", callback?: Callback\<PinRequiredParam>): void; | Added|
| ohos.bluetooth | bluetooth | on(type: "pinRequired", callback: Callback\<PinRequiredParam>): void; | Added|
| ohos.bluetooth | bluetooth | off(type: "bondStateChange", callback?: Callback\<BondStateParam>): void; | Added|
| ohos.bluetooth | bluetooth | on(type: "bondStateChange", callback: Callback\<BondStateParam>): void; | Added|
| ohos.bluetooth | bluetooth | off(type: "bluetoothDeviceFind", callback?: Callback\<Array\<string>>): void; | Added|
| ohos.bluetooth | bluetooth | on(type: "bluetoothDeviceFind", callback: Callback\<Array\<string>>): void; | Added|
| ohos.bluetooth | bluetooth | stopBluetoothDiscovery(): boolean; | Added|
| ohos.bluetooth | bluetooth | startBluetoothDiscovery(): boolean; | Added|
| ohos.bluetooth | bluetooth | getBluetoothScanMode(): ScanMode; | Added|
| ohos.bluetooth | bluetooth | setBluetoothScanMode(mode: ScanMode, duration: number): boolean; | Added|
| ohos.bluetooth | bluetooth | setLocalName(name: string): boolean; | Added|
| ohos.bluetooth | bluetooth | setDevicePairingConfirmation(device: string, accept: boolean): boolean; | Added|
| ohos.bluetooth | bluetooth | getProfileConnState(profileId: ProfileId): ProfileConnectionState; | Added|
| ohos.bluetooth | bluetooth | getPairedDevices(): Array\<string>; | Added|
| ohos.bluetooth | bluetooth | getLocalName(): string; | Added|
| ohos.bluetooth | bluetooth | disableBluetooth(): boolean; | Added|
| ohos.bluetooth | bluetooth | enableBluetooth(): boolean; | Added|
| ohos.bluetooth | bluetooth | getRemoteDeviceClass(deviceId: string): DeviceClass; | Added|
| ohos.bluetooth | bluetooth | getRemoteDeviceName(deviceId: string): string; | Added|
| ohos.bluetooth | bluetooth | pairDevice(deviceId: string): boolean; | Added|
| ohos.bluetooth | bluetooth | getBtConnectionState(): ProfileConnectionState; | Added|
| ohos.bluetooth | bluetooth | getState(): BluetoothState; | Added|
......@@ -45,21 +45,21 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.xml | XmlSerializer | addEmptyElement(name: string): void; | Added|
| ohos.xml | XmlSerializer | setAttributes(name: string, value: string): void; | Added|
| ohos.xml | XmlSerializer | constructor(buffer: ArrayBuffer \| DataView, encoding?: string); | Added|
| ohos.util.Vector | Vector | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.Vector | Vector | copyToArray(array: Array<T>): void; | Added|
| ohos.util.Vector | Vector | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.Vector | Vector | copyToArray(array: Array\<T>): void; | Added|
| ohos.util.Vector | Vector | trimToCurrentLength(): void; | Added|
| ohos.util.Vector | Vector | toString(): string; | Added|
| ohos.util.Vector | Vector | increaseCapacityTo(newCapacity: number): void; | Added|
| ohos.util.Vector | Vector | isEmpty(): boolean; | Added|
| ohos.util.Vector | Vector | convertToArray(): Array<T>; | Added|
| ohos.util.Vector | Vector | convertToArray(): Array\<T>; | Added|
| ohos.util.Vector | Vector | getCapacity(): number; | Added|
| ohos.util.Vector | Vector | setLength(newSize: number): void; | Added|
| ohos.util.Vector | Vector | clone(): Vector<T>; | Added|
| ohos.util.Vector | Vector | clone(): Vector\<T>; | Added|
| ohos.util.Vector | Vector | clear(): void; | Added|
| ohos.util.Vector | Vector | subVector(fromIndex: number, toIndex: number): Vector<T>; | Added|
| ohos.util.Vector | Vector | subVector(fromIndex: number, toIndex: number): Vector\<T>; | Added|
| ohos.util.Vector | Vector | sort(comparator?: (firstValue: T, secondValue: T) => number): void; | Added|
| ohos.util.Vector | Vector | forEach(callbackfn: (value: T, index?: number, vector?: Vector<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Vector | Vector | replaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.Vector | Vector | forEach(callbackfn: (value: T, index?: number, vector?: Vector\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Vector | Vector | replaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector\<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.Vector | Vector | removeByRange(fromIndex: number, toIndex: number): void; | Added|
| ohos.util.Vector | Vector | getIndexFrom(element: T, index: number): number; | Added|
| ohos.util.Vector | Vector | getLastIndexFrom(element: T, index: number): number; | Added|
......@@ -76,10 +76,10 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.Vector | Vector | add(element: T): boolean; | Added|
| ohos.util.Vector | Vector | length: number; | Added|
| ohos.util.Vector | Vector | constructor(); | Added|
| ohos.util.TreeSet | TreeSet | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.TreeSet | TreeSet | entries(): IterableIterator<[T, T]>; | Added|
| ohos.util.TreeSet | TreeSet | values(): IterableIterator<T>; | Added|
| ohos.util.TreeSet | TreeSet | forEach(callbackfn: (value?: T, key?: T, set?: TreeSet<T>) => void, thisArg?: Object): void;| Added|
| ohos.util.TreeSet | TreeSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.TreeSet | TreeSet | entries(): IterableIterator\<[T, T]>; | Added|
| ohos.util.TreeSet | TreeSet | values(): IterableIterator\<T>; | Added|
| ohos.util.TreeSet | TreeSet | forEach(callbackfn: (value?: T, key?: T, set?: TreeSet\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.TreeSet | TreeSet | popLast(): T; | Added|
| ohos.util.TreeSet | TreeSet | popFirst(): T; | Added|
| ohos.util.TreeSet | TreeSet | getHigherValue(key: T): T; | Added|
......@@ -93,18 +93,18 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.TreeSet | TreeSet | isEmpty(): boolean; | Added|
| ohos.util.TreeSet | TreeSet | length: number; | Added|
| ohos.util.TreeSet | TreeSet | constructor(comparator?: (firstValue: T, secondValue: T) => boolean) | Added|
| ohos.util.TreeMap | TreeMap | [Symbol.iterator](): IterableIterator<[K, V]>; | Added|
| ohos.util.TreeMap | TreeMap | entries(): IterableIterator<[K, V]>; | Added|
| ohos.util.TreeMap | TreeMap | forEach(callbackfn: (value?: V, key?: K, map?: TreeMap<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.TreeMap | TreeMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
| ohos.util.TreeMap | TreeMap | entries(): IterableIterator\<[K, V]>; | Added|
| ohos.util.TreeMap | TreeMap | forEach(callbackfn: (value?: V, key?: K, map?: TreeMap\<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.TreeMap | TreeMap | replace(key: K, newValue: V): boolean; | Added|
| ohos.util.TreeMap | TreeMap | values(): IterableIterator<V>; | Added|
| ohos.util.TreeMap | TreeMap | keys(): IterableIterator<K>; | Added|
| ohos.util.TreeMap | TreeMap | values(): IterableIterator\<V>; | Added|
| ohos.util.TreeMap | TreeMap | keys(): IterableIterator\<K>; | Added|
| ohos.util.TreeMap | TreeMap | getHigherKey(key: K): K; | Added|
| ohos.util.TreeMap | TreeMap | getLowerKey(key: K): K; | Added|
| ohos.util.TreeMap | TreeMap | clear(): void; | Added|
| ohos.util.TreeMap | TreeMap | remove(key: K): V; | Added|
| ohos.util.TreeMap | TreeMap | set(key: K, value: V): Object; | Added|
| ohos.util.TreeMap | TreeMap | setAll(map: TreeMap<K, V>): void; | Added|
| ohos.util.TreeMap | TreeMap | setAll(map: TreeMap\<K, V>): void; | Added|
| ohos.util.TreeMap | TreeMap | getLastKey(): K; | Added|
| ohos.util.TreeMap | TreeMap | getFirstKey(): K; | Added|
| ohos.util.TreeMap | TreeMap | get(key: K): V; | Added|
......@@ -113,8 +113,8 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.TreeMap | TreeMap | isEmpty(): boolean; | Added|
| ohos.util.TreeMap | TreeMap | length: number; | Added|
| ohos.util.TreeMap | TreeMap | constructor(comparator?: (firstValue: K, secondValue: K) => boolean); | Added|
| ohos.util.Stack | Stack | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.Stack | Stack | forEach(callbackfn: (value: T, index?: number, stack?: Stack<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Stack | Stack | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.Stack | Stack | forEach(callbackfn: (value: T, index?: number, stack?: Stack\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Stack | Stack | locate(element: T): number; | Added|
| ohos.util.Stack | Stack | push(item: T): T; | Added|
| ohos.util.Stack | Stack | pop(): T; | Added|
......@@ -122,15 +122,15 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.Stack | Stack | isEmpty(): boolean; | Added|
| ohos.util.Stack | Stack | length: number; | Added|
| ohos.util.Stack | Stack | constructor(); | Added|
| ohos.util.Queue | Queue | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.Queue | Queue | forEach(callbackfn: (value: T, index?: number, Queue?: Queue<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Queue | Queue | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.Queue | Queue | forEach(callbackfn: (value: T, index?: number, Queue?: Queue\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Queue | Queue | pop(): T; | Added|
| ohos.util.Queue | Queue | getFirst(): T; | Added|
| ohos.util.Queue | Queue | add(element: T): boolean; | Added|
| ohos.util.Queue | Queue | length: number; | Added|
| ohos.util.Queue | Queue | constructor(); | Added|
| ohos.util.PlainArray | PlainArray | [Symbol.iterator](): IterableIterator<[number, T]>; | Added|
| ohos.util.PlainArray | PlainArray | forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.PlainArray | PlainArray | \[Symbol.iterator](): IterableIterator\<[number, T]>; | Added|
| ohos.util.PlainArray | PlainArray | forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.PlainArray | PlainArray | getValueAt(index: number): T; | Added|
| ohos.util.PlainArray | PlainArray | toString(): String; | Added|
| ohos.util.PlainArray | PlainArray | setValueAt(index: number, value: T): void; | Added|
......@@ -143,19 +143,19 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.PlainArray | PlainArray | getIndexOfKey(key: number): number; | Added|
| ohos.util.PlainArray | PlainArray | get(key: number): T; | Added|
| ohos.util.PlainArray | PlainArray | has(key: number): boolean; | Added|
| ohos.util.PlainArray | PlainArray | clone(): PlainArray<T>; | Added|
| ohos.util.PlainArray | PlainArray | clone(): PlainArray\<T>; | Added|
| ohos.util.PlainArray | PlainArray | clear(): void; | Added|
| ohos.util.PlainArray | PlainArray | add(key: number, value: T): void; | Added|
| ohos.util.PlainArray | PlainArray | length: number; | Added|
| ohos.util.PlainArray | PlainArray | constructor(); | Added|
| ohos.util.List | List | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.List | List | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.List | List | isEmpty(): boolean; | Added|
| ohos.util.List | List | convertToArray(): Array<T>; | Added|
| ohos.util.List | List | replaceAllElements(callbackfn: (value: T, index?: number, list?: List<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.List | List | getSubList(fromIndex: number, toIndex: number): List<T>; | Added|
| ohos.util.List | List | convertToArray(): Array\<T>; | Added|
| ohos.util.List | List | replaceAllElements(callbackfn: (value: T, index?: number, list?: List\<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.List | List | getSubList(fromIndex: number, toIndex: number): List\<T>; | Added|
| ohos.util.List | List | clear(): void; | Added|
| ohos.util.List | List | sort(comparator: (firstValue: T, secondValue: T) => number): void; | Added|
| ohos.util.List | List | forEach(callbackfn: (value: T, index?: number, List?: List<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.List | List | forEach(callbackfn: (value: T, index?: number, List?: List\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.List | List | equal(obj: Object): boolean; | Added|
| ohos.util.List | List | set(index: number, element: T): T; | Added|
| ohos.util.List | List | getLast(): T; | Added|
......@@ -170,11 +170,11 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.List | List | add(element: T): boolean; | Added|
| ohos.util.List | List | length: number; | Added|
| ohos.util.List | List | constructor(); | Added|
| ohos.util.LinkedList | LinkedList | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.LinkedList | LinkedList | convertToArray(): Array<T>; | Added|
| ohos.util.LinkedList | LinkedList | clone(): LinkedList<T>; | Added|
| ohos.util.LinkedList | LinkedList | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.LinkedList | LinkedList | convertToArray(): Array\<T>; | Added|
| ohos.util.LinkedList | LinkedList | clone(): LinkedList\<T>; | Added|
| ohos.util.LinkedList | LinkedList | clear(): void; | Added|
| ohos.util.LinkedList | LinkedList | forEach(callbackfn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.LinkedList | LinkedList | forEach(callbackfn: (value: T, index?: number, LinkedList?: LinkedList\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.LinkedList | LinkedList | set(index: number, element: T): T; | Added|
| ohos.util.LinkedList | LinkedList | getLast(): T; | Added|
| ohos.util.LinkedList | LinkedList | getFirst(): T; | Added|
......@@ -194,13 +194,13 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.LinkedList | LinkedList | length: number; | Added|
| ohos.util.LinkedList | LinkedList | constructor(); | Added|
| ohos.util.LightWeightSet | LightWeightSet | isEmpty(): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | entries(): IterableIterator<[T, T]>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | values(): IterableIterator<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | entries(): IterableIterator\<[T, T]>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | values(): IterableIterator\<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | getValueAt(index: number): T; | Added|
| ohos.util.LightWeightSet | LightWeightSet | toArray(): Array<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | toArray(): Array\<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | toString(): String; | Added|
| ohos.util.LightWeightSet | LightWeightSet | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | forEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.LightWeightSet | LightWeightSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.LightWeightSet | LightWeightSet | forEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.LightWeightSet | LightWeightSet | clear(): void; | Added|
| ohos.util.LightWeightSet | LightWeightSet | removeAt(index: number): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | remove(key: T): T; | Added|
......@@ -208,39 +208,39 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.LightWeightSet | LightWeightSet | increaseCapacityTo(minimumCapacity: number): void; | Added|
| ohos.util.LightWeightSet | LightWeightSet | equal(obj: Object): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | has(key: T): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | hasAll(set: LightWeightSet<T>): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | addAll(set: LightWeightSet<T>): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | hasAll(set: LightWeightSet\<T>): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | addAll(set: LightWeightSet\<T>): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | add(obj: T): boolean; | Added|
| ohos.util.LightWeightSet | LightWeightSet | length: number; | Added|
| ohos.util.LightWeightSet | LightWeightSet | constructor(); | Added|
| ohos.util.LightWeightMap | LightWeightMap | values(): IterableIterator<V>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | values(): IterableIterator\<V>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | getValueAt(index: number): V; | Added|
| ohos.util.LightWeightMap | LightWeightMap | toString(): String; | Added|
| ohos.util.LightWeightMap | LightWeightMap | [Symbol.iterator](): IterableIterator<[K, V]>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | forEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | forEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap\<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | setValueAt(index: number, newValue: V): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | clear(): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | removeAt(index: number): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | remove(key: K): V; | Added|
| ohos.util.LightWeightMap | LightWeightMap | set(key: K, value: V): Object; | Added|
| ohos.util.LightWeightMap | LightWeightMap | setAll(map: LightWeightMap<K, V>): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | keys(): IterableIterator<K>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | setAll(map: LightWeightMap\<K, V>): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | keys(): IterableIterator\<K>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | getKeyAt(index: number): K; | Added|
| ohos.util.LightWeightMap | LightWeightMap | isEmpty(): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | getIndexOfValue(value: V): number; | Added|
| ohos.util.LightWeightMap | LightWeightMap | getIndexOfKey(key: K): number; | Added|
| ohos.util.LightWeightMap | LightWeightMap | get(key: K): V; | Added|
| ohos.util.LightWeightMap | LightWeightMap | entries(): IterableIterator<[K, V]>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | entries(): IterableIterator\<[K, V]>; | Added|
| ohos.util.LightWeightMap | LightWeightMap | increaseCapacityTo(minimumCapacity: number): void; | Added|
| ohos.util.LightWeightMap | LightWeightMap | hasValue(value: V): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | hasKey(key: K): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | hasAll(map: LightWeightMap<K, V>): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | hasAll(map: LightWeightMap\<K, V>): boolean; | Added|
| ohos.util.LightWeightMap | LightWeightMap | length: number; | Added|
| ohos.util.LightWeightMap | LightWeightMap | constructor(); | Added|
| ohos.util.HashSet | HashSet | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.HashSet | HashSet | entries(): IterableIterator<[T, T]>; | Added|
| ohos.util.HashSet | HashSet | values(): IterableIterator<T>; | Added|
| ohos.util.HashSet | HashSet | forEach(callbackfn: (value?: T, key?: T, set?: HashSet<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.HashSet | HashSet | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.HashSet | HashSet | entries(): IterableIterator\<[T, T]>; | Added|
| ohos.util.HashSet | HashSet | values(): IterableIterator\<T>; | Added|
| ohos.util.HashSet | HashSet | forEach(callbackfn: (value?: T, key?: T, set?: HashSet\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.HashSet | HashSet | clear(): void; | Added|
| ohos.util.HashSet | HashSet | remove(value: T): boolean; | Added|
| ohos.util.HashSet | HashSet | add(value: T): boolean; | Added|
......@@ -248,24 +248,24 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util.HashSet | HashSet | isEmpty(): boolean; | Added|
| ohos.util.HashSet | HashSet | length: number; | Added|
| ohos.util.HashSet | HashSet | constructor(); | Added|
| ohos.util.HashMap | HashMap | [Symbol.iterator](): IterableIterator<[K, V]>; | Added|
| ohos.util.HashMap | HashMap | entries(): IterableIterator<[K, V]>; | Added|
| ohos.util.HashMap | HashMap | forEach(callbackfn: (value?: V, key?: K, map?: HashMap<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.HashMap | HashMap | \[Symbol.iterator](): IterableIterator\<[K, V]>; | Added|
| ohos.util.HashMap | HashMap | entries(): IterableIterator\<[K, V]>; | Added|
| ohos.util.HashMap | HashMap | forEach(callbackfn: (value?: V, key?: K, map?: HashMap\<K, V>) => void, thisArg?: Object): void; | Added|
| ohos.util.HashMap | HashMap | replace(key: K, newValue: V): boolean; | Added|
| ohos.util.HashMap | HashMap | values(): IterableIterator<V>; | Added|
| ohos.util.HashMap | HashMap | keys(): IterableIterator<K>; | Added|
| ohos.util.HashMap | HashMap | values(): IterableIterator\<V>; | Added|
| ohos.util.HashMap | HashMap | keys(): IterableIterator\<K>; | Added|
| ohos.util.HashMap | HashMap | clear(): void; | Added|
| ohos.util.HashMap | HashMap | remove(key: K): V; | Added|
| ohos.util.HashMap | HashMap | set(key: K, value: V): Object; | Added|
| ohos.util.HashMap | HashMap | setAll(map: HashMap<K, V>): void; | Added|
| ohos.util.HashMap | HashMap | setAll(map: HashMap\<K, V>): void; | Added|
| ohos.util.HashMap | HashMap | get(key: K): V; | Added|
| ohos.util.HashMap | HashMap | hasValue(value: V): boolean; | Added|
| ohos.util.HashMap | HashMap | hasKey(key: K): boolean; | Added|
| ohos.util.HashMap | HashMap | isEmpty(): boolean; | Added|
| ohos.util.HashMap | HashMap | length: number; | Added|
| ohos.util.HashMap | HashMap | constructor(); | Added|
| ohos.util.Deque | Deque | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.Deque | Deque | forEach(callbackfn: (value: T, index?: number, deque?: Deque<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Deque | Deque | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.Deque | Deque | forEach(callbackfn: (value: T, index?: number, deque?: Deque\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.Deque | Deque | popLast(): T; | Added|
| ohos.util.Deque | Deque | popFirst(): T; | Added|
| ohos.util.Deque | Deque | getLast(): T; | Added|
......@@ -321,18 +321,18 @@ The table below lists the APIs changes of the Utils subsystem in OpenHarmony 3.1
| ohos.util | LruBuffer | getCapacity(): number; | Added|
| ohos.util | LruBuffer | length:number | Added|
| ohos.util | RationalNumber | valueOf(): number; | Added|
| ohos.util.ArrayList | ArrayList | [Symbol.iterator](): IterableIterator<T>; | Added|
| ohos.util.ArrayList | ArrayList | \[Symbol.iterator](): IterableIterator\<T>; | Added|
| ohos.util.ArrayList | ArrayList | trimToCurrentLength(): void; | Added|
| ohos.util.ArrayList | ArrayList | increaseCapacityTo(newCapacity: number): void; | Added|
| ohos.util.ArrayList | ArrayList | isEmpty(): boolean; | Added|
| ohos.util.ArrayList | ArrayList | convertToArray(): Array<T>; | Added|
| ohos.util.ArrayList | ArrayList | convertToArray(): Array\<T>; | Added|
| ohos.util.ArrayList | ArrayList | getCapacity(): number; | Added|
| ohos.util.ArrayList | ArrayList | clone(): ArrayList<T>; | Added|
| ohos.util.ArrayList | ArrayList | clone(): ArrayList\<T>; | Added|
| ohos.util.ArrayList | ArrayList | clear(): void; | Added|
| ohos.util.ArrayList | ArrayList | subArrayList(fromIndex: number, toIndex: number): ArrayList<T>; | Added|
| ohos.util.ArrayList | ArrayList | subArrayList(fromIndex: number, toIndex: number): ArrayList\<T>; | Added|
| ohos.util.ArrayList | ArrayList | sort(comparator?: (firstValue: T, secondValue: T) => number): void; | Added|
| ohos.util.ArrayList | ArrayList | forEach(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.ArrayList | ArrayList | replaceAllElements(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.ArrayList | ArrayList | forEach(callbackfn: (value: T, index?: number, arrlist?: ArrayList\<T>) => void, thisArg?: Object): void; | Added|
| ohos.util.ArrayList | ArrayList | replaceAllElements(callbackfn: (value: T, index?: number, arrlist?: ArrayList\<T>) => T, thisArg?: Object): void; | Added|
| ohos.util.ArrayList | ArrayList | removeByRange(fromIndex: number, toIndex: number): void; | Added|
| ohos.util.ArrayList | ArrayList | getLastIndexOf(element: T): number; | Added|
| ohos.util.ArrayList | ArrayList | remove(element: T): boolean; | Added|
......
......@@ -6,19 +6,19 @@ The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.1 R
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.hiTraceMeter | hiTraceMeter | function traceByValue(name: string, count: number): void; | Added|
| ohos.hiTraceMeter | hiTraceMeter | function finishTrace(name: string, taskId: number): void; | Added|
| ohos.hiTraceMeter | hiTraceMeter | function startTrace(name: string, taskId: number): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function enableFlag(id: HiTraceId, flag: HiTraceFlag): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function isFlagEnabled(id: HiTraceId, flag: HiTraceFlag): boolean; | Added|
| ohos.hiTraceChain | hiTraceChain | function isValid(id: HiTraceId): boolean; | Added|
| ohos.hiTraceChain | hiTraceChain | function tracepoint(mode: HiTraceCommunicationMode, type: HiTraceTracepointType, id: HiTraceId, msg?: string): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function createSpan(): HiTraceId; | Added|
| ohos.hiTraceChain | hiTraceChain | function clearId(): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function setId(id: HiTraceId): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function getId(): HiTraceId; | Added|
| ohos.hiTraceChain | hiTraceChain | function end(id: HiTraceId): void; | Added|
| ohos.hiTraceChain | hiTraceChain | function begin(name: string, flags: number = HiTraceFlag.DEFAULT): HiTraceId; | Added|
| ohos.hiTraceMeter | hiTraceMeter | traceByValue(name: string, count: number): void; | Added|
| ohos.hiTraceMeter | hiTraceMeter | finishTrace(name: string, taskId: number): void; | Added|
| ohos.hiTraceMeter | hiTraceMeter | startTrace(name: string, taskId: number): void; | Added|
| ohos.hiTraceChain | hiTraceChain | enableFlag(id: HiTraceId, flag: HiTraceFlag): void; | Added|
| ohos.hiTraceChain | hiTraceChain | isFlagEnabled(id: HiTraceId, flag: HiTraceFlag): boolean; | Added|
| ohos.hiTraceChain | hiTraceChain | isValid(id: HiTraceId): boolean; | Added|
| ohos.hiTraceChain | hiTraceChain | tracepoint(mode: HiTraceCommunicationMode, type: HiTraceTracepointType, id: HiTraceId, msg?: string): void; | Added|
| ohos.hiTraceChain | hiTraceChain | createSpan(): HiTraceId; | Added|
| ohos.hiTraceChain | hiTraceChain | clearId(): void; | Added|
| ohos.hiTraceChain | hiTraceChain | setId(id: HiTraceId): void; | Added|
| ohos.hiTraceChain | hiTraceChain | getId(): HiTraceId; | Added|
| ohos.hiTraceChain | hiTraceChain | end(id: HiTraceId): void; | Added|
| ohos.hiTraceChain | hiTraceChain | begin(name: string, flags: number = HiTraceFlag.DEFAULT): HiTraceId; | Added|
| ohos.hiTraceChain | HiTraceId | flags?: number; | Added|
| ohos.hiTraceChain | HiTraceId | parentSpanId?: number; | Added|
| ohos.hiTraceChain | HiTraceId | spanId?: number; | Added|
......@@ -45,24 +45,24 @@ The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.1 R
| ohos.hilog | LogLevel | WARN = 5 | Added|
| ohos.hilog | LogLevel | INFO = 4 | Added|
| ohos.hilog | LogLevel | DEBUG = 3 | Added|
| ohos.hilog | hilog | function isLoggable(domain: number, tag: string, level: LogLevel) : boolean; | Added|
| ohos.hilog | hilog | function fatal(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | function error(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | function warn(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | function info(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | function debug(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hidebug | hidebug | function dumpHeapData(filename : string) : void; | Added|
| ohos.hidebug | hidebug | function stopProfiling() : void; | Added|
| ohos.hidebug | hidebug | function startProfiling(filename : string) : void; | Added|
| ohos.hidebug | hidebug | function getSharedDirty() : bigint; | Added|
| ohos.hidebug | hidebug | function getPss() : bigint; | Added|
| ohos.hidebug | hidebug | function getNativeHeapFreeSize() : bigint; | Added|
| ohos.hidebug | hidebug | function getNativeHeapAllocatedSize() : bigint; | Added|
| ohos.hidebug | hidebug | function getNativeHeapSize() : bigint; | Added|
| ohos.hichecker | hichecker | function contains(rule: bigint) : boolean; | Added|
| ohos.hichecker | hichecker | function getRule() : bigint; | Added|
| ohos.hichecker | hichecker | function removeRule(rule: bigint) : void; | Added|
| ohos.hichecker | hichecker | function addRule(rule: bigint) : void; | Added|
| ohos.hilog | hilog | isLoggable(domain: number, tag: string, level: LogLevel) : boolean; | Added|
| ohos.hilog | hilog | fatal(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | error(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | warn(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | info(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hilog | hilog | debug(domain: number, tag: string, format: string, ...args: any[]) : void; | Added|
| ohos.hidebug | hidebug | dumpHeapData(filename : string) : void; | Added|
| ohos.hidebug | hidebug | stopProfiling() : void; | Added|
| ohos.hidebug | hidebug | startProfiling(filename : string) : void; | Added|
| ohos.hidebug | hidebug | getSharedDirty() : bigint; | Added|
| ohos.hidebug | hidebug | getPss() : bigint; | Added|
| ohos.hidebug | hidebug | getNativeHeapFreeSize() : bigint; | Added|
| ohos.hidebug | hidebug | getNativeHeapAllocatedSize() : bigint; | Added|
| ohos.hidebug | hidebug | getNativeHeapSize() : bigint; | Added|
| ohos.hichecker | hichecker | contains(rule: bigint) : boolean; | Added|
| ohos.hichecker | hichecker | getRule() : bigint; | Added|
| ohos.hichecker | hichecker | removeRule(rule: bigint) : void; | Added|
| ohos.hichecker | hichecker | addRule(rule: bigint) : void; | Added|
| ohos.hichecker | hichecker | const RULE_CHECK_ABILITY_CONNECTION_LEAK: 8589934592n; | Added|
| ohos.hichecker | hichecker | const RULE_THREAD_CHECK_SLOW_PROCESS: 1n; | Added|
| ohos.hichecker | hichecker | const RULE_CAUTION_TRIGGER_CRASH: 4611686018427387904n; | Added|
......@@ -75,7 +75,7 @@ The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.1 R
| ohos.faultLogger | FaultLogInfo | type: FaultType; | Added|
| ohos.faultLogger | FaultLogInfo | uid: number; | Added|
| ohos.faultLogger | FaultLogInfo | pid: number; | Added|
| ohos.faultLogger | FaultLogger | function querySelfFaultLog(faultType: FaultType, callback: AsyncCallback<Array<FaultLogInfo>>) : void;<br>function querySelfFaultLog(faultType: FaultType) : Promise<Array<FaultLogInfo>>; | Added|
| ohos.faultLogger | FaultLogger | querySelfFaultLog(faultType: FaultType, callback: AsyncCallback\<Array\<FaultLogInfo>>) : void;<br>querySelfFaultLog(faultType: FaultType) : Promise\<Array\<FaultLogInfo>>; | Added|
| ohos.faultLogger | FaultType | APP_FREEZE = 4 | Added|
| ohos.faultLogger | FaultType | JS_CRASH = 3 | Added|
| ohos.faultLogger | FaultType | CPP_CRASH = 2 | Added|
......
......@@ -7,57 +7,57 @@ The table below lists the APIs changes of the distributed data management subsys
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.data.rdb | RdbPredicates | inAllDevices(): RdbPredicates; | Added|
| ohos.data.rdb | RdbPredicates | inDevices(devices: Array<string>): RdbPredicates; | Added|
| ohos.data.rdb | RdbStore | off(event:'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void; | Added|
| ohos.data.rdb | RdbStore | on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void; | Added|
| ohos.data.rdb | RdbStore | sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[string, number]>>): void;<br>sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[string, number]>>; | Added|
| ohos.data.rdb | RdbStore | obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;<br>obtainDistributedTableName(device: string, table: string): Promise<string>; | Added|
| ohos.data.rdb | RdbStore | setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;<br>setDistributedTables(tables: Array<string>): Promise<void>; | Added|
| ohos.data.rdb | RdbPredicates | inDevices(devices: Array\<string>): RdbPredicates; | Added|
| ohos.data.rdb | RdbStore | off(event:'dataChange', type: SubscribeType, observer: Callback\<Array\<string>>): void; | Added|
| ohos.data.rdb | RdbStore | on(event: 'dataChange', type: SubscribeType, observer: Callback\<Array\<string>>): void; | Added|
| ohos.data.rdb | RdbStore | sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback\<Array\<[string, number]>>): void;<br>sync(mode: SyncMode, predicates: RdbPredicates): Promise\<Array\<[string, number]>>; | Added|
| ohos.data.rdb | RdbStore | obtainDistributedTableName(device: string, table: string, callback: AsyncCallback\<string>): void;<br>obtainDistributedTableName(device: string, table: string): Promise\<string>; | Added|
| ohos.data.rdb | RdbStore | setDistributedTables(tables: Array\<string>, callback: AsyncCallback\<void>): void;<br>setDistributedTables(tables: Array\<string>): Promise\<void>; | Added|
| ohos.data.rdb | RdbStore | rollBack():void; | Added|
| ohos.data.rdb | RdbStore | commit():void; | Added|
| ohos.data.rdb | RdbStore | beginTransaction():void; | Added|
| ohos.data.rdb | RdbStore | querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSet>): void;<br>querySql(sql: string, bindArgs?: Array<ValueType>): Promise<ResultSet>; | Added|
| ohos.data.rdb | RdbStore | querySql(sql: string, bindArgs: Array\<ValueType>, callback: AsyncCallback\<ResultSet>): void;<br>querySql(sql: string, bindArgs?: Array\<ValueType>): Promise\<ResultSet>; | Added|
| ohos.data.rdb | SubscribeType | SUBSCRIBE_TYPE_REMOTE = 0 | Added|
| ohos.data.rdb | SyncMode | SYNC_MODE_PULL = 1 | Added|
| ohos.data.rdb | SyncMode | SYNC_MODE_PUSH = 0 | Added|
| ohos.data.distributedDataObject | DistributedObject | off(type: 'status', callback?: Callback<{ sessionId: string, deviceId: string, status: 'online' \| 'offline' }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | on(type: 'status', callback: Callback<{ sessionId: string, networkId: string, status: 'online' \| 'offline' }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | off(type: 'change', callback?: Callback<{ sessionId: string, fields: Array<string> }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | on(type: 'change', callback: Callback<{ sessionId: string, fields: Array<string> }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | off(type: 'status', callback?: Callback\<{ sessionId: string, deviceId: string, status: 'online' \| 'offline' }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | on(type: 'status', callback: Callback\<{ sessionId: string, networkId: string, status: 'online' \| 'offline' }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | off(type: 'change', callback?: Callback\<{ sessionId: string, fields: Array\<string> }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | on(type: 'change', callback: Callback\<{ sessionId: string, fields: Array\<string> }>): void; | Added|
| ohos.data.distributedDataObject | DistributedObject | setSessionId(sessionId?: string): boolean; | Added|
| ohos.data.distributedDataObject | distributedDataObject | function genSessionId(): string; | Added|
| ohos.data.distributedDataObject | distributedDataObject | function createDistributedObject(source: object): DistributedObject; | Added|
| ohos.data.distributedData | KVManager | off(event: 'distributedDataServiceDie', deathCallback?: Callback<void>): void; | Added|
| ohos.data.distributedData | KVManager | on(event: 'distributedDataServiceDie', deathCallback: Callback<void>): void; | Added|
| ohos.data.distributedData | KVManager | getAllKVStoreId(appId: string, callback: AsyncCallback<string[]>): void;<br>getAllKVStoreId(appId: string): Promise<string[]>; | Added|
| ohos.data.distributedData | KVManager | deleteKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void;<br>deleteKVStore(appId: string, storeId: string): Promise<void>; | Added|
| ohos.data.distributedData | KVManager | closeKVStore(appId: string, storeId: string, kvStore: KVStore, callback: AsyncCallback<void>): void;<br>closeKVStore(appId: string, storeId: string, kvStore: KVStore): Promise<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void; | Added|
| ohos.data.distributedDataObject | distributedDataObject | genSessionId(): string; | Added|
| ohos.data.distributedDataObject | distributedDataObject | createDistributedObject(source: object): DistributedObject; | Added|
| ohos.data.distributedData | KVManager | off(event: 'distributedDataServiceDie', deathCallback?: Callback\<void>): void; | Added|
| ohos.data.distributedData | KVManager | on(event: 'distributedDataServiceDie', deathCallback: Callback\<void>): void; | Added|
| ohos.data.distributedData | KVManager | getAllKVStoreId(appId: string, callback: AsyncCallback\<string[]>): void;<br>getAllKVStoreId(appId: string): Promise\<string[]>; | Added|
| ohos.data.distributedData | KVManager | deleteKVStore(appId: string, storeId: string, callback: AsyncCallback\<void>): void;<br>deleteKVStore(appId: string, storeId: string): Promise\<void>; | Added|
| ohos.data.distributedData | KVManager | closeKVStore(appId: string, storeId: string, kvStore: KVStore, callback: AsyncCallback\<void>): void;<br>closeKVStore(appId: string, storeId: string, kvStore: KVStore): Promise\<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | off(event: 'syncComplete', syncCallback?: Callback\<Array\<[string, number]>>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | on(event: 'syncComplete', syncCallback: Callback\<Array\<[string, number]>>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | sync(deviceIdList: string[], mode: SyncMode, allowedDelayMs?: number): void; | Added|
| ohos.data.distributedData | DeviceKVStore | removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;<br>removeDeviceData(deviceId: string): Promise<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | getResultSize(query: Query, callback: AsyncCallback<number>): void;<br>getResultSize(query: Query): Promise<number>;<br>getResultSize(deviceId: string, query: Query, callback: AsyncCallback<number>): void;<br>getResultSize(deviceId: string, query: Query): Promise<number>; | Added|
| ohos.data.distributedData | DeviceKVStore | closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;<br>closeResultSet(resultSet: KvStoreResultSet): Promise<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;<br>getResultSet(deviceId: string, keyPrefix: string): Promise<KvStoreResultSet>;<br>getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;<br>getResultSet(query: Query): Promise<KvStoreResultSet>;<br>getResultSet(deviceId: string, query: Query, callback: AsyncCallback<KvStoreResultSet>): void;<br>getResultSet(deviceId: string, query: Query): Promise<KvStoreResultSet>; | Added|
| ohos.data.distributedData | DeviceKVStore | getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback<Entry[]>): void;<br>getEntries(deviceId: string, keyPrefix: string): Promise<Entry[]>;<br>getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;<br>getEntries(query: Query): Promise<Entry[]>;<br>getEntries(deviceId: string, query: Query, callback: AsyncCallback<Entry[]>): void;<br>getEntries(deviceId: string, query: Query): Promise<Entry[]>; | Added|
| ohos.data.distributedData | DeviceKVStore | get(deviceId: string, key: string, callback: AsyncCallback<boolean\|string\|number\|Uint8Array>): void;<br>get(deviceId: string, key: string): Promise<boolean\|string\|number\|Uint8Array>; | Added|
| ohos.data.distributedData | SingleKVStore | getSecurityLevel(callback: AsyncCallback<SecurityLevel>): void;<br>getSecurityLevel(): Promise<SecurityLevel>; | Added|
| ohos.data.distributedData | SingleKVStore | setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback<void>): void;<br>setSyncParam(defaultAllowedDelayMs: number): Promise<void>; | Added|
| ohos.data.distributedData | SingleKVStore | off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void; | Added|
| ohos.data.distributedData | SingleKVStore | on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void; | Added|
| ohos.data.distributedData | SingleKVStore | removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;<br>removeDeviceData(deviceId: string): Promise<void>; | Added|
| ohos.data.distributedData | SingleKVStore | getResultSize(query: Query, callback: AsyncCallback<number>): void;<br>getResultSize(query: Query): Promise<number>; | Added|
| ohos.data.distributedData | SingleKVStore | closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;<br>closeResultSet(resultSet: KvStoreResultSet): Promise<void>; | Added|
| ohos.data.distributedData | SingleKVStore | getResultSet(keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;<br>getResultSet(keyPrefix: string): Promise<KvStoreResultSet>;<br>getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;<br>getResultSet(query: Query): Promise<KvStoreResultSet>; | Added|
| ohos.data.distributedData | SingleKVStore | getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void;<br>getEntries(keyPrefix: string): Promise<Entry[]>;<br>getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;<br>getEntries(query: Query): Promise<Entry[]>; | Added|
| ohos.data.distributedData | KVStore | setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback<void>): void;<br>setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | enableSync(enabled: boolean, callback: AsyncCallback<void>): void;<br>enableSync(enabled: boolean): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | rollback(callback: AsyncCallback<void>): void;<br>rollback(): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | commit(callback: AsyncCallback<void>): void;<br>commit(): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | startTransaction(callback: AsyncCallback<void>): void;<br>startTransaction(): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | deleteBatch(keys: string[], callback: AsyncCallback<void>): void;<br>deleteBatch(keys: string[]): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | putBatch(entries: Entry[], callback: AsyncCallback<void>): void;<br>putBatch(entries: Entry[]): Promise<void>; | Added|
| ohos.data.distributedData | KVStore | off(event:'dataChange', observer?: Callback<ChangeNotification>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | removeDeviceData(deviceId: string, callback: AsyncCallback\<void>): void;<br>removeDeviceData(deviceId: string): Promise\<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | getResultSize(query: Query, callback: AsyncCallback\<number>): void;<br>getResultSize(query: Query): Promise\<number>;<br>getResultSize(deviceId: string, query: Query, callback: AsyncCallback\<number>): void;<br>getResultSize(deviceId: string, query: Query): Promise\<number>; | Added|
| ohos.data.distributedData | DeviceKVStore | closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback\<void>): void;<br>closeResultSet(resultSet: KvStoreResultSet): Promise\<void>; | Added|
| ohos.data.distributedData | DeviceKVStore | getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback\<KvStoreResultSet>): void;<br>getResultSet(deviceId: string, keyPrefix: string): Promise\<KvStoreResultSet>;<br>getResultSet(query: Query, callback: AsyncCallback\<KvStoreResultSet>): void;<br>getResultSet(query: Query): Promise\<KvStoreResultSet>;<br>getResultSet(deviceId: string, query: Query, callback: AsyncCallback\<KvStoreResultSet>): void;<br>getResultSet(deviceId: string, query: Query): Promise\<KvStoreResultSet>; | Added|
| ohos.data.distributedData | DeviceKVStore | getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback\<Entry[]>): void;<br>getEntries(deviceId: string, keyPrefix: string): Promise\<Entry[]>;<br>getEntries(query: Query, callback: AsyncCallback\<Entry[]>): void;<br>getEntries(query: Query): Promise\<Entry[]>;<br>getEntries(deviceId: string, query: Query, callback: AsyncCallback\<Entry[]>): void;<br>getEntries(deviceId: string, query: Query): Promise\<Entry[]>; | Added|
| ohos.data.distributedData | DeviceKVStore | get(deviceId: string, key: string, callback: AsyncCallback\<boolean\|string\|number\|Uint8Array>): void;<br>get(deviceId: string, key: string): Promise\<boolean\|string\|number\|Uint8Array>; | Added|
| ohos.data.distributedData | SingleKVStore | getSecurityLevel(callback: AsyncCallback\<SecurityLevel>): void;<br>getSecurityLevel(): Promise\<SecurityLevel>; | Added|
| ohos.data.distributedData | SingleKVStore | setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback\<void>): void;<br>setSyncParam(defaultAllowedDelayMs: number): Promise\<void>; | Added|
| ohos.data.distributedData | SingleKVStore | off(event: 'syncComplete', syncCallback?: Callback\<Array\<[string, number]>>): void; | Added|
| ohos.data.distributedData | SingleKVStore | on(event: 'syncComplete', syncCallback: Callback\<Array\<[string, number]>>): void; | Added|
| ohos.data.distributedData | SingleKVStore | removeDeviceData(deviceId: string, callback: AsyncCallback\<void>): void;<br>removeDeviceData(deviceId: string): Promise\<void>; | Added|
| ohos.data.distributedData | SingleKVStore | getResultSize(query: Query, callback: AsyncCallback\<number>): void;<br>getResultSize(query: Query): Promise\<number>; | Added|
| ohos.data.distributedData | SingleKVStore | closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback\<void>): void;<br>closeResultSet(resultSet: KvStoreResultSet): Promise\<void>; | Added|
| ohos.data.distributedData | SingleKVStore | getResultSet(keyPrefix: string, callback: AsyncCallback\<KvStoreResultSet>): void;<br>getResultSet(keyPrefix: string): Promise\<KvStoreResultSet>;<br>getResultSet(query: Query, callback: AsyncCallback\<KvStoreResultSet>): void;<br>getResultSet(query: Query): Promise\<KvStoreResultSet>; | Added|
| ohos.data.distributedData | SingleKVStore | getEntries(keyPrefix: string, callback: AsyncCallback\<Entry[]>): void;<br>getEntries(keyPrefix: string): Promise\<Entry[]>;<br>getEntries(query: Query, callback: AsyncCallback\<Entry[]>): void;<br>getEntries(query: Query): Promise\<Entry[]>; | Added|
| ohos.data.distributedData | KVStore | setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback\<void>): void;<br>setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | enableSync(enabled: boolean, callback: AsyncCallback\<void>): void;<br>enableSync(enabled: boolean): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | rollback(callback: AsyncCallback\<void>): void;<br>rollback(): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | commit(callback: AsyncCallback\<void>): void;<br>commit(): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | startTransaction(callback: AsyncCallback\<void>): void;<br>startTransaction(): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | deleteBatch(keys: string[], callback: AsyncCallback\<void>): void;<br>deleteBatch(keys: string[]): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | putBatch(entries: Entry[], callback: AsyncCallback\<void>): void;<br>putBatch(entries: Entry[]): Promise\<void>; | Added|
| ohos.data.distributedData | KVStore | off(event:'dataChange', observer?: Callback\<ChangeNotification>): void; | Added|
| ohos.data.distributedData | Query | getSqlLike():string; | Added|
| ohos.data.distributedData | Query | deviceId(deviceId:string):Query; | Added|
| ohos.data.distributedData | Query | setSuggestIndex(index: string): Query; | Added|
......@@ -105,7 +105,7 @@ The table below lists the APIs changes of the distributed data management subsys
| ohos.data.distributedData | FieldNode | constructor(name: string) | Added|
| ohos.data.distributedData | Schema | skip: number; | Added|
| ohos.data.distributedData | Schema | mode: number; | Added|
| ohos.data.distributedData | Schema | indexes: Array<string>; | Added|
| ohos.data.distributedData | Schema | indexes: Array\<string>; | Added|
| ohos.data.distributedData | Schema | root: FieldNode; | Added|
| ohos.data.distributedData | Schema | constructor() | Added|
| ohos.data.distributedData | Options | schema?: Schema; | Added|
......@@ -7,8 +7,8 @@ The table below lists the APIs changes of the Distributed Data Management subsys
| Module | API | Change Type | Change Description |
| -------- | -------- | -------- | -------- |
| Distributed Hardware Subsystem - DeviceManager| release(): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| getTrustedDeviceListSync(): Array<DeviceInfo> | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| off(type: 'deviceStateChange', callback?: Call back<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| getTrustedDeviceListSync(): Array\<DeviceInfo> | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| on(type: 'serviceDie', callback: () => void): void | Deleted| This API is deleted to reduce security risks.|
| Distributed Hardware Subsystem - DeviceManager| off(type: 'serviceDie', callback?: () => void): void | Deleted| This API is deleted to reduce security risks.|
......@@ -9,8 +9,8 @@ The table below lists the APIs changes of the common event and notification fram
| notificationUserInput | NotificationUserInput | inputKey: string; | Added|
| notificationTemplate | NotificationTemplate | data: {[key: string]: Object}; | Added|
| notificationTemplate | NotificationTemplate | name: string; | Added|
| notificationRequest | DistributedOptions | supportOperateDevices?: Array<string>; | Added|
| notificationRequest | DistributedOptions | supportDisplayDevices?: Array<string>; | Added|
| notificationRequest | DistributedOptions | supportOperateDevices?: Array\<string>; | Added|
| notificationRequest | DistributedOptions | supportDisplayDevices?: Array\<string>; | Added|
| notificationRequest | DistributedOptions | isDistributed?: boolean; | Added|
| notificationRequest | NotificationRequest | readonly notificationFlags?: NotificationFlags; | Added|
| notificationRequest | NotificationRequest | distributedOption?: DistributedOptions; | Added|
......@@ -18,10 +18,10 @@ The table below lists the APIs changes of the common event and notification fram
| notificationRequest | NotificationRequest | readonly creatorUserId?: number; | Added|
| notificationRequest | NotificationRequest | groupName?: string; | Added|
| notificationActionButton | NotificationActionButton | userInput?: NotificationUserInput; | Added|
| ohos.notification | notification | function isDistributedEnabled(callback: AsyncCallback<boolean>): void;<br>function isDistributedEnabled(): Promise<boolean>; | Added|
| ohos.notification | notification | function requestEnableNotification(callback: AsyncCallback<void>): void;<br>function requestEnableNotification(): Promise<void>; | Added|
| ohos.notification | notification | function isSupportTemplate(templateName: string, callback: AsyncCallback<boolean>): void;<br>function isSupportTemplate(templateName: string): Promise<boolean>; | Added|
| ohos.notification | notification | function cancelGroup(groupName: string, callback: AsyncCallback<void>): void;<br>function cancelGroup(groupName: string): Promise<void>; | Added|
| ohos.notification | notification | isDistributedEnabled(callback: AsyncCallback\<boolean>): void;<br>isDistributedEnabled(): Promise\<boolean>; | Added|
| ohos.notification | notification | requestEnableNotification(callback: AsyncCallback\<void>): void;<br>requestEnableNotification(): Promise\<void>; | Added|
| ohos.notification | notification | isSupportTemplate(templateName: string, callback: AsyncCallback\<boolean>): void;<br>isSupportTemplate(templateName: string): Promise\<boolean>; | Added|
| ohos.notification | notification | cancelGroup(groupName: string, callback: AsyncCallback\<void>): void;<br>cancelGroup(groupName: string): Promise\<void>; | Added|
| ohos.events.emitter | EventPriority | IDLE | Added|
| ohos.events.emitter | EventPriority | LOW | Added|
| ohos.events.emitter | EventPriority | HIGH | Added|
......@@ -29,9 +29,9 @@ The table below lists the APIs changes of the common event and notification fram
| ohos.events.emitter | InnerEvent | priority?: EventPriority; | Added|
| ohos.events.emitter | InnerEvent | eventId: number; | Added|
| ohos.events.emitter | EventData | data?: {[key: string]: any}; | Added|
| ohos.events.emitter | emitter | function emit(event: InnerEvent, data?: EventData): void; | Added|
| ohos.events.emitter | emitter | function off(eventId: number): void; | Added|
| ohos.events.emitter | emitter | function once(event: InnerEvent, callback: Callback<EventData>): void; | Added|
| ohos.events.emitter | emitter | function on(event: InnerEvent, callback: Callback<EventData>): void; | Added|
| ohos.events.emitter | emitter | emit(event: InnerEvent, data?: EventData): void; | Added|
| ohos.events.emitter | emitter | off(eventId: number): void; | Added|
| ohos.events.emitter | emitter | once(event: InnerEvent, callback: Callback\<EventData>): void; | Added|
| ohos.events.emitter | emitter | on(event: InnerEvent, callback: Callback\<EventData>): void; | Added|
| ohos.commonEvent | Support | COMMON_EVENT_SPLIT_SCREEN = "common.event.SPLIT_SCREEN" | Added|
| ohos.commonEvent | Support | COMMON_EVENT_THERMAL_LEVEL_CHANGED = "usual.event.THERMAL_LEVEL_CHANGED" | Added|
......@@ -6,53 +6,53 @@ The table below lists the APIs changes of the file management subsystem in OpenH
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.statfs | Statfs | function getTotalBytes(path: string, callback: AsyncCallback<number>): void;<br>function getTotalBytes(path: string): Promise<number>; | Added|
| ohos.statfs | Statfs | function getFreeBytes(path: string, callback: AsyncCallback<number>): void;<br>function getFreeBytes(path: string): Promise<number>; | Added|
| ohos.fileio | Watcher | stop(): Promise<void>;<br>stop(callback: AsyncCallback<void>): void; | Added|
| ohos.statfs | Statfs | getTotalBytes(path: string, callback: AsyncCallback\<number>): void;<br>getTotalBytes(path: string): Promise\<number>; | Added|
| ohos.statfs | Statfs | getFreeBytes(path: string, callback: AsyncCallback\<number>): void;<br>getFreeBytes(path: string): Promise\<number>; | Added|
| ohos.fileio | Watcher | stop(): Promise\<void>;<br>stop(callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | ReadOut | buffer: ArrayBuffer; | Added|
| ohos.fileio | ReadOut | offset: number; | Added|
| ohos.fileio | ReadOut | bytesRead: number; | Added|
| ohos.fileio | Stream | read(buffer: ArrayBuffer, options?: { position?: number; offset?: number; length?: number; }): Promise<ReadOut>;<br>read(buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;<br>read(buffer: ArrayBuffer, options: { position?: number; offset?: number; length?: number; }, callback: AsyncCallback<ReadOut>): void; | Added|
| ohos.fileio | Stream | write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise<number>;<br>write(buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;<br>write(buffer: ArrayBuffer \| string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback<number>): void; | Added|
| ohos.fileio | Stream | flush(): Promise<void>;<br>flush(callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | Stream | close(): Promise<void>;<br>close(callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | Dir | close(): Promise<void>;<br>close(callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | Dir | read(): Promise<Dirent>;<br>read(callback: AsyncCallback<Dirent>): void; | Added|
| ohos.fileio | fileIO | function createWatcher(filename: string, events: number, callback: AsyncCallback<number>): Watcher; | Added|
| ohos.fileio | fileIO | function write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise<number>;<br>function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;<br>function write(fd: number, buffer: ArrayBuffer \| string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback<number>): void; | Added|
| ohos.fileio | fileIO | function unlink(path: string): Promise<void>;<br>function unlink(path: string, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function truncate(path: string, len?: number): Promise<void>;<br>function truncate(path: string, callback: AsyncCallback<void>): void;<br>function truncate(path: string, len: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function symlinkSync(target: string, srcPath: string): void; | Added|
| ohos.fileio | fileIO | function symlink(target: string, srcPath: string): Promise<void>;<br>function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function stat(path: string): Promise<Stat>;<br>function stat(path: string, callback: AsyncCallback<Stat>): void; | Added|
| ohos.fileio | fileIO | function rmdir(path: string): Promise<void>;<br>function rmdir(path: string, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function rename(oldPath: string, newPath: string): Promise<void>;<br>function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): Promise<ReadOut><br>function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;<br>function read(fd: number, buffer: ArrayBuffer, options: { offset?: number; length?: number; position?: number; }, callback: AsyncCallback<ReadOut>): void; | Added|
| ohos.fileio | fileIO | function readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string;| Added|
| ohos.fileio | fileIO | function readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise<string>;<br>function readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback<string>): void; | Added|
| ohos.fileio | fileIO | function opendir(path: string): Promise<Dir>;<br>function opendir(path: string, callback: AsyncCallback<Dir>): void; | Added|
| ohos.fileio | fileIO | function open(path: string, flags?: number, mode?: number): Promise<number>;<br>function open(path: string, callback: AsyncCallback<number>): void;<br>function open(path: string, flags: number, callback: AsyncCallback<number>): void;<br>function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void; | Added|
| ohos.fileio | fileIO | function mkdtempSync(prefix: string): string; | Added|
| ohos.fileio | fileIO | function mkdtemp(prefix: string): Promise<string>;<br>function mkdtemp(prefix: string, callback: AsyncCallback<string>): void; | Added|
| ohos.fileio | fileIO | function mkdir(path: string, mode?: number): Promise<void>;<br>function mkdir(path: string, callback: AsyncCallback<void>): void;<br>function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function lstatSync(path: string): Stat; | Added|
| ohos.fileio | fileIO | function lstat(path: string): Promise<Stat>;<br>function lstat(path: string, callback: AsyncCallback<Stat>): void; | Added|
| ohos.fileio | fileIO | function lchownSync(path: string, uid: number, gid: number): void; | Added|
| ohos.fileio | fileIO | function lchown(path: string, uid: number, gid: number): Promise<void>;<br>function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function hash(path: string, algorithm: string): Promise<string>;<br>function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void; | Added|
| ohos.fileio | fileIO | function fdopenStream(fd: number, mode: string): Promise<Stream>;<br>function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void; | Added|
| ohos.fileio | fileIO | function fchmod(fd: number, mode: number): Promise<void>;<br>function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function fchown(fd: number, uid: number, gid: number): Promise<void>;<br>function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function fdatasyncSync(fd: number): void; | Added|
| ohos.fileio | fileIO | function fdatasync(fd: number): Promise<void>;<br>function fdatasync(fd: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function fstat(fd: number): Promise<Stat>;<br>function fstat(fd: number, callback: AsyncCallback<Stat>): void; | Added|
| ohos.fileio | fileIO | function fsync(fd: number): Promise<void>;<br>function fsync(fd: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function ftruncate(fd: number, len?: number): Promise<void>;<br>function ftruncate(fd: number, callback: AsyncCallback<void>): void;<br>function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function chmod(path: string, mode: number): Promise<void>;<br>function chmod(path: string, mode: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function chown(path: string, uid: number, gid: number): Promise<void>;<br>function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function createStream(path: string, mode: string): Promise<Stream>;<br>function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void; | Added|
| ohos.fileio | fileIO | function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;<br>function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;<br>function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function close(fd: number): Promise<void>;<br>function close(fd: number, callback: AsyncCallback<void>): void; | Added|
| ohos.fileio | fileIO | function access(path: string, mode?: number): Promise<void>;<br>function access(path: string, callback: AsyncCallback<void>): void;<br>function access(path: string, mode: number, callback: AsyncCallback<void>): void; | Added|
| ohos.document | document | function show(uri: string, type: string): Promise<void>;<br>function show(uri: string, type: string, callback: AsyncCallback<void>): void; | Added|
| ohos.document | document | function choose(types?: string[]): Promise<string>;<br>function choose(callback: AsyncCallback<string>): void;<br>function choose(types: string[], callback: AsyncCallback<string>): void; | Added|
| ohos.fileio | Stream | read(buffer: ArrayBuffer, options?: { position?: number; offset?: number; length?: number; }): Promise\<ReadOut>;<br>read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>read(buffer: ArrayBuffer, options: { position?: number; offset?: number; length?: number; }, callback: AsyncCallback\<ReadOut>): void; | Added|
| ohos.fileio | Stream | write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise\<number>;<br>write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>write(buffer: ArrayBuffer \| string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback\<number>): void; | Added|
| ohos.fileio | Stream | flush(): Promise\<void>;<br>flush(callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | Stream | close(): Promise\<void>;<br>close(callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | Dir | close(): Promise\<void>;<br>close(callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | Dir | read(): Promise\<Dirent>;<br>read(callback: AsyncCallback\<Dirent>): void; | Added|
| ohos.fileio | fileIO | createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher; | Added|
| ohos.fileio | fileIO | write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise\<number>;<br>write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>write(fd: number, buffer: ArrayBuffer \| string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback\<number>): void; | Added|
| ohos.fileio | fileIO | unlink(path: string): Promise\<void>;<br>unlink(path: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | truncate(path: string, len?: number): Promise\<void>;<br>truncate(path: string, callback: AsyncCallback\<void>): void;<br>truncate(path: string, len: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | symlinkSync(target: string, srcPath: string): void; | Added|
| ohos.fileio | fileIO | symlink(target: string, srcPath: string): Promise\<void>;<br>symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | stat(path: string): Promise\<Stat>;<br>stat(path: string, callback: AsyncCallback\<Stat>): void; | Added|
| ohos.fileio | fileIO | rmdir(path: string): Promise\<void>;<br>rmdir(path: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | rename(oldPath: string, newPath: string): Promise\<void>;<br>rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): Promise\<ReadOut><br>read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>read(fd: number, buffer: ArrayBuffer, options: { offset?: number; length?: number; position?: number; }, callback: AsyncCallback\<ReadOut>): void; | Added|
| ohos.fileio | fileIO | readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string; | Added|
| ohos.fileio | fileIO | readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise\<string>;<br>readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback\<string>): void; | Added|
| ohos.fileio | fileIO | opendir(path: string): Promise\<Dir>;<br>opendir(path: string, callback: AsyncCallback\<Dir>): void; | Added|
| ohos.fileio | fileIO | open(path: string, flags?: number, mode?: number): Promise\<number>;<br>open(path: string, callback: AsyncCallback\<number>): void;<br>open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void; | Added|
| ohos.fileio | fileIO | mkdtempSync(prefix: string): string; | Added|
| ohos.fileio | fileIO | mkdtemp(prefix: string): Promise\<string>;<br>mkdtemp(prefix: string, callback: AsyncCallback\<string>): void; | Added|
| ohos.fileio | fileIO | mkdir(path: string, mode?: number): Promise\<void>;<br>mkdir(path: string, callback: AsyncCallback\<void>): void;<br>mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | lstatSync(path: string): Stat; | Added|
| ohos.fileio | fileIO | lstat(path: string): Promise\<Stat>;<br>lstat(path: string, callback: AsyncCallback\<Stat>): void; | Added|
| ohos.fileio | fileIO | lchownSync(path: string, uid: number, gid: number): void; | Added|
| ohos.fileio | fileIO | lchown(path: string, uid: number, gid: number): Promise\<void>;<br>lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | hash(path: string, algorithm: string): Promise\<string>;<br>hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void; | Added|
| ohos.fileio | fileIO | fdopenStream(fd: number, mode: string): Promise\<Stream>;<br>fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void; | Added|
| ohos.fileio | fileIO | fchmod(fd: number, mode: number): Promise\<void>;<br>fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | fchown(fd: number, uid: number, gid: number): Promise\<void>;<br>fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | fdatasyncSync(fd: number): void; | Added|
| ohos.fileio | fileIO | fdatasync(fd: number): Promise\<void>;<br>fdatasync(fd: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | fstat(fd: number): Promise\<Stat>;<br>fstat(fd: number, callback: AsyncCallback\<Stat>): void; | Added|
| ohos.fileio | fileIO | fsync(fd: number): Promise\<void>;<br>fsync(fd: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | ftruncate(fd: number, len?: number): Promise\<void>;<br>ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | chmod(path: string, mode: number): Promise\<void>;<br>chmod(path: string, mode: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | chown(path: string, uid: number, gid: number): Promise\<void>;<br>chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | createStream(path: string, mode: string): Promise\<Stream>;<br>createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void; | Added|
| ohos.fileio | fileIO | copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | close(fd: number): Promise\<void>;<br>close(fd: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.fileio | fileIO | access(path: string, mode?: number): Promise\<void>;<br>access(path: string, callback: AsyncCallback\<void>): void;<br>access(path: string, mode: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.document | document | show(uri: string, type: string): Promise\<void>;<br>show(uri: string, type: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.document | document | choose(types?: string[]): Promise\<string>;<br>choose(callback: AsyncCallback\<string>): void;<br>choose(types: string[], callback: AsyncCallback\<string>): void; | Added|
......@@ -29,7 +29,7 @@ The table below lists the APIs changes of the location subsystem in OpenHarmony
| ohos.geolocation | LocationRequestPriority | ACCURACY | Added|
| ohos.geolocation | LocationRequestPriority | UNSET = 0x200 | Added|
| ohos.geolocation | Location | additionSize?: number; | Added|
| ohos.geolocation | Location | additions?: Array<string>; | Added|
| ohos.geolocation | Location | additions?: Array\<string>; | Added|
| ohos.geolocation | Location | timeSinceBoot: number; | Added|
| ohos.geolocation | Location | direction: number; | Added|
| ohos.geolocation | Location | timeStamp: number; | Added|
......@@ -48,7 +48,7 @@ The table below lists the APIs changes of the location subsystem in OpenHarmony
| ohos.geolocation | LocationRequest | scenario?: LocationRequestScenario; | Added|
| ohos.geolocation | LocationRequest | priority?: LocationRequestPriority; | Added|
| ohos.geolocation | GeoAddress | descriptionsSize?: number; | Added|
| ohos.geolocation | GeoAddress | descriptions?: Array<string>; | Added|
| ohos.geolocation | GeoAddress | descriptions?: Array\<string>; | Added|
| ohos.geolocation | GeoAddress | addressUrl?: string; | Added|
| ohos.geolocation | GeoAddress | phoneNumber?: string; | Added|
| ohos.geolocation | GeoAddress | postalCode?: string; | Added|
......@@ -85,31 +85,31 @@ The table below lists the APIs changes of the location subsystem in OpenHarmony
| ohos.geolocation | GeofenceRequest | priority: LocationRequestPriority; | Added|
| ohos.geolocation | CachedGnssLocationsRequest | wakeUpCacheQueueFull: boolean; | Added|
| ohos.geolocation | CachedGnssLocationsRequest | reportingPeriodSec: number; | Added|
| ohos.geolocation | SatelliteStatusInfo | carrierFrequencies: Array<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | azimuths: Array<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | altitudes: Array<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | carrierToNoiseDensitys: Array<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | satelliteIds: Array<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | carrierFrequencies: Array\<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | azimuths: Array\<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | altitudes: Array\<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | carrierToNoiseDensitys: Array\<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | satelliteIds: Array\<number>; | Added|
| ohos.geolocation | SatelliteStatusInfo | satellitesNumber: number; | Added|
| ohos.geolocation | geolocation | function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>) : void;<br>function sendCommand(command: LocationCommand) : Promise<boolean>; | Added|
| ohos.geolocation | geolocation | function flushCachedGnssLocations(callback: AsyncCallback<boolean>) : void;<br>function flushCachedGnssLocations() : Promise<boolean>; | Added|
| ohos.geolocation | geolocation | function getCachedGnssLocationsSize(callback: AsyncCallback<number>) : void;<br>function getCachedGnssLocationsSize() : Promise<number>; | Added|
| ohos.geolocation | geolocation | function isGeoServiceAvailable(callback: AsyncCallback<boolean>) : void;<br>function isGeoServiceAvailable() : Promise<boolean>; | Added|
| ohos.geolocation | geolocation | function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>) : void;<br>function getAddressesFromLocationName(request: GeoCodeRequest) : Promise<Array<GeoAddress>>; | Added|
| ohos.geolocation | geolocation | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>) : void;<br>function getAddressesFromLocation(request: ReverseGeoCodeRequest) : Promise<Array<GeoAddress>>; | Added|
| ohos.geolocation | geolocation | function requestEnableLocation(callback: AsyncCallback<boolean>) : void;<br>function requestEnableLocation() : Promise<boolean>; | Added|
| ohos.geolocation | geolocation | function isLocationEnabled(callback: AsyncCallback<boolean>) : void;<br>function isLocationEnabled() : Promise<boolean>; | Added|
| ohos.geolocation | geolocation | function getLastLocation(callback: AsyncCallback<Location>) : void;<br>function getLastLocation() : Promise<Location>; | Added|
| ohos.geolocation | geolocation | function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>) : void;<br>function getCurrentLocation(callback: AsyncCallback<Location>) : void;<br>function getCurrentLocation(request?: CurrentLocationRequest) : Promise<Location>; | Added|
| ohos.geolocation | geolocation | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent) : void; | Added|
| ohos.geolocation | geolocation | function off(type: 'nmeaMessageChange', callback?: Callback<string>) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'nmeaMessageChange', callback: Callback<string>) : void; | Added|
| ohos.geolocation | geolocation | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>) : void; | Added|
| ohos.geolocation | geolocation | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>) : void; | Added|
| ohos.geolocation | geolocation | function off(type: 'locationServiceState', callback?: Callback<boolean>) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'locationServiceState', callback: Callback<boolean>) : void; | Added|
| ohos.geolocation | geolocation | function off(type: 'locationChange', callback?: Callback<Location>) : void; | Added|
| ohos.geolocation | geolocation | function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>) : void; | Added|
| ohos.geolocation | geolocation | sendCommand(command: LocationCommand, callback: AsyncCallback\<boolean>) : void;<br>sendCommand(command: LocationCommand) : Promise\<boolean>; | Added|
| ohos.geolocation | geolocation | flushCachedGnssLocations(callback: AsyncCallback\<boolean>) : void;<br>flushCachedGnssLocations() : Promise\<boolean>; | Added|
| ohos.geolocation | geolocation | getCachedGnssLocationsSize(callback: AsyncCallback\<number>) : void;<br>getCachedGnssLocationsSize() : Promise\<number>; | Added|
| ohos.geolocation | geolocation | isGeoServiceAvailable(callback: AsyncCallback\<boolean>) : void;<br>isGeoServiceAvailable() : Promise\<boolean>; | Added|
| ohos.geolocation | geolocation | getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback\<Array\<GeoAddress>>) : void;<br>getAddressesFromLocationName(request: GeoCodeRequest) : Promise\<Array\<GeoAddress>>; | Added|
| ohos.geolocation | geolocation | getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback\<Array\<GeoAddress>>) : void;<br>getAddressesFromLocation(request: ReverseGeoCodeRequest) : Promise\<Array\<GeoAddress>>; | Added|
| ohos.geolocation | geolocation | requestEnableLocation(callback: AsyncCallback\<boolean>) : void;<br>requestEnableLocation() : Promise\<boolean>; | Added|
| ohos.geolocation | geolocation | isLocationEnabled(callback: AsyncCallback\<boolean>) : void;<br>isLocationEnabled() : Promise\<boolean>; | Added|
| ohos.geolocation | geolocation | getLastLocation(callback: AsyncCallback\<Location>) : void;<br>getLastLocation() : Promise\<Location>; | Added|
| ohos.geolocation | geolocation | getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback\<Location>) : void;<br>getCurrentLocation(callback: AsyncCallback\<Location>) : void;<br>getCurrentLocation(request?: CurrentLocationRequest) : Promise\<Location>; | Added|
| ohos.geolocation | geolocation | off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent) : void; | Added|
| ohos.geolocation | geolocation | off(type: 'nmeaMessageChange', callback?: Callback\<string>) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'nmeaMessageChange', callback: Callback\<string>) : void; | Added|
| ohos.geolocation | geolocation | off(type: 'gnssStatusChange', callback?: Callback\<SatelliteStatusInfo>) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'gnssStatusChange', callback: Callback\<SatelliteStatusInfo>) : void; | Added|
| ohos.geolocation | geolocation | off(type: 'cachedGnssLocationsReporting', callback?: Callback\<Array\<Location>>) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback\<Array\<Location>>) : void; | Added|
| ohos.geolocation | geolocation | off(type: 'locationServiceState', callback?: Callback\<boolean>) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'locationServiceState', callback: Callback\<boolean>) : void; | Added|
| ohos.geolocation | geolocation | off(type: 'locationChange', callback?: Callback\<Location>) : void; | Added|
| ohos.geolocation | geolocation | on(type: 'locationChange', request: LocationRequest, callback: Callback\<Location>) : void; | Added|
......@@ -10,12 +10,12 @@ The table below lists the APIs changes of the globalization subsystem in OpenHar
| rawFileDescriptor | RawFileDescriptor | offset: number; | Added|
| rawFileDescriptor | RawFileDescriptor | fd: number; | Added|
| ohos.resourceManager | ResourceManager | release(); | Added|
| ohos.resourceManager | ResourceManager | closeRawFileDescriptor(path: string, callback: AsyncCallback<void>): void;<br>closeRawFileDescriptor(path: string): Promise<void>; | Added|
| ohos.resourceManager | ResourceManager | getRawFileDescriptor(path: string, callback: AsyncCallback<RawFileDescriptor>): void;<br>getRawFileDescriptor(path: string): Promise<RawFileDescriptor>; | Added|
| ohos.resourceManager | ResourceManager | getRawFile(path: string, callback: AsyncCallback<Uint8Array>): void;<br>getRawFile(path: string): Promise<Uint8Array>; | Added|
| ohos.resourceManager | resourceManager | function getResourceManager(callback: AsyncCallback<ResourceManager>): void;<br>export function getResourceManager(bundleName: string, callback: AsyncCallback<ResourceManager>): void;<br>export function getResourceManager(): Promise<ResourceManager>;<br>export function getResourceManager(bundleName: string): Promise<ResourceManager>; | Added|
| ohos.resourceManager | ResourceManager | closeRawFileDescriptor(path: string, callback: AsyncCallback\<void>): void;<br>closeRawFileDescriptor(path: string): Promise\<void>; | Added|
| ohos.resourceManager | ResourceManager | getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void;<br>getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>; | Added|
| ohos.resourceManager | ResourceManager | getRawFile(path: string, callback: AsyncCallback\<Uint8Array>): void;<br>getRawFile(path: string): Promise\<Uint8Array>; | Added|
| ohos.resourceManager | resourceManager | getResourceManager(callback: AsyncCallback\<ResourceManager>): void;<br>getResourceManager(bundleName: string, callback: AsyncCallback\<ResourceManager>): void;<br>getResourceManager(): Promise\<ResourceManager>;<br>getResourceManager(bundleName: string): Promise\<ResourceManager>; | Added|
| ohos.intl | RelativeTimeFormat | resolvedOptions(): RelativeTimeFormatResolvedOptions; | Added|
| ohos.intl | RelativeTimeFormat | formatToParts(value: number, unit: string): Array<object>; | Added|
| ohos.intl | RelativeTimeFormat | formatToParts(value: number, unit: string): Array\<object>; | Added|
| ohos.intl | RelativeTimeFormat | format(value: number, unit: string): string; | Added|
| ohos.intl | RelativeTimeFormat | constructor(); | Added|
| ohos.intl | RelativeTimeFormatResolvedOptions | numberingSystem: string; | Added|
......@@ -55,13 +55,13 @@ The table below lists the APIs changes of the globalization subsystem in OpenHar
| ohos.i18n | TimeZone | getRawOffset(): number; | Added|
| ohos.i18n | TimeZone | getDisplayName(locale?: string, isDST?: boolean): string; | Added|
| ohos.i18n | TimeZone | getID(): string; | Added|
| ohos.i18n | i18n | function getTimeZone(zoneID?: string): TimeZone; | Added|
| ohos.i18n | i18n | function getFirstPreferredLanguage(): string; | Added|
| ohos.i18n | i18n | function getPreferredLanguageList(): Array<string>; | Added|
| ohos.i18n | i18n | function removePreferredLanguage(index: number): boolean; | Added|
| ohos.i18n | i18n | function addPreferredLanguage(language: string, index?: number): boolean; | Added|
| ohos.i18n | i18n | function set24HourClock(option: boolean): boolean; | Added|
| ohos.i18n | i18n | function is24HourClock(): boolean; | Added|
| ohos.i18n | i18n | getTimeZone(zoneID?: string): TimeZone; | Added|
| ohos.i18n | i18n | getFirstPreferredLanguage(): string; | Added|
| ohos.i18n | i18n | getPreferredLanguageList(): Array\<string>; | Added|
| ohos.i18n | i18n | removePreferredLanguage(index: number): boolean; | Added|
| ohos.i18n | i18n | addPreferredLanguage(language: string, index?: number): boolean; | Added|
| ohos.i18n | i18n | set24HourClock(option: boolean): boolean; | Added|
| ohos.i18n | i18n | is24HourClock(): boolean; | Added|
| ohos.i18n | Character | getType(char: string): string; | Added|
| ohos.i18n | Character | isUpperCase(char: string): boolean; | Added|
| ohos.i18n | Character | isLowerCase(char: string): boolean; | Added|
......@@ -73,8 +73,8 @@ The table below lists the APIs changes of the globalization subsystem in OpenHar
| ohos.i18n | Character | isDigit(char: string): boolean; | Added|
| ohos.i18n | IndexUtil | getIndex(text: string): string; | Added|
| ohos.i18n | IndexUtil | addLocale(locale: string): void; | Added|
| ohos.i18n | IndexUtil | getIndexList(): Array<string>; | Added|
| ohos.i18n | i18n | function getInstance(locale?:string): IndexUtil; | Added|
| ohos.i18n | IndexUtil | getIndexList(): Array\<string>; | Added|
| ohos.i18n | i18n | getInstance(locale?:string): IndexUtil; | Added|
| ohos.i18n | BreakIterator | isBoundary(offset: number): boolean; | Added|
| ohos.i18n | BreakIterator | getLineBreakText(): string; | Added|
| ohos.i18n | BreakIterator | following(offset: number): number; | Added|
......@@ -84,8 +84,8 @@ The table below lists the APIs changes of the globalization subsystem in OpenHar
| ohos.i18n | BreakIterator | last(): number; | Added|
| ohos.i18n | BreakIterator | first(): number; | Added|
| ohos.i18n | BreakIterator | current(): number; | Added|
| ohos.i18n | i18n | function getLineInstance(locale: string): BreakIterator; | Added|
| ohos.i18n | i18n | function isRTL(locale: string): boolean; | Added|
| ohos.i18n | i18n | getLineInstance(locale: string): BreakIterator; | Added|
| ohos.i18n | i18n | isRTL(locale: string): boolean; | Added|
| ohos.i18n | Calendar | isWeekend(date?: Date): boolean; | Added|
| ohos.i18n | Calendar | getDisplayName(locale: string): string; | Added|
| ohos.i18n | Calendar | get(field: string): number; | Added|
......@@ -97,7 +97,7 @@ The table below lists the APIs changes of the globalization subsystem in OpenHar
| ohos.i18n | Calendar | setTimeZone(timezone: string): void; | Added|
| ohos.i18n | Calendar | set(year: number, month: number, date:number, hour?: number, minute?: number, second?: number): void; | Added|
| ohos.i18n | Calendar | setTime(date: Date): void;<br>setTime(time: number): void; | Added|
| ohos.i18n | i18n | function getCalendar(locale: string, type?: string): Calendar; | Added|
| ohos.i18n | i18n | getCalendar(locale: string, type?: string): Calendar; | Added|
| ohos.i18n | PhoneNumberFormat | format(number: string): string; | Added|
| ohos.i18n | PhoneNumberFormat | isValidNumber(number: string): boolean; | Added|
| ohos.i18n | PhoneNumberFormat | constructor(country: string, options?: PhoneNumberFormatOptions); | Added|
......
......@@ -10,34 +10,34 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.wallpaper | RgbaColor | blue: number; | Added|
| ohos.wallpaper | RgbaColor | green: number; | Added|
| ohos.wallpaper | RgbaColor | red: number; | Added|
| ohos.wallpaper | wallpaper | function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; | Added|
| ohos.wallpaper | wallpaper | function on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; | Added|
| ohos.wallpaper | wallpaper | function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;<br>function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType): Promise<void>; | Added|
| ohos.wallpaper | wallpaper | function reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;<br>function reset(wallpaperType: WallpaperType): Promise<void>; | Added|
| ohos.wallpaper | wallpaper | function isOperationAllowed(callback: AsyncCallback<boolean>): void;<br>function isOperationAllowed(): Promise<boolean>; | Added|
| ohos.wallpaper | wallpaper | function isChangePermitted(callback: AsyncCallback<boolean>): void;<br>function isChangePermitted(): Promise<boolean>; | Added|
| ohos.wallpaper | wallpaper | function getMinWidth(callback: AsyncCallback<number>): void;<br>function getMinWidth(): Promise<number>; | Added|
| ohos.wallpaper | wallpaper | function getMinHeight(callback: AsyncCallback<number>): void;<br>function getMinHeight(): Promise<number>; | Added|
| ohos.wallpaper | wallpaper | function getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;<br>function getFile(wallpaperType: WallpaperType): Promise<number>; | Added|
| ohos.wallpaper | wallpaper | function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;<br>function getId(wallpaperType: WallpaperType): Promise<number>; | Added|
| ohos.wallpaper | wallpaper | function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;<br>function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>; | Added|
| ohos.wallpaper | wallpaper | function off(type: 'colorChange', callback?: (colors: Array\<RgbaColor>, wallpaperType: WallpaperType) => void): void; | Added|
| ohos.wallpaper | wallpaper | function on(type: 'colorChange', callback: (colors: Array\<RgbaColor>, wallpaperType: WallpaperType) => void): void; | Added|
| ohos.wallpaper | wallpaper | function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;<br>function setWallpaper(source: string \| image.PixelMap, wallpaperType: WallpaperType): Promise\<void>; | Added|
| ohos.wallpaper | wallpaper | function reset(wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;<br>function reset(wallpaperType: WallpaperType): Promise\<void>; | Added|
| ohos.wallpaper | wallpaper | function isOperationAllowed(callback: AsyncCallback\<boolean>): void;<br>function isOperationAllowed(): Promise\<boolean>; | Added|
| ohos.wallpaper | wallpaper | function isChangePermitted(callback: AsyncCallback\<boolean>): void;<br>function isChangePermitted(): Promise\<boolean>; | Added|
| ohos.wallpaper | wallpaper | function getMinWidth(callback: AsyncCallback\<number>): void;<br>function getMinWidth(): Promise\<number>; | Added|
| ohos.wallpaper | wallpaper | function getMinHeight(callback: AsyncCallback\<number>): void;<br>function getMinHeight(): Promise\<number>; | Added|
| ohos.wallpaper | wallpaper | function getFile(wallpaperType: WallpaperType, callback: AsyncCallback\<number>): void;<br>function getFile(wallpaperType: WallpaperType): Promise\<number>; | Added|
| ohos.wallpaper | wallpaper | function getId(wallpaperType: WallpaperType, callback: AsyncCallback\<number>): void;<br>function getId(wallpaperType: WallpaperType): Promise\<number>; | Added|
| ohos.wallpaper | wallpaper | function getColors(wallpaperType: WallpaperType, callback: AsyncCallback\<Array\<RgbaColor>>): void;<br>function getColors(wallpaperType: WallpaperType): Promise\<Array\<RgbaColor>>; | Added|
| ohos.wallpaper | WallpaperType | WALLPAPER_LOCKSCREEN | Added|
| ohos.wallpaper | WallpaperType | WALLPAPER_SYSTEM | Added|
| ohos.systemTime | systemTime | function getTimezone(callback: AsyncCallback<string>): void;<br>function getTimezone(): Promise<string>; | Added|
| ohos.systemTime | systemTime | function getDate(callback: AsyncCallback<Date>): void;<br>function getDate(): Promise<Date>; | Added|
| ohos.systemTime | systemTime | function getRealTime(isNano?: boolean, callback: AsyncCallback<number>): void;<br>function getRealTime(isNano?: boolean): Promise<number>; | Added|
| ohos.systemTime | systemTime | function getRealActiveTime(isNano?: boolean, callback: AsyncCallback<number>): void;<br>function getRealActiveTime(isNano?: boolean): Promise<number>; | Added|
| ohos.systemTime | systemTime | function getCurrentTime(isNano?: boolean, callback: AsyncCallback<number>): void;<br>function getCurrentTime(isNano?: boolean): Promise<number>; | Added|
| ohos.screenLock | screenLock | function unlockScreen(callback: AsyncCallback<void>): void;<br>function unlockScreen():Promise<void>; | Added|
| ohos.screenLock | screenLock | function isSecureMode(callback: AsyncCallback<boolean>): void;<br>function isSecureMode(): Promise<boolean>; | Added|
| ohos.screenLock | screenLock | function isScreenLocked(callback: AsyncCallback<boolean>): void;<br>function isScreenLocked(): Promise<boolean>; | Added|
| ohos.request | UploadTask | remove(callback: AsyncCallback<boolean>): void;<br>remove(): Promise<boolean>; | Added|
| ohos.systemTime | systemTime | function getTimezone(callback: AsyncCallback\<string>): void;<br>function getTimezone(): Promise\<string>; | Added|
| ohos.systemTime | systemTime | function getDate(callback: AsyncCallback\<Date>): void;<br>function getDate(): Promise\<Date>; | Added|
| ohos.systemTime | systemTime | function getRealTime(isNano?: boolean, callback: AsyncCallback\<number>): void;<br>function getRealTime(isNano?: boolean): Promise\<number>; | Added|
| ohos.systemTime | systemTime | function getRealActiveTime(isNano?: boolean, callback: AsyncCallback\<number>): void;<br>function getRealActiveTime(isNano?: boolean): Promise\<number>; | Added|
| ohos.systemTime | systemTime | function getCurrentTime(isNano?: boolean, callback: AsyncCallback\<number>): void;<br>function getCurrentTime(isNano?: boolean): Promise\<number>; | Added|
| ohos.screenLock | screenLock | function unlockScreen(callback: AsyncCallback\<void>): void;<br>function unlockScreen():Promise\<void>; | Added|
| ohos.screenLock | screenLock | function isSecureMode(callback: AsyncCallback\<boolean>): void;<br>function isSecureMode(): Promise\<boolean>; | Added|
| ohos.screenLock | screenLock | function isScreenLocked(callback: AsyncCallback\<boolean>): void;<br>function isScreenLocked(): Promise\<boolean>; | Added|
| ohos.request | UploadTask | remove(callback: AsyncCallback\<boolean>): void;<br>remove(): Promise\<boolean>; | Added|
| ohos.request | UploadTask | off(type: 'headerReceive', callback?: (header: object) => void): void; | Added|
| ohos.request | UploadTask | on(type: 'headerReceive', callback: (header: object) => void): void; | Added|
| ohos.request | UploadTask | off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void; | Added|
| ohos.request | UploadTask | on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void; | Added|
| ohos.request | UploadConfig | data: Array<RequestData>; | Added|
| ohos.request | UploadConfig | files: Array<File>; | Added|
| ohos.request | UploadConfig | data: Array\<RequestData>; | Added|
| ohos.request | UploadConfig | files: Array\<File>; | Added|
| ohos.request | UploadConfig | method: string; | Added|
| ohos.request | UploadConfig | header: Object; | Added|
| ohos.request | UploadConfig | url: string; | Added|
......@@ -47,11 +47,11 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.request | File | uri: string; | Added|
| ohos.request | File | name: string; | Added|
| ohos.request | File | filename: string; | Added|
| ohos.request | DownloadTask | queryMimeType(callback: AsyncCallback<string>): void;<br>queryMimeType(): Promise<string>; | Added|
| ohos.request | DownloadTask | query(callback: AsyncCallback<DownloadInfo>): void;<br>query(): Promise<DownloadInfo>; | Added|
| ohos.request | DownloadTask | resume(callback: AsyncCallback<void>): void;<br>resume(): Promise<void>; | Added|
| ohos.request | DownloadTask | pause(callback: AsyncCallback<void>): void;<br>pause(): Promise<void>; | Added|
| ohos.request | DownloadTask | remove(callback: AsyncCallback<boolean>): void;<br>remove(): Promise<boolean>; | Added|
| ohos.request | DownloadTask | queryMimeType(callback: AsyncCallback\<string>): void;<br>queryMimeType(): Promise\<string>; | Added|
| ohos.request | DownloadTask | query(callback: AsyncCallback\<DownloadInfo>): void;<br>query(): Promise\<DownloadInfo>; | Added|
| ohos.request | DownloadTask | resume(callback: AsyncCallback\<void>): void;<br>resume(): Promise\<void>; | Added|
| ohos.request | DownloadTask | pause(callback: AsyncCallback\<void>): void;<br>pause(): Promise\<void>; | Added|
| ohos.request | DownloadTask | remove(callback: AsyncCallback\<boolean>): void;<br>remove(): Promise\<boolean>; | Added|
| ohos.request | DownloadTask | off(type: 'fail', callback?: (err: number) => void): void; | Added|
| ohos.request | DownloadTask | on(type: 'fail', callback: (err: number) => void): void; | Added|
| ohos.request | DownloadTask | off(type: 'complete' \| 'pause' \| 'remove', callback?: () => void): void; | Added|
......@@ -81,8 +81,8 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.request | DownloadConfig | enableMetered?: boolean; | Added|
| ohos.request | DownloadConfig | header?: Object; | Added|
| ohos.request | DownloadConfig | url: string; | Added|
| ohos.request | request | function upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;<br>function upload(config: UploadConfig): Promise<UploadTask>; | Added|
| ohos.request | request | function download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;<br>function download(config: DownloadConfig): Promise<DownloadTask>; | Added|
| ohos.request | request | function upload(config: UploadConfig, callback: AsyncCallback\<UploadTask>): void;<br>function upload(config: UploadConfig): Promise\<UploadTask>; | Added|
| ohos.request | request | function download(config: DownloadConfig, callback: AsyncCallback\<DownloadTask>): void;<br>function download(config: DownloadConfig): Promise\<DownloadTask>; | Added|
| ohos.request | request | const SESSION_SUCCESSFUL: number; | Added|
| ohos.request | request | const SESSION_RUNNING: number; | Added|
| ohos.request | request | const SESSION_PENDING: number; | Added|
......@@ -103,10 +103,10 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.request | request | const ERROR_CANNOT_RESUME: number; | Added|
| ohos.request | request | const NETWORK_WIFI: number; | Added|
| ohos.request | request | const NETWORK_MOBILE: number; | Added|
| ohos.pasteboard | SystemPasteboard | setPasteData(data: PasteData, callback: AsyncCallback<void>): void;<br>setPasteData(data: PasteData): Promise<void>; | Added|
| ohos.pasteboard | SystemPasteboard | hasPasteData(callback: AsyncCallback<boolean>): void;<br>hasPasteData(): Promise<boolean>; | Added|
| ohos.pasteboard | SystemPasteboard | getPasteData(callback: AsyncCallback<PasteData>): void;<br>getPasteData(): Promise<PasteData>; | Added|
| ohos.pasteboard | SystemPasteboard | clear(callback: AsyncCallback<void>): void;<br>clear(): Promise<void>; | Added|
| ohos.pasteboard | SystemPasteboard | setPasteData(data: PasteData, callback: AsyncCallback\<void>): void;<br>setPasteData(data: PasteData): Promise\<void>; | Added|
| ohos.pasteboard | SystemPasteboard | hasPasteData(callback: AsyncCallback\<boolean>): void;<br>hasPasteData(): Promise\<boolean>; | Added|
| ohos.pasteboard | SystemPasteboard | getPasteData(callback: AsyncCallback\<PasteData>): void;<br>getPasteData(): Promise\<PasteData>; | Added|
| ohos.pasteboard | SystemPasteboard | clear(callback: AsyncCallback\<void>): void;<br>clear(): Promise\<void>; | Added|
| ohos.pasteboard | SystemPasteboard | off(type: 'update', callback?: () => void): void; | Added|
| ohos.pasteboard | SystemPasteboard | on(type: 'update', callback: () => void): void; | Added|
| ohos.pasteboard | PasteData | replaceRecordAt(index: number, record: PasteDataRecord): boolean; | Added|
......@@ -121,13 +121,13 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.pasteboard | PasteData | getPrimaryMimeType(): string; | Added|
| ohos.pasteboard | PasteData | getPrimaryWant(): Want; | Added|
| ohos.pasteboard | PasteData | getPrimaryHtml(): string; | Added|
| ohos.pasteboard | PasteData | getMimeTypes(): Array<string>; | Added|
| ohos.pasteboard | PasteData | getMimeTypes(): Array\<string>; | Added|
| ohos.pasteboard | PasteData | addUriRecord(uri: string): void; | Added|
| ohos.pasteboard | PasteData | addTextRecord(text: string): void; | Added|
| ohos.pasteboard | PasteData | addRecord(record: PasteDataRecord): void; | Added|
| ohos.pasteboard | PasteData | addWantRecord(want: Want): void; | Added|
| ohos.pasteboard | PasteData | addHtmlRecord(htmlText: string): void; | Added|
| ohos.pasteboard | PasteDataRecord | convertToText(callback: AsyncCallback<string>): void;<br>convertToText(): Promise<string>; | Added|
| ohos.pasteboard | PasteDataRecord | convertToText(callback: AsyncCallback\<string>): void;<br>convertToText(): Promise\<string>; | Added|
| ohos.pasteboard | PasteDataRecord | uri: string; | Added|
| ohos.pasteboard | PasteDataRecord | plainText: string; | Added|
| ohos.pasteboard | PasteDataRecord | mimeType: string; | Added|
......@@ -136,7 +136,7 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.pasteboard | PasteDataProperty | localOnly: boolean; | Added|
| ohos.pasteboard | PasteDataProperty | readonly timestamp: number; | Added|
| ohos.pasteboard | PasteDataProperty | tag: string; | Added|
| ohos.pasteboard | PasteDataProperty | readonly mimeTypes: Array<string>; | Added|
| ohos.pasteboard | PasteDataProperty | readonly mimeTypes: Array\<string>; | Added|
| ohos.pasteboard | PasteDataProperty | additions: { [key: string]: object } | Added|
| ohos.pasteboard | pasteboard | function getSystemPasteboard(): SystemPasteboard; | Added|
| ohos.pasteboard | pasteboard | function createUriRecord(uri: string): PasteDataRecord; | Added|
......@@ -166,20 +166,20 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.inputmethodengine | KeyboardDelegate | off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void; | Added|
| ohos.inputmethodengine | KeyboardDelegate | on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void; | Added|
| ohos.inputmethodengine | KeyboardDelegate | on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void; | Added|
| ohos.inputmethodengine | TextInputClient | getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;<br>getEditorAttribute(): Promise<EditorAttribute>; | Added|
| ohos.inputmethodengine | TextInputClient | getBackward(length: number, callback: AsyncCallback<string>): void;<br>getBackward(length: number): Promise<string>; | Added|
| ohos.inputmethodengine | TextInputClient | getForward(length: number, callback: AsyncCallback<string>): void;<br>getForward(length: number): Promise<string>; | Added|
| ohos.inputmethodengine | TextInputClient | insertText(text: string, callback: AsyncCallback<boolean>): void;<br>insertText(text: string): Promise<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | deleteBackward(length: number, callback: AsyncCallback<boolean>): void;<br>deleteBackward(length: number): Promise<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | deleteForward(length: number, callback: AsyncCallback<boolean>): void;<br>deleteForward(length: number): Promise<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;<br>sendKeyFunction(action: number): Promise<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | getEditorAttribute(callback: AsyncCallback\<EditorAttribute>): void;<br>getEditorAttribute(): Promise\<EditorAttribute>; | Added|
| ohos.inputmethodengine | TextInputClient | getBackward(length: number, callback: AsyncCallback\<string>): void;<br>getBackward(length: number): Promise\<string>; | Added|
| ohos.inputmethodengine | TextInputClient | getForward(length: number, callback: AsyncCallback\<string>): void;<br>getForward(length: number): Promise\<string>; | Added|
| ohos.inputmethodengine | TextInputClient | insertText(text: string, callback: AsyncCallback\<boolean>): void;<br>insertText(text: string): Promise\<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | deleteBackward(length: number, callback: AsyncCallback\<boolean>): void;<br>deleteBackward(length: number): Promise\<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | deleteForward(length: number, callback: AsyncCallback\<boolean>): void;<br>deleteForward(length: number): Promise\<boolean>; | Added|
| ohos.inputmethodengine | TextInputClient | sendKeyFunction(action: number, callback: AsyncCallback\<boolean>): void;<br>sendKeyFunction(action: number): Promise\<boolean>; | Added|
| ohos.inputmethodengine | InputMethodEngine | off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void; | Added|
| ohos.inputmethodengine | InputMethodEngine | off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void; | Added|
| ohos.inputmethodengine | InputMethodEngine | on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void; | Added|
| ohos.inputmethodengine | InputMethodEngine | on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void; | Added|
| ohos.inputmethodengine | InputMethodEngine | off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void; | Added|
| ohos.inputmethodengine | InputMethodEngine | on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void; | Added|
| ohos.inputmethodengine | KeyboardController | hideKeyboard(callback: AsyncCallback<void>): void;<br>hideKeyboard(): Promise<void>; | Added|
| ohos.inputmethodengine | KeyboardController | hideKeyboard(callback: AsyncCallback\<void>): void;<br>hideKeyboard(): Promise\<void>; | Added|
| ohos.inputmethodengine | inputMethodEngine | function createKeyboardDelegate(): KeyboardDelegate; | Added|
| ohos.inputmethodengine | inputMethodEngine | function getInputMethodEngine(): InputMethodEngine; | Added|
| ohos.inputmethodengine | inputMethodEngine | const OPTION_NO_FULLSCREEN: number; | Added|
......@@ -210,9 +210,9 @@ The table below lists the APIs changes of the Misc services subsystem in OpenHar
| ohos.inputmethodengine | inputMethodEngine | const ENTER_KEY_TYPE_UNSPECIFIED: number; | Added|
| ohos.inputmethod | InputMethodProperty | readonly methodId: string; | Added|
| ohos.inputmethod | InputMethodProperty | readonly packageName: string; | Added|
| ohos.inputmethod | InputMethodController | stopInput(callback: AsyncCallback<boolean>): void;<br>stopInput(): Promise<boolean>; | Added|
| ohos.inputmethod | InputMethodSetting | displayOptionalInputMethod(callback: AsyncCallback<void>): void;<br>displayOptionalInputMethod(): Promise<void>; | Added|
| ohos.inputmethod | InputMethodSetting | listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;<br>listInputMethod(): Promise<Array<InputMethodProperty>>; | Added|
| ohos.inputmethod | InputMethodController | stopInput(callback: AsyncCallback\<boolean>): void;<br>stopInput(): Promise\<boolean>; | Added|
| ohos.inputmethod | InputMethodSetting | displayOptionalInputMethod(callback: AsyncCallback\<void>): void;<br>displayOptionalInputMethod(): Promise\<void>; | Added|
| ohos.inputmethod | InputMethodSetting | listInputMethod(callback: AsyncCallback\<Array\<InputMethodProperty>>): void;<br>listInputMethod(): Promise\<Array\<InputMethodProperty>>; | Added|
| ohos.inputmethod | inputMethod | function getInputMethodController(): InputMethodController; | Added|
| ohos.inputmethod | inputMethod | function getInputMethodSetting(): InputMethodSetting; | Added|
| ohos.inputmethod | inputMethod | const MAX_TYPE_NUM: number | Added|
......@@ -6,10 +6,10 @@ The table below lists the APIs changes of the multimodal input subsystem in Open
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.multimodalInput.inputDevice | inputDevice | function getDevice(deviceId: number, callback: AsyncCallback<InputDeviceData>): void;<br>function getDevice(deviceId: number): Promise<InputDeviceData>; | Added|
| ohos.multimodalInput.inputDevice | inputDevice | function getDeviceIds(callback: AsyncCallback<Array<number>>): void;<br>function getDeviceIds(): Promise<Array<number>>; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | axisRanges : Array<AxisRange>; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | sources : Array<SourceType>; | Added|
| ohos.multimodalInput.inputDevice | inputDevice | function getDevice(deviceId: number, callback: AsyncCallback\<InputDeviceData>): void;<br>function getDevice(deviceId: number): Promise\<InputDeviceData>; | Added|
| ohos.multimodalInput.inputDevice | inputDevice | function getDeviceIds(callback: AsyncCallback<Array\<number>>): void;<br>function getDeviceIds(): Promise<Array\<number>>; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | axisRanges : Array\<AxisRange>; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | sources : Array\<SourceType>; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | name: string; | Added|
| ohos.multimodalInput.inputDevice | InputDeviceData | id: number; | Added|
| ohos.multimodalInput.inputDevice | AxisRange | min: number; | Added|
......
......@@ -8,36 +8,36 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
|---|---|---|---|
| ohos.multimedia.mediaLibrary | Size | height: number; | Added|
| ohos.multimedia.mediaLibrary | Size | width: number; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | startMediaSelect(option: MediaSelectOption, callback: AsyncCallback<Array<string>>): void;<br>startMediaSelect(option: MediaSelectOption): Promise<Array<string>>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | startImagePreview(images: Array<string>, index: number, callback: AsyncCallback<void>): void;<br>startImagePreview(images: Array<string>, callback: AsyncCallback<void>): void;<br>startImagePreview(images: Array<string>, index?: number): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback<string>): void;<br>storeMediaAsset(option: MediaAssetOption): Promise<string>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void;<br>getAlbums(options: MediaFetchOptions): Promise<Array<Album>>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void;<br>createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;<br>getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getPublicDirectory(type: DirectoryType, callback: AsyncCallback<string>): void;<br>getPublicDirectory(type: DirectoryType): Promise<string>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | startMediaSelect(option: MediaSelectOption, callback: AsyncCallback\<Array\<string>>): void;<br>startMediaSelect(option: MediaSelectOption): Promise\<Array\<string>>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | startImagePreview(images: Array\<string>, index: number, callback: AsyncCallback\<void>): void;<br>startImagePreview(images: Array\<string>, callback: AsyncCallback\<void>): void;<br>startImagePreview(images: Array\<string>, index?: number): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback\<string>): void;<br>storeMediaAsset(option: MediaAssetOption): Promise\<string>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getAlbums(options: MediaFetchOptions, callback: AsyncCallback\<Array\<Album>>): void;<br>getAlbums(options: MediaFetchOptions): Promise\<Array\<Album>>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback\<FileAsset>): void;<br>createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise\<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>getFileAssets(options: MediaFetchOptions): Promise\<FetchFileResult>; | Added|
| ohos.multimedia.mediaLibrary | MediaLibrary | getPublicDirectory(type: DirectoryType, callback: AsyncCallback\<string>): void;<br>getPublicDirectory(type: DirectoryType): Promise\<string>; | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_DOWNLOAD | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_DOCUMENTS | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_AUDIO | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_IMAGE | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_VIDEO | Added|
| ohos.multimedia.mediaLibrary | DirectoryType | DIR_CAMERA = 0 | Added|
| ohos.multimedia.mediaLibrary | Album | getFileAssets(callback: AsyncCallback<FetchFileResult>): void;<br>getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;<br>getFileAssets(options?: MediaFetchOptions): Promise<FetchFileResult>; | Added|
| ohos.multimedia.mediaLibrary | Album | commitModify(callback: AsyncCallback<void>): void;<br>commitModify(): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | Album | getFileAssets(callback: AsyncCallback\<FetchFileResult>): void;<br>getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>getFileAssets(options?: MediaFetchOptions): Promise\<FetchFileResult>; | Added|
| ohos.multimedia.mediaLibrary | Album | commitModify(callback: AsyncCallback\<void>): void;<br>commitModify(): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | Album | readonly coverUri: string; | Added|
| ohos.multimedia.mediaLibrary | Album | readonly relativePath: string; | Added|
| ohos.multimedia.mediaLibrary | Album | readonly count: number; | Added|
......@@ -45,11 +45,11 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.mediaLibrary | Album | readonly albumUri: string; | Added|
| ohos.multimedia.mediaLibrary | Album | albumName: string; | Added|
| ohos.multimedia.mediaLibrary | Album | readonly albumId: number; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getAllObject(callback: AsyncCallback<Array<FileAsset>>): void;<br>getAllObject(): Promise<Array<FileAsset>>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getPositionObject(index: number, callback: AsyncCallback<FileAsset>): void;<br>getPositionObject(index: number): Promise<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getLastObject(callback: AsyncCallback<FileAsset>): void;<br>getLastObject(): Promise<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getNextObject(callback: AsyncCallback<FileAsset>): void;<br>getNextObject(): Promise<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getFirstObject(callback: AsyncCallback<FileAsset>): void;<br>getFirstObject(): Promise<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getAllObject(callback: AsyncCallback\<Array\<FileAsset>>): void;<br>getAllObject(): Promise\<Array\<FileAsset>>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getPositionObject(index: number, callback: AsyncCallback\<FileAsset>): void;<br>getPositionObject(index: number): Promise\<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getLastObject(callback: AsyncCallback\<FileAsset>): void;<br>getLastObject(): Promise\<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getNextObject(callback: AsyncCallback\<FileAsset>): void;<br>getNextObject(): Promise\<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getFirstObject(callback: AsyncCallback\<FileAsset>): void;<br>getFirstObject(): Promise\<FileAsset>; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | close(): void; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | isAfterLast(): boolean; | Added|
| ohos.multimedia.mediaLibrary | FetchFileResult | getCount(): number; | Added|
......@@ -57,7 +57,7 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.mediaLibrary | MediaFetchOptions | networkId?: string; | Added|
| ohos.multimedia.mediaLibrary | MediaFetchOptions | uri?: string; | Added|
| ohos.multimedia.mediaLibrary | MediaFetchOptions | order?: string; | Added|
| ohos.multimedia.mediaLibrary | MediaFetchOptions | selectionArgs: Array<string>; | Added|
| ohos.multimedia.mediaLibrary | MediaFetchOptions | selectionArgs: Array\<string>; | Added|
| ohos.multimedia.mediaLibrary | MediaFetchOptions | selections: string; | Added|
| ohos.multimedia.mediaLibrary | FileKey | ALBUM_NAME = "bucket_display_name" | Added|
| ohos.multimedia.mediaLibrary | FileKey | ALBUM_ID = "bucket_id" | Added|
......@@ -78,15 +78,15 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.mediaLibrary | FileKey | DISPLAY_NAME = "display_name" | Added|
| ohos.multimedia.mediaLibrary | FileKey | RELATIVE_PATH = "relative_path" | Added|
| ohos.multimedia.mediaLibrary | FileKey | ID = "file_id" | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isTrash(callback: AsyncCallback<boolean>): void;<br>isTrash():Promise<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | trash(isTrash: boolean, callback: AsyncCallback<void>): void;<br>trash(isTrash: boolean): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isFavorite(callback: AsyncCallback<boolean>): void;<br>isFavorite():Promise<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | favorite(isFavorite: boolean, callback: AsyncCallback<void>): void;<br>favorite(isFavorite: boolean): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | getThumbnail(callback: AsyncCallback<image.PixelMap>): void;<br>getThumbnail(size: Size, callback: AsyncCallback<image.PixelMap>): void;<br>getThumbnail(size?: Size): Promise<image.PixelMap>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | close(fd: number, callback: AsyncCallback<void>): void;<br>close(fd: number): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | open(mode: string, callback: AsyncCallback<number>): void;<br>open(mode: string): Promise<number>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | commitModify(callback: AsyncCallback<void>): void;<br>commitModify(): Promise<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isDirectory(callback: AsyncCallback<boolean>): void;<br>isDirectory():Promise<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isTrash(callback: AsyncCallback\<boolean>): void;<br>isTrash():Promise\<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | trash(isTrash: boolean, callback: AsyncCallback\<void>): void;<br>trash(isTrash: boolean): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isFavorite(callback: AsyncCallback\<boolean>): void;<br>isFavorite():Promise\<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | favorite(isFavorite: boolean, callback: AsyncCallback\<void>): void;<br>favorite(isFavorite: boolean): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;<br>getThumbnail(size: Size, callback: AsyncCallback\<image.PixelMap>): void;<br>getThumbnail(size?: Size): Promise\<image.PixelMap>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | close(fd: number, callback: AsyncCallback\<void>): void;<br>close(fd: number): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | open(mode: string, callback: AsyncCallback\<number>): void;<br>open(mode: string): Promise\<number>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | commitModify(callback: AsyncCallback\<void>): void;<br>commitModify(): Promise\<void>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | isDirectory(callback: AsyncCallback\<boolean>): void;<br>isDirectory():Promise\<boolean>; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | readonly albumName: string; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | readonly albumUri: string; | Added|
| ohos.multimedia.mediaLibrary | FileAsset | readonly albumId: number; | Added|
......@@ -117,7 +117,7 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.mediaLibrary | MediaType | VIDEO | Added|
| ohos.multimedia.mediaLibrary | MediaType | IMAGE | Added|
| ohos.multimedia.mediaLibrary | MediaType | FILE = 0 | Added|
| ohos.multimedia.mediaLibrary | mediaLibrary | function getMediaLibrary(): MediaLibrary;<br>function getMediaLibrary(context: Context): MediaLibrary; | Added|
| ohos.multimedia.mediaLibrary | mediaLibrary | getMediaLibrary(): MediaLibrary;<br>getMediaLibrary(context: Context): MediaLibrary; | Added|
| ohos.multimedia.media | CodecMimeType | AUDIO_FLAC = 'audio/flac' | Added|
| ohos.multimedia.media | CodecMimeType | AUDIO_VORBIS = 'audio/vorbis' | Added|
| ohos.multimedia.media | CodecMimeType | AUDIO_AAC = 'audio/mp4a-latm' | Added|
......@@ -145,10 +145,10 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.media | ContainerFormatType | CFT_MPEG_4 = "mp4" | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'error', callback: ErrorCallback): void; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'startRenderFrame', callback: Callback<void>): void; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'startRenderFrame', callback: Callback\<void>): void; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'playbackCompleted', callback: Callback<void>): void; | Added|
| ohos.multimedia.media | VideoPlayer | setSpeed(speed:number, callback: AsyncCallback<number>): void;<br>setSpeed(speed:number): Promise<number>; | Added|
| ohos.multimedia.media | VideoPlayer | on(type: 'playbackCompleted', callback: Callback\<void>): void; | Added|
| ohos.multimedia.media | VideoPlayer | setSpeed(speed:number, callback: AsyncCallback\<number>): void;<br>setSpeed(speed:number): Promise\<number>; | Added|
| ohos.multimedia.media | VideoPlayer | readonly height: number; | Added|
| ohos.multimedia.media | VideoPlayer | readonly width: number; | Added|
| ohos.multimedia.media | VideoPlayer | readonly state: VideoPlayState; | Added|
......@@ -156,16 +156,16 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.media | VideoPlayer | readonly currentTime: number; | Added|
| ohos.multimedia.media | VideoPlayer | loop: boolean; | Added|
| ohos.multimedia.media | VideoPlayer | url: string; | Added|
| ohos.multimedia.media | VideoPlayer | getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>getTrackDescription() : Promise<Array<MediaDescription>>; | Added|
| ohos.multimedia.media | VideoPlayer | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | setVolume(vol: number, callback: AsyncCallback<void>): void;<br>setVolume(vol: number): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | seek(timeMs: number, callback: AsyncCallback<number>): void;<br>seek(timeMs: number, mode:SeekMode, callback: AsyncCallback<number>): void;<br>seek(timeMs: number, mode?:SeekMode): Promise<number>; | Added|
| ohos.multimedia.media | VideoPlayer | reset(callback: AsyncCallback<void>): void;<br>reset(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | stop(callback: AsyncCallback<void>): void;<br>stop(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | pause(callback: AsyncCallback<void>): void;<br>pause(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | play(callback: AsyncCallback<void>): void;<br>play(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | prepare(callback: AsyncCallback<void>): void;<br>prepare(): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;<br>setDisplaySurface(surfaceId: string): Promise<void>; | Added|
| ohos.multimedia.media | VideoPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void;<br>getTrackDescription() : Promise\<Array\<MediaDescription>>; | Added|
| ohos.multimedia.media | VideoPlayer | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | setVolume(vol: number, callback: AsyncCallback\<void>): void;<br>setVolume(vol: number): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | seek(timeMs: number, callback: AsyncCallback\<number>): void;<br>seek(timeMs: number, mode:SeekMode, callback: AsyncCallback\<number>): void;<br>seek(timeMs: number, mode?:SeekMode): Promise\<number>; | Added|
| ohos.multimedia.media | VideoPlayer | reset(callback: AsyncCallback\<void>): void;<br>reset(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | stop(callback: AsyncCallback\<void>): void;<br>stop(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | pause(callback: AsyncCallback\<void>): void;<br>pause(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | play(callback: AsyncCallback\<void>): void;<br>play(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | prepare(callback: AsyncCallback\<void>): void;<br>prepare(): Promise\<void>; | Added|
| ohos.multimedia.media | VideoPlayer | setDisplaySurface(surfaceId: string, callback: AsyncCallback\<void>): void;<br>setDisplaySurface(surfaceId: string): Promise\<void>; | Added|
| ohos.multimedia.media | PlaybackSpeed | SPEED_FORWARD_2_00_X = 4 | Added|
| ohos.multimedia.media | PlaybackSpeed | SPEED_FORWARD_1_75_X = 3 | Added|
| ohos.multimedia.media | PlaybackSpeed | SPEED_FORWARD_1_25_X = 2 | Added|
......@@ -209,7 +209,7 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.media | AudioEncoder | DEFAULT = 0 | Added|
| ohos.multimedia.media | AudioPlayer | on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void; | Added|
| ohos.multimedia.media | AudioPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void; | Added|
| ohos.multimedia.media | AudioPlayer | getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>getTrackDescription() : Promise<Array<MediaDescription>>; | Added|
| ohos.multimedia.media | AudioPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void;<br>getTrackDescription() : Promise\<Array\<MediaDescription>>; | Added|
| ohos.multimedia.media | AudioPlayer | reset(): void; | Added|
| ohos.multimedia.media | BufferingInfoType | CACHED_DURATION = 4 | Added|
| ohos.multimedia.media | BufferingInfoType | BUFFERING_PERCENT = 3 | Added|
......@@ -225,28 +225,28 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.media | MediaErrorCode | MSERR_OPERATION_NOT_PERMIT = 2 | Added|
| ohos.multimedia.media | MediaErrorCode | MSERR_NO_MEMORY = 1 | Added|
| ohos.multimedia.media | MediaErrorCode | MSERR_OK = 0 | Added|
| ohos.multimedia.media | media | function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;<br>function createVideoPlayer() : Promise<VideoPlayer>; | Added|
| ohos.multimedia.media | media | function createAudioRecorder(): AudioRecorder; | Added|
| ohos.multimedia.image | ImagePacker | readonly supportedFormats: Array<string>; | Added|
| ohos.multimedia.image | ImagePacker | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.image | ImagePacker | packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;<br>packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;<br>packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;<br>packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>; | Added|
| ohos.multimedia.image | ImageSource | readonly supportedFormats: Array<string>; | Added|
| ohos.multimedia.image | ImageSource | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.image | ImageSource | getImageProperty(key:string, options?: GetImagePropertyOptions): Promise<string>;<br>getImageProperty(key:string, callback: AsyncCallback<string>): void;<br>getImageProperty(key:string, options: GetImagePropertyOptions, callback: AsyncCallback<string>): void; | Added|
| ohos.multimedia.image | ImageSource | createPixelMap(options?: DecodingOptions): Promise<PixelMap>;<br>createPixelMap(callback: AsyncCallback<PixelMap>): void;<br>createPixelMap(options: DecodingOptions, callback: AsyncCallback<PixelMap>): void; | Added|
| ohos.multimedia.image | ImageSource | getImageInfo(index: number, callback: AsyncCallback<ImageInfo>): void;<br>getImageInfo(callback: AsyncCallback<ImageInfo>): void;<br>getImageInfo(index?: number): Promise<ImageInfo>; | Added|
| ohos.multimedia.image | PixelMap | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.media | media | createVideoPlayer(callback: AsyncCallback\<VideoPlayer>): void;<br>createVideoPlayer() : Promise\<VideoPlayer>; | Added|
| ohos.multimedia.media | media | createAudioRecorder(): AudioRecorder; | Added|
| ohos.multimedia.image | ImagePacker | readonly supportedFormats: Array\<string>; | Added|
| ohos.multimedia.image | ImagePacker | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.image | ImagePacker | packing(source: ImageSource, option: PackingOption, callback: AsyncCallback\<ArrayBuffer>): void;<br>packing(source: ImageSource, option: PackingOption): Promise\<ArrayBuffer>;<br>packing(source: PixelMap, option: PackingOption, callback: AsyncCallback\<ArrayBuffer>): void;<br>packing(source: PixelMap, option: PackingOption): Promise\<ArrayBuffer>; | Added|
| ohos.multimedia.image | ImageSource | readonly supportedFormats: Array\<string>; | Added|
| ohos.multimedia.image | ImageSource | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.image | ImageSource | getImageProperty(key:string, options?: GetImagePropertyOptions): Promise\<string>;<br>getImageProperty(key:string, callback: AsyncCallback\<string>): void;<br>getImageProperty(key:string, options: GetImagePropertyOptions, callback: AsyncCallback\<string>): void; | Added|
| ohos.multimedia.image | ImageSource | createPixelMap(options?: DecodingOptions): Promise\<PixelMap>;<br>createPixelMap(callback: AsyncCallback\<PixelMap>): void;<br>createPixelMap(options: DecodingOptions, callback: AsyncCallback\<PixelMap>): void; | Added|
| ohos.multimedia.image | ImageSource | getImageInfo(index: number, callback: AsyncCallback\<ImageInfo>): void;<br>getImageInfo(callback: AsyncCallback\<ImageInfo>): void;<br>getImageInfo(index?: number): Promise\<ImageInfo>; | Added|
| ohos.multimedia.image | PixelMap | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.image | PixelMap | getPixelBytesNumber(): number; | Added|
| ohos.multimedia.image | PixelMap | getBytesNumberPerRow(): number; | Added|
| ohos.multimedia.image | PixelMap | getImageInfo(): Promise<ImageInfo>;<br>getImageInfo(callback: AsyncCallback<ImageInfo>): void; | Added|
| ohos.multimedia.image | PixelMap | writeBufferToPixels(src: ArrayBuffer): Promise<void>;<br>writeBufferToPixels(src: ArrayBuffer, callback: AsyncCallback<void>): void; | Added|
| ohos.multimedia.image | PixelMap | writePixels(area: PositionArea): Promise<void>;<br>writePixels(area: PositionArea, callback: AsyncCallback<void>): void; | Added|
| ohos.multimedia.image | PixelMap | readPixels(area: PositionArea): Promise<void>;<br>readPixels(area: PositionArea, callback: AsyncCallback<void>): void; | Added|
| ohos.multimedia.image | PixelMap | readPixelsToBuffer(dst: ArrayBuffer): Promise<void>;<br>readPixelsToBuffer(dst: ArrayBuffer, callback: AsyncCallback<void>): void; | Added|
| ohos.multimedia.image | PixelMap | getImageInfo(): Promise\<ImageInfo>;<br>getImageInfo(callback: AsyncCallback\<ImageInfo>): void; | Added|
| ohos.multimedia.image | PixelMap | writeBufferToPixels(src: ArrayBuffer): Promise\<void>;<br>writeBufferToPixels(src: ArrayBuffer, callback: AsyncCallback\<void>): void; | Added|
| ohos.multimedia.image | PixelMap | writePixels(area: PositionArea): Promise\<void>;<br>writePixels(area: PositionArea, callback: AsyncCallback\<void>): void; | Added|
| ohos.multimedia.image | PixelMap | readPixels(area: PositionArea): Promise\<void>;<br>readPixels(area: PositionArea, callback: AsyncCallback\<void>): void; | Added|
| ohos.multimedia.image | PixelMap | readPixelsToBuffer(dst: ArrayBuffer): Promise\<void>;<br>readPixelsToBuffer(dst: ArrayBuffer, callback: AsyncCallback\<void>): void; | Added|
| ohos.multimedia.image | PixelMap | readonly isEditable: boolean; | Added|
| ohos.multimedia.image | image | function createImagePacker(): ImagePacker; | Added|
| ohos.multimedia.image | image | function createImageSource(uri: string): ImageSource;<br>function createImageSource(fd: number): ImageSource; | Added|
| ohos.multimedia.image | image | function createPixelMap(colors: ArrayBuffer, options: InitializationOptions, callback: AsyncCallback<PixelMap>): void;<br>function createPixelMap(colors: ArrayBuffer, options: InitializationOptions): Promise<PixelMap>; | Added|
| ohos.multimedia.image | image | createImagePacker(): ImagePacker; | Added|
| ohos.multimedia.image | image | createImageSource(uri: string): ImageSource;<br>createImageSource(fd: number): ImageSource; | Added|
| ohos.multimedia.image | image | createPixelMap(colors: ArrayBuffer, options: InitializationOptions, callback: AsyncCallback\<PixelMap>): void;<br>createPixelMap(colors: ArrayBuffer, options: InitializationOptions): Promise\<PixelMap>; | Added|
| ohos.multimedia.image | InitializationOptions | editable?: boolean; | Added|
| ohos.multimedia.image | InitializationOptions | pixelFormat?: PixelMapFormat; | Added|
| ohos.multimedia.image | InitializationOptions | size: Size; | Added|
......@@ -282,19 +282,19 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.image | PixelMapFormat | RGBA_8888 = 3 | Added|
| ohos.multimedia.image | PixelMapFormat | RGB_565 = 2 | Added|
| ohos.multimedia.image | PixelMapFormat | UNKNOWN = 0 | Added|
| ohos.multimedia.audio | AudioCapturer | on(type: "stateChange", callback: Callback<AudioState>): void; | Added|
| ohos.multimedia.audio | AudioCapturer | on(type: "stateChange", callback: Callback\<AudioState>): void; | Added|
| ohos.multimedia.audio | AudioCapturer | off(type: "periodReach"): void; | Added|
| ohos.multimedia.audio | AudioCapturer | on(type: "periodReach", frame: number, callback: (position: number) => {}): void; | Added|
| ohos.multimedia.audio | AudioCapturer | off(type: "markReach"): void; | Added|
| ohos.multimedia.audio | AudioCapturer | on(type: "markReach", frame: number, callback: (position: number) => {}): void; | Added|
| ohos.multimedia.audio | AudioCapturer | getBufferSize(callback: AsyncCallback<number>): void;<br>getBufferSize(): Promise<number>; | Added|
| ohos.multimedia.audio | AudioCapturer | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | stop(callback: AsyncCallback<void>): void;<br>stop(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | getAudioTime(callback: AsyncCallback<number>): void;<br>getAudioTime(): Promise<number>; | Added|
| ohos.multimedia.audio | AudioCapturer | read(size: number, isBlockingRead: boolean, callback: AsyncCallback<ArrayBuffer>): void;<br>read(size: number, isBlockingRead: boolean): Promise<ArrayBuffer>; | Added|
| ohos.multimedia.audio | AudioCapturer | start(callback: AsyncCallback<void>): void;<br>start(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | getStreamInfo(callback: AsyncCallback<AudioStreamInfo>): void;<br>getStreamInfo(): Promise<AudioStreamInfo>; | Added|
| ohos.multimedia.audio | AudioCapturer | getCapturerInfo(callback: AsyncCallback<AudioCapturerInfo>): void;<br>getCapturerInfo(): Promise<AudioCapturerInfo>; | Added|
| ohos.multimedia.audio | AudioCapturer | getBufferSize(callback: AsyncCallback\<number>): void;<br>getBufferSize(): Promise\<number>; | Added|
| ohos.multimedia.audio | AudioCapturer | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | stop(callback: AsyncCallback\<void>): void;<br>stop(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | getAudioTime(callback: AsyncCallback\<number>): void;<br>getAudioTime(): Promise\<number>; | Added|
| ohos.multimedia.audio | AudioCapturer | read(size: number, isBlockingRead: boolean, callback: AsyncCallback\<ArrayBuffer>): void;<br>read(size: number, isBlockingRead: boolean): Promise\<ArrayBuffer>; | Added|
| ohos.multimedia.audio | AudioCapturer | start(callback: AsyncCallback\<void>): void;<br>start(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioCapturer | getStreamInfo(callback: AsyncCallback\<AudioStreamInfo>): void;<br>getStreamInfo(): Promise\<AudioStreamInfo>; | Added|
| ohos.multimedia.audio | AudioCapturer | getCapturerInfo(callback: AsyncCallback\<AudioCapturerInfo>): void;<br>getCapturerInfo(): Promise\<AudioCapturerInfo>; | Added|
| ohos.multimedia.audio | AudioCapturer | readonly state: AudioState; | Added|
| ohos.multimedia.audio | AudioCapturerOptions | capturerInfo: AudioCapturerInfo; | Added|
| ohos.multimedia.audio | AudioCapturerOptions | streamInfo: AudioStreamInfo; | Added|
......@@ -303,23 +303,23 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.audio | SourceType | SOURCE_TYPE_VOICE_COMMUNICATION = 7 | Added|
| ohos.multimedia.audio | SourceType | SOURCE_TYPE_MIC = 0 | Added|
| ohos.multimedia.audio | SourceType | SOURCE_TYPE_INVALID = -1 | Added|
| ohos.multimedia.audio | AudioRenderer | on(type: "stateChange", callback: Callback<AudioState>): void; | Added|
| ohos.multimedia.audio | AudioRenderer | on(type: "stateChange", callback: Callback\<AudioState>): void; | Added|
| ohos.multimedia.audio | AudioRenderer | off(type: "periodReach"): void; | Added|
| ohos.multimedia.audio | AudioRenderer | on(type: "periodReach", frame: number, callback: (position: number) => {}): void; | Added|
| ohos.multimedia.audio | AudioRenderer | off(type: "markReach"): void; | Added|
| ohos.multimedia.audio | AudioRenderer | on(type: "markReach", frame: number, callback: (position: number) => {}): void; | Added|
| ohos.multimedia.audio | AudioRenderer | getRenderRate(callback: AsyncCallback<AudioRendererRate>): void;<br>getRenderRate(): Promise<AudioRendererRate>; | Added|
| ohos.multimedia.audio | AudioRenderer | setRenderRate(rate: AudioRendererRate, callback: AsyncCallback<void>): void;<br>setRenderRate(rate: AudioRendererRate): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getBufferSize(callback: AsyncCallback<number>): void;<br>getBufferSize(): Promise<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | stop(callback: AsyncCallback<void>): void;<br>stop(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | pause(callback: AsyncCallback<void>): void;<br>pause(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | drain(callback: AsyncCallback<void>): void;<br>drain(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getAudioTime(callback: AsyncCallback<number>): void;<br>getAudioTime(): Promise<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | write(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;<br>write(buffer: ArrayBuffer): Promise<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | start(callback: AsyncCallback<void>): void;<br>start(): Promise<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getStreamInfo(callback: AsyncCallback<AudioStreamInfo>): void;<br>getStreamInfo(): Promise<AudioStreamInfo>; | Added|
| ohos.multimedia.audio | AudioRenderer | getRendererInfo(callback: AsyncCallback<AudioRendererInfo>): void;<br>getRendererInfo(): Promise<AudioRendererInfo>; | Added|
| ohos.multimedia.audio | AudioRenderer | getRenderRate(callback: AsyncCallback\<AudioRendererRate>): void;<br>getRenderRate(): Promise\<AudioRendererRate>; | Added|
| ohos.multimedia.audio | AudioRenderer | setRenderRate(rate: AudioRendererRate, callback: AsyncCallback\<void>): void;<br>setRenderRate(rate: AudioRendererRate): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getBufferSize(callback: AsyncCallback\<number>): void;<br>getBufferSize(): Promise\<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | release(callback: AsyncCallback\<void>): void;<br>release(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | stop(callback: AsyncCallback\<void>): void;<br>stop(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | pause(callback: AsyncCallback\<void>): void;<br>pause(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | drain(callback: AsyncCallback\<void>): void;<br>drain(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getAudioTime(callback: AsyncCallback\<number>): void;<br>getAudioTime(): Promise\<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | write(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>write(buffer: ArrayBuffer): Promise\<number>; | Added|
| ohos.multimedia.audio | AudioRenderer | start(callback: AsyncCallback\<void>): void;<br>start(): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioRenderer | getStreamInfo(callback: AsyncCallback\<AudioStreamInfo>): void;<br>getStreamInfo(): Promise\<AudioStreamInfo>; | Added|
| ohos.multimedia.audio | AudioRenderer | getRendererInfo(callback: AsyncCallback\<AudioRendererInfo>): void;<br>getRendererInfo(): Promise\<AudioRendererInfo>; | Added|
| ohos.multimedia.audio | AudioRenderer | readonly state: AudioState; | Added|
| ohos.multimedia.audio | DeviceChangeAction | deviceDescriptors: AudioDeviceDescriptors; | Added|
| ohos.multimedia.audio | DeviceChangeAction | type: DeviceChangeType; | Added|
......@@ -330,22 +330,22 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.audio | InterruptAction | hint?: InterruptHint; | Added|
| ohos.multimedia.audio | InterruptAction | type?: InterruptType; | Added|
| ohos.multimedia.audio | InterruptAction | actionType: InterruptActionType; | Added|
| ohos.multimedia.audio | AudioManager | off(type: 'interrupt', interrupt: AudioInterrupt, callback?: Callback<InterruptAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | on(type: 'interrupt', interrupt: AudioInterrupt, callback: Callback<InterruptAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | off(type: 'deviceChange', callback?: Callback<DeviceChangeAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | on(type: 'deviceChange', callback: Callback<DeviceChangeAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | getAudioScene(callback: AsyncCallback<AudioScene>): void;<br>getAudioScene(): Promise<AudioScene>; | Added|
| ohos.multimedia.audio | AudioManager | isDeviceActive(deviceType: ActiveDeviceType, callback: AsyncCallback<boolean>): void;<br>isDeviceActive(deviceType: ActiveDeviceType): Promise<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | setDeviceActive(deviceType: ActiveDeviceType, active: boolean, callback: AsyncCallback<void>): void;<br>setDeviceActive(deviceType: ActiveDeviceType, active: boolean): Promise<void>; | Added|
| ohos.multimedia.audio | AudioManager | getAudioParameter(key: string, callback: AsyncCallback<string>): void;<br>getAudioParameter(key: string): Promise<string>; | Added|
| ohos.multimedia.audio | AudioManager | setAudioParameter(key: string, value: string, callback: AsyncCallback<void>): void;<br>setAudioParameter(key: string, value: string): Promise<void>; | Added|
| ohos.multimedia.audio | AudioManager | getRingerMode(callback: AsyncCallback<AudioRingMode>): void;<br>getRingerMode(): Promise<AudioRingMode>; | Added|
| ohos.multimedia.audio | AudioManager | setRingerMode(mode: AudioRingMode, callback: AsyncCallback<void>): void;<br>setRingerMode(mode: AudioRingMode): Promise<void>; | Added|
| ohos.multimedia.audio | AudioManager | isMicrophoneMute(callback: AsyncCallback<boolean>): void;<br>isMicrophoneMute(): Promise<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | setMicrophoneMute(mute: boolean, callback: AsyncCallback<void>): void;<br>setMicrophoneMute(mute: boolean): Promise<void>; | Added|
| ohos.multimedia.audio | AudioManager | isActive(volumeType: AudioVolumeType, callback: AsyncCallback<boolean>): void;<br>isActive(volumeType: AudioVolumeType): Promise<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | isMute(volumeType: AudioVolumeType, callback: AsyncCallback<boolean>): void;<br>isMute(volumeType: AudioVolumeType): Promise<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback<void>): void;<br>mute(volumeType: AudioVolumeType, mute: boolean): Promise<void>; | Added|
| ohos.multimedia.audio | AudioManager | off(type: 'interrupt', interrupt: AudioInterrupt, callback?: Callback\<InterruptAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | on(type: 'interrupt', interrupt: AudioInterrupt, callback: Callback\<InterruptAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | off(type: 'deviceChange', callback?: Callback\<DeviceChangeAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | on(type: 'deviceChange', callback: Callback\<DeviceChangeAction>): void; | Added|
| ohos.multimedia.audio | AudioManager | getAudioScene(callback: AsyncCallback\<AudioScene>): void;<br>getAudioScene(): Promise\<AudioScene>; | Added|
| ohos.multimedia.audio | AudioManager | isDeviceActive(deviceType: ActiveDeviceType, callback: AsyncCallback\<boolean>): void;<br>isDeviceActive(deviceType: ActiveDeviceType): Promise\<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | setDeviceActive(deviceType: ActiveDeviceType, active: boolean, callback: AsyncCallback\<void>): void;<br>setDeviceActive(deviceType: ActiveDeviceType, active: boolean): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioManager | getAudioParameter(key: string, callback: AsyncCallback\<string>): void;<br>getAudioParameter(key: string): Promise\<string>; | Added|
| ohos.multimedia.audio | AudioManager | setAudioParameter(key: string, value: string, callback: AsyncCallback\<void>): void;<br>setAudioParameter(key: string, value: string): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioManager | getRingerMode(callback: AsyncCallback\<AudioRingMode>): void;<br>getRingerMode(): Promise\<AudioRingMode>; | Added|
| ohos.multimedia.audio | AudioManager | setRingerMode(mode: AudioRingMode, callback: AsyncCallback\<void>): void;<br>setRingerMode(mode: AudioRingMode): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioManager | isMicrophoneMute(callback: AsyncCallback\<boolean>): void;<br>isMicrophoneMute(): Promise\<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | setMicrophoneMute(mute: boolean, callback: AsyncCallback\<void>): void;<br>setMicrophoneMute(mute: boolean): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioManager | isActive(volumeType: AudioVolumeType, callback: AsyncCallback\<boolean>): void;<br>isActive(volumeType: AudioVolumeType): Promise\<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | isMute(volumeType: AudioVolumeType, callback: AsyncCallback\<boolean>): void;<br>isMute(volumeType: AudioVolumeType): Promise\<boolean>; | Added|
| ohos.multimedia.audio | AudioManager | mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback\<void>): void;<br>mute(volumeType: AudioVolumeType, mute: boolean): Promise\<void>; | Added|
| ohos.multimedia.audio | AudioScene | AUDIO_SCENE_VOICE_CHAT | Added|
| ohos.multimedia.audio | AudioScene | AUDIO_SCENE_DEFAULT = 0 | Added|
| ohos.multimedia.audio | DeviceChangeType | DISCONNECT = 1 | Added|
......@@ -395,8 +395,8 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.audio | AudioSamplingRate | SAMPLE_RATE_12000 = 12000 | Added|
| ohos.multimedia.audio | AudioSamplingRate | SAMPLE_RATE_11025 = 11025 | Added|
| ohos.multimedia.audio | AudioSamplingRate | SAMPLE_RATE_8000 = 8000 | Added|
| ohos.multimedia.audio | AudioChannel | CHANNEL_2 = 0x1 << 1 | Added|
| ohos.multimedia.audio | AudioChannel | CHANNEL_1 = 0x1 << 0 | Added|
| ohos.multimedia.audio | AudioChannel | CHANNEL_2 = 0x1 \<\< 1 | Added|
| ohos.multimedia.audio | AudioChannel | CHANNEL_1 = 0x1 \<\< 0 | Added|
| ohos.multimedia.audio | AudioSampleFormat | SAMPLE_FORMAT_S32LE = 3 | Added|
| ohos.multimedia.audio | AudioSampleFormat | SAMPLE_FORMAT_S24LE = 2 | Added|
| ohos.multimedia.audio | AudioSampleFormat | SAMPLE_FORMAT_S16LE = 1 | Added|
......@@ -419,5 +419,5 @@ The table below lists the APIs changes of the multimedia subsystem in OpenHarmon
| ohos.multimedia.audio | AudioState | STATE_PREPARED | Added|
| ohos.multimedia.audio | AudioState | STATE_NEW | Added|
| ohos.multimedia.audio | AudioState | STATE_INVALID = -1 | Added|
| ohos.multimedia.audio | audio | function createAudioRenderer(options: AudioRendererOptions, callback: AsyncCallback<AudioRenderer>): void;<br>function createAudioRenderer(options: AudioRendererOptions): Promise<AudioRenderer>; | Added|
| ohos.multimedia.audio | audio | function createAudioCapturer(options: AudioCapturerOptions, callback: AsyncCallback<AudioCapturer>): void;<br>function createAudioCapturer(options: AudioCapturerOptions): Promise<AudioCapturer>; | Added|
| ohos.multimedia.audio | audio | createAudioRenderer(options: AudioRendererOptions, callback: AsyncCallback\<AudioRenderer>): void;<br>createAudioRenderer(options: AudioRendererOptions): Promise\<AudioRenderer>; | Added|
| ohos.multimedia.audio | audio | createAudioCapturer(options: AudioCapturerOptions, callback: AsyncCallback\<AudioCapturer>): void;<br>createAudioCapturer(options: AudioCapturerOptions): Promise\<AudioCapturer>; | Added|
......@@ -8,34 +8,34 @@ The table below lists the APIs changes of the network management subsystem in Op
|---|---|---|---|
| ohos.net.webSocket | WebSocket | off(type: 'error', callback?: ErrorCallback): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'error', callback: ErrorCallback): void; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'close', callback?: AsyncCallback<{ code: number, reason: string }>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'close', callback: AsyncCallback<{ code: number, reason: string }>): void; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'message', callback?: AsyncCallback<string \| ArrayBuffer>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'message', callback: AsyncCallback<string \| ArrayBuffer>): void; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'open', callback?: AsyncCallback<Object>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'open', callback: AsyncCallback<Object>): void; | Added|
| ohos.net.webSocket | WebSocket | close(callback: AsyncCallback<boolean>): void;<br>close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;<br>close(options?: WebSocketCloseOptions): Promise<boolean>; | Added|
| ohos.net.webSocket | WebSocket | send(data: string \| ArrayBuffer, callback: AsyncCallback<boolean>): void;<br>send(data: string \| ArrayBuffer): Promise<boolean>; | Added|
| ohos.net.webSocket | WebSocket | connect(url: string, callback: AsyncCallback<boolean>): void;<br>connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;<br>connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'close', callback?: AsyncCallback\<{ code: number, reason: string }>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'close', callback: AsyncCallback\<{ code: number, reason: string }>): void; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'message', callback?: AsyncCallback\<string \| ArrayBuffer>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'message', callback: AsyncCallback\<string \| ArrayBuffer>): void; | Added|
| ohos.net.webSocket | WebSocket | off(type: 'open', callback?: AsyncCallback\<Object>): void; | Added|
| ohos.net.webSocket | WebSocket | on(type: 'open', callback: AsyncCallback\<Object>): void; | Added|
| ohos.net.webSocket | WebSocket | close(callback: AsyncCallback\<boolean>): void;<br>close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>close(options?: WebSocketCloseOptions): Promise\<boolean>; | Added|
| ohos.net.webSocket | WebSocket | send(data: string \| ArrayBuffer, callback: AsyncCallback\<boolean>): void;<br>send(data: string \| ArrayBuffer): Promise\<boolean>; | Added|
| ohos.net.webSocket | WebSocket | connect(url: string, callback: AsyncCallback\<boolean>): void;<br>connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>; | Added|
| ohos.net.webSocket | WebSocketCloseOptions | reason?: string; | Added|
| ohos.net.webSocket | WebSocketCloseOptions | code?: number; | Added|
| ohos.net.webSocket | WebSocketRequestOptions | header?: Object; | Added|
| ohos.net.webSocket | webSocket | function createWebSocket(): WebSocket; | Added|
| ohos.net.webSocket | webSocket | createWebSocket(): WebSocket; | Added|
| ohos.net.socket | TCPSocket | off(type: 'error', callback?: ErrorCallback): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'error', callback: ErrorCallback): void; | Added|
| ohos.net.socket | TCPSocket | off(type: 'connect' \| 'close', callback?: Callback<void>): void; | Added|
| ohos.net.socket | TCPSocket | off(type: 'connect' \| 'close', callback?: Callback<void>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'connect' \| 'close', callback: Callback<void>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'connect' \| 'close', callback: Callback<void>): void; | Added|
| ohos.net.socket | TCPSocket | off(type: 'message', callback?: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | TCPSocket | setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;<br>setExtraOptions(options: TCPExtraOptions): Promise<void>; | Added|
| ohos.net.socket | TCPSocket | getState(callback: AsyncCallback<SocketStateBase>): void;<br>getState(): Promise<SocketStateBase>; | Added|
| ohos.net.socket | TCPSocket | getRemoteAddress(callback: AsyncCallback<NetAddress>): void;<br>getRemoteAddress(): Promise<NetAddress>; | Added|
| ohos.net.socket | TCPSocket | close(callback: AsyncCallback<void>): void;<br>close(): Promise<void>; | Added|
| ohos.net.socket | TCPSocket | send(options: TCPSendOptions, callback: AsyncCallback<void>): void;<br>send(options: TCPSendOptions): Promise<void>; | Added|
| ohos.net.socket | TCPSocket | connect(options: TCPConnectOptions, callback: AsyncCallback<void>): void;<br>connect(options: TCPConnectOptions): Promise<void>; | Added|
| ohos.net.socket | TCPSocket | bind(address: NetAddress, callback: AsyncCallback<void>): void;<br>bind(address: NetAddress): Promise<void>; | Added|
| ohos.net.socket | TCPSocket | off(type: 'connect' \| 'close', callback?: Callback\<void>): void; | Added|
| ohos.net.socket | TCPSocket | off(type: 'connect' \| 'close', callback?: Callback\<void>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'connect' \| 'close', callback: Callback\<void>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'connect' \| 'close', callback: Callback\<void>): void; | Added|
| ohos.net.socket | TCPSocket | off(type: 'message', callback?: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | TCPSocket | on(type: 'message', callback: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | TCPSocket | setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\<void>): void;<br>setExtraOptions(options: TCPExtraOptions): Promise\<void>; | Added|
| ohos.net.socket | TCPSocket | getState(callback: AsyncCallback\<SocketStateBase>): void;<br>getState(): Promise\<SocketStateBase>; | Added|
| ohos.net.socket | TCPSocket | getRemoteAddress(callback: AsyncCallback\<NetAddress>): void;<br>getRemoteAddress(): Promise\<NetAddress>; | Added|
| ohos.net.socket | TCPSocket | close(callback: AsyncCallback\<void>): void;<br>close(): Promise\<void>; | Added|
| ohos.net.socket | TCPSocket | send(options: TCPSendOptions, callback: AsyncCallback\<void>): void;<br>send(options: TCPSendOptions): Promise\<void>; | Added|
| ohos.net.socket | TCPSocket | connect(options: TCPConnectOptions, callback: AsyncCallback\<void>): void;<br>connect(options: TCPConnectOptions): Promise\<void>; | Added|
| ohos.net.socket | TCPSocket | bind(address: NetAddress, callback: AsyncCallback\<void>): void;<br>bind(address: NetAddress): Promise\<void>; | Added|
| ohos.net.socket | TCPExtraOptions | socketLinger: {on: boolean, linger: number}; | Added|
| ohos.net.socket | TCPExtraOptions | TCPNoDelay?: boolean; | Added|
| ohos.net.socket | TCPExtraOptions | OOBInline?: boolean; | Added|
......@@ -46,17 +46,17 @@ The table below lists the APIs changes of the network management subsystem in Op
| ohos.net.socket | TCPConnectOptions | address: NetAddress; | Added|
| ohos.net.socket | UDPSocket | off(type: 'error', callback?: ErrorCallback): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'error', callback: ErrorCallback): void; | Added|
| ohos.net.socket | UDPSocket | off(type: 'listening' \| 'close', callback?: Callback<void>): void; | Added|
| ohos.net.socket | UDPSocket | off(type: 'listening' \| 'close', callback?: Callback<void>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'listening' \| 'close', callback: Callback<void>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'listening' \| 'close', callback: Callback<void>): void; | Added|
| ohos.net.socket | UDPSocket | off(type: 'message', callback?: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | UDPSocket | setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback<void>): void;<br>setExtraOptions(options: UDPExtraOptions): Promise<void>; | Added|
| ohos.net.socket | UDPSocket | getState(callback: AsyncCallback<SocketStateBase>): void;<br>getState(): Promise<SocketStateBase>; | Added|
| ohos.net.socket | UDPSocket | close(callback: AsyncCallback<void>): void;<br>close(): Promise<void>; | Added|
| ohos.net.socket | UDPSocket | send(options: UDPSendOptions, callback: AsyncCallback<void>): void;<br>send(options: UDPSendOptions): Promise<void>; | Added|
| ohos.net.socket | UDPSocket | bind(address: NetAddress, callback: AsyncCallback<void>): void;<br>bind(address: NetAddress): Promise<void>; | Added|
| ohos.net.socket | UDPSocket | off(type: 'listening' \| 'close', callback?: Callback\<void>): void; | Added|
| ohos.net.socket | UDPSocket | off(type: 'listening' \| 'close', callback?: Callback\<void>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'listening' \| 'close', callback: Callback\<void>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'listening' \| 'close', callback: Callback\<void>): void; | Added|
| ohos.net.socket | UDPSocket | off(type: 'message', callback?: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | UDPSocket | on(type: 'message', callback: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): void; | Added|
| ohos.net.socket | UDPSocket | setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback\<void>): void;<br>setExtraOptions(options: UDPExtraOptions): Promise\<void>; | Added|
| ohos.net.socket | UDPSocket | getState(callback: AsyncCallback\<SocketStateBase>): void;<br>getState(): Promise\<SocketStateBase>; | Added|
| ohos.net.socket | UDPSocket | close(callback: AsyncCallback\<void>): void;<br>close(): Promise\<void>; | Added|
| ohos.net.socket | UDPSocket | send(options: UDPSendOptions, callback: AsyncCallback\<void>): void;<br>send(options: UDPSendOptions): Promise\<void>; | Added|
| ohos.net.socket | UDPSocket | bind(address: NetAddress, callback: AsyncCallback\<void>): void;<br>bind(address: NetAddress): Promise\<void>; | Added|
| ohos.net.socket | SocketRemoteInfo | size: number; | Added|
| ohos.net.socket | SocketRemoteInfo | port: number; | Added|
| ohos.net.socket | SocketRemoteInfo | family: 'IPv4' \| 'IPv6'; | Added|
......@@ -71,8 +71,8 @@ The table below lists the APIs changes of the network management subsystem in Op
| ohos.net.socket | ExtraOptionsBase | receiveBufferSize?: number; | Added|
| ohos.net.socket | UDPSendOptions | address: NetAddress; | Added|
| ohos.net.socket | UDPSendOptions | data: string \| ArrayBuffer; | Added|
| ohos.net.socket | socket | function constructTCPSocketInstance(): TCPSocket; | Added|
| ohos.net.socket | socket | function constructUDPSocketInstance(): UDPSocket; | Added|
| ohos.net.socket | socket | constructTCPSocketInstance(): TCPSocket; | Added|
| ohos.net.socket | socket | constructUDPSocketInstance(): UDPSocket; | Added|
| ohos.net.socket | socket | import NetAddress = connection.NetAddress; | Added|
| ohos.net.http | HttpResponse | cookies: string; | Added|
| ohos.net.http | HttpResponse | header: Object; | Added|
......@@ -121,19 +121,19 @@ The table below lists the APIs changes of the network management subsystem in Op
| ohos.net.http | RequestMethod | HEAD = "HEAD" | Added|
| ohos.net.http | RequestMethod | GET = "GET" | Added|
| ohos.net.http | RequestMethod | OPTIONS = "OPTIONS" | Added|
| ohos.net.http | HttpRequest | once(type: "headersReceive", callback: Callback<Object>): void; | Added|
| ohos.net.http | HttpRequest | off(type: "headersReceive", callback?: Callback<Object>): void; | Added|
| ohos.net.http | HttpRequest | on(type: "headersReceive", callback: Callback<Object>): void; | Added|
| ohos.net.http | HttpRequest | off(type: "headerReceive", callback?: AsyncCallback<Object>): void; | Added|
| ohos.net.http | HttpRequest | on(type: "headerReceive", callback: AsyncCallback<Object>): void; | Added|
| ohos.net.http | HttpRequest | once(type: "headersReceive", callback: Callback\<Object>): void; | Added|
| ohos.net.http | HttpRequest | off(type: "headersReceive", callback?: Callback\<Object>): void; | Added|
| ohos.net.http | HttpRequest | on(type: "headersReceive", callback: Callback\<Object>): void; | Added|
| ohos.net.http | HttpRequest | off(type: "headerReceive", callback?: AsyncCallback\<Object>): void; | Added|
| ohos.net.http | HttpRequest | on(type: "headerReceive", callback: AsyncCallback\<Object>): void; | Added|
| ohos.net.http | HttpRequest | destroy(): void; | Added|
| ohos.net.http | HttpRequest | request(url: string, callback: AsyncCallback<HttpResponse>): void;<br>request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;<br>request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>; | Added|
| ohos.net.http | HttpRequest | request(url: string, callback: AsyncCallback\<HttpResponse>): void;<br>request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>; | Added|
| ohos.net.http | HttpRequestOptions | connectTimeout?: number; | Added|
| ohos.net.http | HttpRequestOptions | readTimeout?: number; | Added|
| ohos.net.http | HttpRequestOptions | header?: Object; | Added|
| ohos.net.http | HttpRequestOptions | extraData?: string \| Object \| ArrayBuffer; | Added|
| ohos.net.http | HttpRequestOptions | method?: RequestMethod; | Added|
| ohos.net.http | http | function createHttp(): HttpRequest; | Added|
| ohos.net.http | http | createHttp(): HttpRequest; | Added|
| ohos.net.connection | NetAddress | port?: number; | Added|
| ohos.net.connection | NetAddress | family?: number; | Added|
| ohos.net.connection | NetAddress | address: string; | Added|
......@@ -145,9 +145,9 @@ The table below lists the APIs changes of the network management subsystem in Op
| ohos.net.connection | RouteInfo | destination: LinkAddress; | Added|
| ohos.net.connection | RouteInfo | interface: string; | Added|
| ohos.net.connection | ConnectionProperties | mtu: number; | Added|
| ohos.net.connection | ConnectionProperties | routes: Array<RouteInfo>; | Added|
| ohos.net.connection | ConnectionProperties | dnses: Array<NetAddress>; | Added|
| ohos.net.connection | ConnectionProperties | linkAddresses: Array<LinkAddress>; | Added|
| ohos.net.connection | ConnectionProperties | routes: Array\<RouteInfo>; | Added|
| ohos.net.connection | ConnectionProperties | dnses: Array\<NetAddress>; | Added|
| ohos.net.connection | ConnectionProperties | linkAddresses: Array\<LinkAddress>; | Added|
| ohos.net.connection | ConnectionProperties | domains: string; | Added|
| ohos.net.connection | ConnectionProperties | interfaceName: string; | Added|
| ohos.net.connection | NetBearType | BEARER_ETHERNET = 3 | Added|
......@@ -158,29 +158,29 @@ The table below lists the APIs changes of the network management subsystem in Op
| ohos.net.connection | NetCap | NET_CAPABILITY_INTERNET = 12 | Added|
| ohos.net.connection | NetCap | NET_CAPABILITY_NOT_METERED = 11 | Added|
| ohos.net.connection | NetCap | NET_CAPABILITY_MMS = 0 | Added|
| ohos.net.connection | NetCapabilities | bearerTypes: Array<NetBearType>; | Added|
| ohos.net.connection | NetCapabilities | networkCap?: Array<NetCap>; | Added|
| ohos.net.connection | NetCapabilities | bearerTypes: Array\<NetBearType>; | Added|
| ohos.net.connection | NetCapabilities | networkCap?: Array\<NetCap>; | Added|
| ohos.net.connection | NetCapabilities | linkDownBandwidthKbps?: number; | Added|
| ohos.net.connection | NetCapabilities | linkUpBandwidthKbps?: number; | Added|
| ohos.net.connection | NetHandle | getAddressByName(host: string, callback: AsyncCallback<NetAddress>): void;<br>getAddressByName(host: string): Promise<NetAddress>; | Added|
| ohos.net.connection | NetHandle | getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;<br>getAddressesByName(host: string): Promise<Array<NetAddress>>; | Added|
| ohos.net.connection | NetHandle | getAddressByName(host: string, callback: AsyncCallback\<NetAddress>): void;<br>getAddressByName(host: string): Promise\<NetAddress>; | Added|
| ohos.net.connection | NetHandle | getAddressesByName(host: string, callback: AsyncCallback\<Array\<NetAddress>>): void;<br>getAddressesByName(host: string): Promise\<Array\<NetAddress>>; | Added|
| ohos.net.connection | NetHandle | netId: number; | Added|
| ohos.net.connection | NetSpecifier | bearerPrivateIdentifier?: string; | Added|
| ohos.net.connection | NetSpecifier | netCapabilities: NetCapabilities; | Added|
| ohos.net.connection | NetConnection | unregister(callback: AsyncCallback<void>): void; | Added|
| ohos.net.connection | NetConnection | register(callback: AsyncCallback<void>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netUnavailable', callback: Callback<void>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netLost', callback: Callback<NetHandle>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netConnectionPropertiesChange', callback: Callback<{ netHandle: NetHandle, connectionProperties: ConnectionProperties }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netCapabilitiesChange', callback: Callback<{ netHandle: NetHandle, netCap: NetCapabilities }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netBlockStatusChange', callback: Callback<{ netHandle: NetHandle, blocked: boolean }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netAvailable', callback: Callback<NetHandle>): void; | Added|
| ohos.net.connection | connection | function getAddressesByName(host: string, callback: AsyncCallback<Array<NetAddress>>): void;<br>function getAddressesByName(host: string): Promise<Array<NetAddress>>; | Added|
| ohos.net.connection | connection | function reportNetDisconnected(netHandle: NetHandle, callback: AsyncCallback<void>): void;<br>function reportNetDisconnected(netHandle: NetHandle): Promise<void>; | Added|
| ohos.net.connection | connection | function reportNetConnected(netHandle: NetHandle, callback: AsyncCallback<void>): void;<br>function reportNetConnected(netHandle: NetHandle): Promise<void>; | Added|
| ohos.net.connection | connection | function hasDefaultNet(callback: AsyncCallback<boolean>): void;<br>function hasDefaultNet(): Promise<boolean>; | Added|
| ohos.net.connection | connection | function getNetCapabilities(netHandle: NetHandle, callback: AsyncCallback<NetCapabilities>): void;<br>function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>; | Added|
| ohos.net.connection | connection | function getConnectionProperties(netHandle: NetHandle, callback: AsyncCallback<ConnectionProperties>): void;<br>function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>; | Added|
| ohos.net.connection | connection | function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;<br>function getAllNets(): Promise<Array<NetHandle>>; | Added|
| ohos.net.connection | connection | function getDefaultNet(callback: AsyncCallback<NetHandle>): void;<br>function getDefaultNet(): Promise<NetHandle>; | Added|
| ohos.net.connection | connection | function createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection; | Added|
| ohos.net.connection | NetConnection | unregister(callback: AsyncCallback\<void>): void; | Added|
| ohos.net.connection | NetConnection | register(callback: AsyncCallback\<void>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netUnavailable', callback: Callback\<void>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netLost', callback: Callback\<NetHandle>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netConnectionPropertiesChange', callback: Callback\<{ netHandle: NetHandle, connectionProperties: ConnectionProperties }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netCapabilitiesChange', callback: Callback\<{ netHandle: NetHandle, netCap: NetCapabilities }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netBlockStatusChange', callback: Callback\<{ netHandle: NetHandle, blocked: boolean }>): void; | Added|
| ohos.net.connection | NetConnection | on(type: 'netAvailable', callback: Callback\<NetHandle>): void; | Added|
| ohos.net.connection | connection | getAddressesByName(host: string, callback: AsyncCallback\<Array\<NetAddress>>): void;<br>getAddressesByName(host: string): Promise\<Array\<NetAddress>>; | Added|
| ohos.net.connection | connection | reportNetDisconnected(netHandle: NetHandle, callback: AsyncCallback\<void>): void;<br>reportNetDisconnected(netHandle: NetHandle): Promise\<void>; | Added|
| ohos.net.connection | connection | reportNetConnected(netHandle: NetHandle, callback: AsyncCallback\<void>): void;<br>reportNetConnected(netHandle: NetHandle): Promise\<void>; | Added|
| ohos.net.connection | connection | hasDefaultNet(callback: AsyncCallback\<boolean>): void;<br>hasDefaultNet(): Promise\<boolean>; | Added|
| ohos.net.connection | connection | getNetCapabilities(netHandle: NetHandle, callback: AsyncCallback\<NetCapabilities>): void;<br>getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>; | Added|
| ohos.net.connection | connection | getConnectionProperties(netHandle: NetHandle, callback: AsyncCallback\<ConnectionProperties>): void;<br>getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>; | Added|
| ohos.net.connection | connection | getAllNets(callback: AsyncCallback\<Array\<NetHandle>>): void;<br>getAllNets(): Promise\<Array\<NetHandle>>; | Added|
| ohos.net.connection | connection | getDefaultNet(callback: AsyncCallback\<NetHandle>): void;<br>getDefaultNet(): Promise\<NetHandle>; | Added|
| ohos.net.connection | connection | createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection; | Added|
......@@ -13,11 +13,11 @@ The table below lists the APIs changes of the distributed scheduler subsystem in
| ohos.reminderAgent | LocalDateTime | month: number; | Added|
| ohos.reminderAgent | LocalDateTime | year: number; | Added|
| ohos.reminderAgent | ReminderRequestTimer | triggerTimeInSeconds: number; | Added|
| ohos.reminderAgent | ReminderRequestAlarm | daysOfWeek?: Array<number>; | Added|
| ohos.reminderAgent | ReminderRequestAlarm | daysOfWeek?: Array\<number>; | Added|
| ohos.reminderAgent | ReminderRequestAlarm | minute: number; | Added|
| ohos.reminderAgent | ReminderRequestAlarm | hour: number; | Added|
| ohos.reminderAgent | ReminderRequestCalendar | repeatDays?: Array<number>; | Added|
| ohos.reminderAgent | ReminderRequestCalendar | repeatMonths?: Array<number>; | Added|
| ohos.reminderAgent | ReminderRequestCalendar | repeatDays?: Array\<number>; | Added|
| ohos.reminderAgent | ReminderRequestCalendar | repeatMonths?: Array\<number>; | Added|
| ohos.reminderAgent | ReminderRequestCalendar | dateTime: LocalDateTime; | Added|
| ohos.reminderAgent | ReminderRequest | slotType?: notification.SlotType; | Added|
| ohos.reminderAgent | ReminderRequest | notificationId?: number; | Added|
......@@ -43,21 +43,21 @@ The table below lists the APIs changes of the distributed scheduler subsystem in
| ohos.reminderAgent | ReminderType | REMINDER_TYPE_TIMER = 0 | Added|
| ohos.reminderAgent | ActionButtonType | ACTION_BUTTON_TYPE_SNOOZE = 1 | Added|
| ohos.reminderAgent | ActionButtonType | ACTION_BUTTON_TYPE_CLOSE = 0 | Added|
| ohos.reminderAgent | reminderAgent | function removeNotificationSlot(slotType: notification.SlotType, callback: AsyncCallback<void>): void;<br>function removeNotificationSlot(slotType: notification.SlotType): Promise<void>; | Added|
| ohos.reminderAgent | reminderAgent | function addNotificationSlot(slot: NotificationSlot, callback: AsyncCallback<void>): void;<br>function addNotificationSlot(slot: NotificationSlot): Promise<void>; | Added|
| ohos.reminderAgent | reminderAgent | function cancelAllReminders(callback: AsyncCallback<void>): void;<br>function cancelAllReminders(): Promise<void>; | Added|
| ohos.reminderAgent | reminderAgent | function getValidReminders(callback: AsyncCallback<Array<ReminderRequest>>): void;<br>function getValidReminders(): Promise<Array<ReminderRequest>>; | Added|
| ohos.reminderAgent | reminderAgent | function cancelReminder(reminderId: number, callback: AsyncCallback<void>): void;<br>function cancelReminder(reminderId: number): Promise<void>; | Added|
| ohos.reminderAgent | reminderAgent | function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback<number>): void;<br>function publishReminder(reminderReq: ReminderRequest): Promise<number>; | Added|
| ohos.bundleState | bundleState | function queryCurrentBundleActiveStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveState>>): void;<br>function queryCurrentBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>; | Added|
| ohos.reminderAgent | reminderAgent | removeNotificationSlot(slotType: notification.SlotType, callback: AsyncCallback\<void>): void;<br>removeNotificationSlot(slotType: notification.SlotType): Promise\<void>; | Added|
| ohos.reminderAgent | reminderAgent | addNotificationSlot(slot: NotificationSlot, callback: AsyncCallback\<void>): void;<br>addNotificationSlot(slot: NotificationSlot): Promise\<void>; | Added|
| ohos.reminderAgent | reminderAgent | cancelAllReminders(callback: AsyncCallback\<void>): void;<br>cancelAllReminders(): Promise\<void>; | Added|
| ohos.reminderAgent | reminderAgent | getValidReminders(callback: AsyncCallback\<Array\<ReminderRequest>>): void;<br>getValidReminders(): Promise\<Array\<ReminderRequest>>; | Added|
| ohos.reminderAgent | reminderAgent | cancelReminder(reminderId: number, callback: AsyncCallback\<void>): void;<br>cancelReminder(reminderId: number): Promise\<void>; | Added|
| ohos.reminderAgent | reminderAgent | publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\<number>): void;<br>publishReminder(reminderReq: ReminderRequest): Promise\<number>; | Added|
| ohos.bundleState | bundleState | queryCurrentBundleActiveStates(begin: number, end: number, callback: AsyncCallback\<Array\<BundleActiveState>>): void;<br>queryCurrentBundleActiveStates(begin: number, end: number): Promise\<Array\<BundleActiveState>>; | Added|
| ohos.bundleState | IntervalType | BY_ANNUALLY = 4 | Added|
| ohos.bundleState | IntervalType | BY_MONTHLY = 3 | Added|
| ohos.bundleState | IntervalType | BY_WEEKLY = 2 | Added|
| ohos.bundleState | IntervalType | BY_DAILY = 1 | Added|
| ohos.bundleState | IntervalType | BY_OPTIMIZED = 0 | Added|
| ohos.bundleState | BundleActiveInfoResponse | [key: string]: BundleStateInfo; | Added|
| ohos.bundleState | bundleState | function queryAppUsagePriorityGroup(callback: AsyncCallback<number>): void;<br>function queryAppUsagePriorityGroup(): Promise<number>; | Added|
| ohos.bundleState | bundleState | function isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void;<br>function isIdleState(bundleName: string): Promise<boolean>; | Added|
| ohos.bundleState | bundleState | queryAppUsagePriorityGroup(callback: AsyncCallback\<number>): void;<br>queryAppUsagePriorityGroup(): Promise\<number>; | Added|
| ohos.bundleState | bundleState | isIdleState(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>isIdleState(bundleName: string): Promise\<boolean>; | Added|
| ohos.bundleState | BundleActiveState | stateType?: number; | Added|
| ohos.bundleState | BundleActiveState | stateOccurredTime?: number; | Added|
| ohos.bundleState | BundleActiveState | nameOfClass?: string; | Added|
......@@ -82,10 +82,10 @@ The table below lists the APIs changes of the distributed scheduler subsystem in
| ohos.backgroundTaskManager | BackgroundMode | AUDIO_RECORDING = 3 | Added|
| ohos.backgroundTaskManager | BackgroundMode | AUDIO_PLAYBACK = 2 | Added|
| ohos.backgroundTaskManager | BackgroundMode | DATA_TRANSFER = 1 | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;<br>function stopBackgroundRunning(context: Context): Promise<void>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, callback: AsyncCallback<void>): void;<br>function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | function requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspendInfo; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | function getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>): void;<br>function getRemainingDelayTime(requestId: number): Promise<number>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | function cancelSuspendDelay(requestId: number): void; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | stopBackgroundRunning(context: Context, callback: AsyncCallback\<void>): void;<br>stopBackgroundRunning(context: Context): Promise\<void>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, callback: AsyncCallback\<void>): void;<br>startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise\<void>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | requestSuspendDelay(reason: string, callback: Callback\<void>): DelaySuspendInfo; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | getRemainingDelayTime(requestId: number, callback: AsyncCallback\<number>): void;<br>getRemainingDelayTime(requestId: number): Promise\<number>; | Added|
| ohos.backgroundTaskManager | backgroundTaskManager | cancelSuspendDelay(requestId: number): void; | Added|
| ohos.backgroundTaskManager | DelaySuspendInfo | actualDelayTime: number; | Added|
| ohos.backgroundTaskManager | DelaySuspendInfo | requestId: number; | Added|
......@@ -82,12 +82,12 @@ The table below lists the APIs changes of the security subsystem in OpenHarmony
| ohos.security.huks | HuksTag | HUKS_TAG_PURPOSE = HuksTagType.HUKS_TAG_TYPE_UINT \| 2 | Added|
| ohos.security.huks | HuksTag | HUKS_TAG_ALGORITHM = HuksTagType.HUKS_TAG_TYPE_UINT \| 1 | Added|
| ohos.security.huks | HuksTag | HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_BYTES = 5 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_BOOL = 4 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_ULONG = 3 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_UINT = 2 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_INT = 1 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_INVALID = 0 << 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_BYTES = 5 \<\< 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_BOOL = 4 \<\< 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_ULONG = 3 \<\< 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_UINT = 2 \<\< 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_INT = 1 \<\< 28 | Added|
| ohos.security.huks | HuksTagType | HUKS_TAG_TYPE_INVALID = 0 \<\< 28 | Added|
| ohos.security.huks | HuksSendType | HUKS_SEND_TYPE_SYNC = 1 | Added|
| ohos.security.huks | HuksSendType | HUKS_SEND_TYPE_ASYNC = 0 | Added|
| ohos.security.huks | HuksKeyStorageType | HUKS_STORAGE_PERSISTENT = 1 | Added|
......@@ -223,25 +223,25 @@ The table below lists the APIs changes of the security subsystem in OpenHarmony
| ohos.security.huks | HuksErrorCode | HUKS_ERROR_BAD_STATE = -2 | Added|
| ohos.security.huks | HuksErrorCode | HUKS_FAILURE = -1 | Added|
| ohos.security.huks | HuksErrorCode | HUKS_SUCCESS = 0 | Added|
| ohos.security.huks | HuksResult | certChains?: Array<string>; | Added|
| ohos.security.huks | HuksResult | properties?: Array<HuksParam>; | Added|
| ohos.security.huks | HuksResult | certChains?: Array\<string>; | Added|
| ohos.security.huks | HuksResult | properties?: Array\<HuksParam>; | Added|
| ohos.security.huks | HuksResult | outData?: Uint8Array; | Added|
| ohos.security.huks | HuksResult | errorCode: number; | Added|
| ohos.security.huks | HuksOptions | inData?: Uint8Array; | Added|
| ohos.security.huks | HuksOptions | properties?: Array<HuksParam>; | Added|
| ohos.security.huks | HuksOptions | properties?: Array\<HuksParam>; | Added|
| ohos.security.huks | HuksHandle | token?: Uint8Array; | Added|
| ohos.security.huks | HuksHandle | handle: number; | Added|
| ohos.security.huks | HuksHandle | errorCode: number; | Added|
| ohos.security.huks | HuksParam | value: boolean \| number \| bigint \| Uint8Array; | Added|
| ohos.security.huks | HuksParam | tag: HuksTag; | Added|
| ohos.security.huks | huks | function getSdkVersion(options: HuksOptions) : string; | Added|
| ohos.security.huks | huks | function abort(handle: number, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function abort(handle: number, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function finish(handle: number, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function finish(handle: number, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function init(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksHandle>) : void;<br>function init(keyAlias: string, options: HuksOptions) : Promise<HuksHandle>; | Added|
| ohos.security.huks | huks | function isKeyExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback<boolean>) : void;<br>function isKeyExist(keyAlias: string, options: HuksOptions) : Promise<boolean>; | Added|
| ohos.security.huks | huks | function getKeyProperties(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function getKeyProperties(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function exportKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function exportKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function importKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function importKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function deleteKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function deleteKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | function generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>function generateKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; | Added|
| ohos.security.huks | huks | getSdkVersion(options: HuksOptions) : string; | Added|
| ohos.security.huks | huks | abort(handle: number, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>abort(handle: number, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | finish(handle: number, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>finish(handle: number, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | init(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksHandle>) : void;<br>init(keyAlias: string, options: HuksOptions) : Promise\<HuksHandle>; | Added|
| ohos.security.huks | huks | isKeyExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<boolean>) : void;<br>isKeyExist(keyAlias: string, options: HuksOptions) : Promise\<boolean>; | Added|
| ohos.security.huks | huks | getKeyProperties(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>getKeyProperties(keyAlias: string, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | exportKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>exportKey(keyAlias: string, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | importKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>importKey(keyAlias: string, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | deleteKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>deleteKey(keyAlias: string, options: HuksOptions) : Promise\<HuksResult>; | Added|
| ohos.security.huks | huks | generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksResult>) : void;<br>generateKey(keyAlias: string, options: HuksOptions) : Promise\<HuksResult>; | Added|
......@@ -9,8 +9,8 @@ The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmon
| ohos.vibrator | VibratorStopMode | VIBRATOR_STOP_MODE_PRESET = "preset" | Added|
| ohos.vibrator | VibratorStopMode | VIBRATOR_STOP_MODE_TIME = "time" | Added|
| ohos.vibrator | EffectId | EFFECT_CLOCK_TIMER = "haptic.clock.timer" | Added|
| ohos.vibrator | vibrator | function stop(stopMode: VibratorStopMode): Promise<void>;<br>function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void; | Added|
| ohos.vibrator | vibrator | function vibrate(duration: number, callback?: AsyncCallback<void>): void;<br>function vibrate(duration: number): Promise<void>;<br>function vibrate(effectId: EffectId): Promise<void>;<br>function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void; | Added|
| ohos.vibrator | vibrator | stop(stopMode: VibratorStopMode): Promise\<void>;<br>stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void; | Added|
| ohos.vibrator | vibrator | vibrate(duration: number, callback?: AsyncCallback\<void>): void;<br>vibrate(duration: number): Promise\<void>;<br>vibrate(effectId: EffectId): Promise\<void>;<br>vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void; | Added|
| ohos.sensor | WearDetectionResponse | value: number; | Added|
| ohos.sensor | HeartRateResponse | heartRate: number; | Added|
| ohos.sensor | BarometerResponse | pressure: number; | Added|
......@@ -85,18 +85,18 @@ The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmon
| ohos.sensor | SensorType | SENSOR_TYPE_ID_GYROSCOPE = 2 | Added|
| ohos.sensor | SensorType | SENSOR_TYPE_ID_ACCELEROMETER = 1 | Added|
| ohos.sensor | Options | interval?: number; | Added|
| ohos.sensor | RotationMatrixResponse | inclination: Array<number> | Added|
| ohos.sensor | RotationMatrixResponse | rotation: Array<number>; | Added|
| ohos.sensor | sensor | function getDirection(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;<br>function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>; | Added|
| ohos.sensor | sensor | function createQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;<br>function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>; | Added|
| ohos.sensor | sensor | function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void;<br>function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>; | Added|
| ohos.sensor | RotationMatrixResponse | inclination: Array\<number> | Added|
| ohos.sensor | RotationMatrixResponse | rotation: Array\<number>; | Added|
| ohos.sensor | sensor | getDirection(rotationMatrix: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>getDirection(rotationMatrix: Array\<number>): Promise\<Array\<number>>; | Added|
| ohos.sensor | sensor | createQuaternion(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>createQuaternion(rotationVector: Array\<number>): Promise\<Array\<number>>; | Added|
| ohos.sensor | sensor | transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions, callback: AsyncCallback\<Array\<number>>): void;<br>transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions): Promise\<Array\<number>>; | Added|
| ohos.sensor | CoordinatesOptions | y: number; | Added|
| ohos.sensor | CoordinatesOptions | x: number; | Added|
| ohos.sensor | sensor | function createRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;<br>function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;<br>function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void;<br>function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>,): Promise<RotationMatrixResponse>; | Added|
| ohos.sensor | sensor | function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;<br>function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;| Added|
| ohos.sensor | sensor | function getGeomagneticDip(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void;<br>function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>; | Added|
| ohos.sensor | sensor | function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void;<br>function getAltitude(seaPressure: number, currentPressure: number): Promise<number>; | Added|
| ohos.sensor | sensor | function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void;<br>function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>; | Added|
| ohos.sensor | sensor | createRotationMatrix(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>createRotationMatrix(rotationVector: Array\<number>): Promise\<Array\<number>>;<br>createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>, callback: AsyncCallback\<RotationMatrixResponse>): void;<br>createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>,): Promise\<RotationMatrixResponse>; | Added|
| ohos.sensor | sensor | getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>): Promise\<Array\<number>>; | Added|
| ohos.sensor | sensor | getGeomagneticDip(inclinationMatrix: Array\<number>, callback: AsyncCallback\<number>): void;<br>getGeomagneticDip(inclinationMatrix: Array\<number>): Promise\<number>; | Added|
| ohos.sensor | sensor | getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\<number>): void;<br>getAltitude(seaPressure: number, currentPressure: number): Promise\<number>; | Added|
| ohos.sensor | sensor | getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\<GeomagneticResponse>): void;<br>getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\<GeomagneticResponse>; | Added|
| ohos.sensor | GeomagneticResponse | totalIntensity: number; | Added|
| ohos.sensor | GeomagneticResponse | levelIntensity: number; | Added|
| ohos.sensor | GeomagneticResponse | deflectionAngle: number; | Added|
......@@ -107,6 +107,6 @@ The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmon
| ohos.sensor | LocationOptions | altitude: number; | Added|
| ohos.sensor | LocationOptions | longitude: number; | Added|
| ohos.sensor | LocationOptions | latitude: number; | Added|
| ohos.sensor | sensor | function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback<LightResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback<BarometerResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback<GravityResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback<GyroscopeResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback<HallResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback<HumidityResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback<LinearAccelerometerResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback<OrientationResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback<PedometerResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback<ProximityResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void;<br>function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void;| Added|
| ohos.sensor | sensor | function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void;<br>function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void; | Added|
| ohos.sensor | sensor | function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void;<br>function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void; | Added|
| ohos.sensor | sensor | off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback\<AccelerometerResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback\<AccelerometerUncalibratedResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback\<LightResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback\<AmbientTemperatureResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback\<BarometerResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback\<GravityResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback\<GyroscopeResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback\<GyroscopeUncalibratedResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback\<HallResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\<HeartRateResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback\<HumidityResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback\<LinearAccelerometerResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback\<MagneticFieldResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\<MagneticFieldUncalibratedResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback\<OrientationResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback\<PedometerResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback\<PedometerDetectionResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback\<ProximityResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback\<RotationVectorResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback\<SignificantMotionResponse>): void;<br>off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback\<WearDetectionResponse>): void; | Added|
| ohos.sensor | sensor | once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>): void;<br>once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>): void; | Added|
| ohos.sensor | sensor | on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>, options?: Options): void;<br>on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>, options?: Options): void; | Added|
......@@ -6,13 +6,13 @@ The table below lists the APIs changes of the application framework subsystem in
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.settings | settings | function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; | Added|
| ohos.settings | settings | function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; | Added|
| ohos.settings | settings | function getUriSync(name: string): string; | Added|
| ohos.settings | settings | function canShowFloating(callback: AsyncCallback<boolean>): void;<br>function canShowFloating(): Promise<boolean>; | Added|
| ohos.settings | settings | function enableAirplaneMode(enable: boolean, callback: AsyncCallback<void>): void;<br>function enableAirplaneMode(enable: boolean): Promise<void>; | Added|
| ohos.settings | settings | function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>; | Added|
| ohos.settings | settings | function getURI(name: string, callback: AsyncCallback<object>): void;<br>function getURI(name: string): Promise<object>; | Added|
| ohos.settings | settings | setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; | Added|
| ohos.settings | settings | getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; | Added|
| ohos.settings | settings | getUriSync(name: string): string; | Added|
| ohos.settings | settings | canShowFloating(callback: AsyncCallback\<boolean>): void;<br>canShowFloating(): Promise\<boolean>; | Added|
| ohos.settings | settings | enableAirplaneMode(enable: boolean, callback: AsyncCallback\<void>): void;<br>enableAirplaneMode(enable: boolean): Promise\<void>; | Added|
| ohos.settings | settings | getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>; | Added|
| ohos.settings | settings | getURI(name: string, callback: AsyncCallback\<object>): void;<br>getURI(name: string): Promise\<object>; | Added|
| ohos.settings | wireless | const WIFI_WATCHDOG_STATUS: string | Added|
| ohos.settings | wireless | const WIFI_STATUS: string | Added|
| ohos.settings | wireless | const WIFI_TO_MOBILE_DATA_AWAKE_TIMEOUT: string | Added|
......
......@@ -6,7 +6,7 @@ The table below lists the APIs changes of the Telephony subsystem in OpenHarmony
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.telephony.sms | sms | function hasSmsCapability(): boolean; | Added|
| ohos.telephony.sms | sms | hasSmsCapability(): boolean; | Added|
| ohos.telephony.sim | CardType | SINGLE_MODE_ISIM_CARD = 60 | Added|
| ohos.telephony.sim | CardType | DUAL_MODE_UG_CARD = 50 | Added|
| ohos.telephony.sim | CardType | DUAL_MODE_TELECOM_LTE_CARD = 43 | Added|
......@@ -17,15 +17,15 @@ The table below lists the APIs changes of the Telephony subsystem in OpenHarmony
| ohos.telephony.sim | CardType | SINGLE_MODE_USIM_CARD = 20 | Added|
| ohos.telephony.sim | CardType | SINGLE_MODE_SIM_CARD = 10 | Added|
| ohos.telephony.sim | CardType | UNKNOWN_CARD = -1 | Added|
| ohos.telephony.sim | sim | function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void;<br>function hasSimCard(slotId: number): Promise<boolean>; | Added|
| ohos.telephony.sim | sim | function getMaxSimCount(): number; | Added|
| ohos.telephony.sim | sim | function getCardType(slotId: number, callback: AsyncCallback<CardType>): void;<br>function getCardType(slotId: number): Promise<CardType>; | Added|
| ohos.telephony.sim | sim | function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void;<br>function hasOperatorPrivileges(slotId: number): Promise<boolean>; | Added|
| ohos.telephony.sim | sim | function isSimActive(slotId: number, callback: AsyncCallback<boolean>): void;<br>function isSimActive(slotId: number): Promise<boolean>; | Added|
| ohos.telephony.sim | sim | hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void;<br>hasSimCard(slotId: number): Promise\<boolean>; | Added|
| ohos.telephony.sim | sim | getMaxSimCount(): number; | Added|
| ohos.telephony.sim | sim | getCardType(slotId: number, callback: AsyncCallback\<CardType>): void;<br>getCardType(slotId: number): Promise\<CardType>; | Added|
| ohos.telephony.sim | sim | hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): void;<br>hasOperatorPrivileges(slotId: number): Promise\<boolean>; | Added|
| ohos.telephony.sim | sim | isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void;<br>isSimActive(slotId: number): Promise\<boolean>; | Added|
| ohos.telephony.radio | NetworkState | cfgTech: RadioTechnology; | Added|
| ohos.telephony.radio | radio | function getOperatorName(slotId: number, callback: AsyncCallback<string>): void;<br>function getOperatorName(slotId: number): Promise<string>; | Added|
| ohos.telephony.radio | radio | function isNrSupported(): boolean;<br>function isNrSupported(slotId: number): boolean; | Added|
| ohos.telephony.radio | radio | function getPrimarySlotId(callback: AsyncCallback<number>): void;<br>function getPrimarySlotId(): Promise<number>; | Added|
| ohos.telephony.radio | radio | getOperatorName(slotId: number, callback: AsyncCallback\<string>): void;<br>getOperatorName(slotId: number): Promise\<string>; | Added|
| ohos.telephony.radio | radio | isNrSupported(): boolean;<br>isNrSupported(slotId: number): boolean; | Added|
| ohos.telephony.radio | radio | getPrimarySlotId(callback: AsyncCallback\<number>): void;<br>getPrimarySlotId(): Promise\<number>; | Added|
| ohos.telephony.observer | LockReason | SIM_SIM_PUK | Added|
| ohos.telephony.observer | LockReason | SIM_SIM_PIN | Added|
| ohos.telephony.observer | LockReason | SIM_PC_PUK | Added|
......@@ -42,12 +42,12 @@ The table below lists the APIs changes of the Telephony subsystem in OpenHarmony
| ohos.telephony.observer | SimStateData | reason: LockReason; | Added|
| ohos.telephony.observer | SimStateData | state: SimState; | Added|
| ohos.telephony.observer | SimStateData | type: CardType; | Added|
| ohos.telephony.observer | observer | function off(type: 'simStateChange', callback?: Callback<SimStateData>): void; | Added|
| ohos.telephony.observer | observer | function on(type: 'simStateChange', callback: Callback<SimStateData>): void;<br>function on(type: 'simStateChange', options: { slotId: number }, callback: Callback<SimStateData>): void; | Added|
| ohos.telephony.observer | observer | function off(type: 'cellularDataFlowChange', callback?: Callback<DataFlowType>): void; | Added|
| ohos.telephony.observer | observer | function on(type: 'cellularDataFlowChange', callback: Callback<DataFlowType>): void;<br>function on(type: 'cellularDataFlowChange', options: { slotId: number },callback: Callback<DataFlowType>): void;| Added|
| ohos.telephony.observer | observer | function off(type: 'cellularDataConnectionStateChange',callback?: Callback<{ state: DataConnectState, network: RatType }>): void;| Added|
| ohos.telephony.observer | observer | function on(type: 'cellularDataConnectionStateChange', callback: Callback<{ state: DataConnectState, network: RatType }>): void;<br>function on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, callback: Callback<{ state: DataConnectState, network: RatType }>): void; | Added|
| ohos.telephony.observer | observer | off(type: 'simStateChange', callback?: Callback\<SimStateData>): void; | Added|
| ohos.telephony.observer | observer | on(type: 'simStateChange', callback: Callback\<SimStateData>): void;<br>on(type: 'simStateChange', options: { slotId: number }, callback: Callback\<SimStateData>): void; | Added|
| ohos.telephony.observer | observer | off(type: 'cellularDataFlowChange', callback?: Callback\<DataFlowType>): void; | Added|
| ohos.telephony.observer | observer | on(type: 'cellularDataFlowChange', callback: Callback\<DataFlowType>): void;<br>on(type: 'cellularDataFlowChange', options: { slotId: number },callback: Callback\<DataFlowType>): void; | Added|
| ohos.telephony.observer | observer | off(type: 'cellularDataConnectionStateChange',callback?: Callback\<{ state: DataConnectState, network: RatType }>): void; | Added|
| ohos.telephony.observer | observer | on(type: 'cellularDataConnectionStateChange', callback: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, callback: Callback\<{ state: DataConnectState, network: RatType }>): void; | Added|
| ohos.telephony.data | DataConnectState | DATA_STATE_SUSPENDED = 3 | Added|
| ohos.telephony.data | DataConnectState | DATA_STATE_CONNECTED = 2 | Added|
| ohos.telephony.data | DataConnectState | DATA_STATE_CONNECTING = 1 | Added|
......@@ -58,13 +58,13 @@ The table below lists the APIs changes of the Telephony subsystem in OpenHarmony
| ohos.telephony.data | DataFlowType | DATA_FLOW_TYPE_UP = 2 | Added|
| ohos.telephony.data | DataFlowType | DATA_FLOW_TYPE_DOWN = 1 | Added|
| ohos.telephony.data | DataFlowType | DATA_FLOW_TYPE_NONE = 0 | Added|
| ohos.telephony.data | data | function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void;<br>function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>; | Added|
| ohos.telephony.data | data | function isCellularDataEnabled(callback: AsyncCallback<boolean>): void;<br>function isCellularDataEnabled(): Promise<boolean>; | Added|
| ohos.telephony.data | data | function getCellularDataState(callback: AsyncCallback<DataConnectState>): void;<br>function getCellularDataState(): Promise<DataConnectState>; | Added|
| ohos.telephony.data | data | function getCellularDataFlowType(callback: AsyncCallback<DataFlowType>): void;<br>function getCellularDataFlowType(): Promise<DataFlowType>; | Added|
| ohos.telephony.data | data | function getDefaultCellularDataSlotId(callback: AsyncCallback<number>): void;<br>function getDefaultCellularDataSlotId(): Promise<number>; | Added|
| ohos.telephony.call | call | function hasVoiceCapability(): boolean; | Added|
| ohos.telephony.call | call | function makeCall(phoneNumber: string, callback: AsyncCallback<void>): void;<br>function makeCall(phoneNumber: string): Promise<void>; | Added|
| ohos.telephony.data | data | isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback\<boolean>): void;<br>isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>; | Added|
| ohos.telephony.data | data | isCellularDataEnabled(callback: AsyncCallback\<boolean>): void;<br>isCellularDataEnabled(): Promise\<boolean>; | Added|
| ohos.telephony.data | data | getCellularDataState(callback: AsyncCallback\<DataConnectState>): void;<br>getCellularDataState(): Promise\<DataConnectState>; | Added|
| ohos.telephony.data | data | getCellularDataFlowType(callback: AsyncCallback\<DataFlowType>): void;<br>getCellularDataFlowType(): Promise\<DataFlowType>; | Added|
| ohos.telephony.data | data | getDefaultCellularDataSlotId(callback: AsyncCallback\<number>): void;<br>getDefaultCellularDataSlotId(): Promise\<number>; | Added|
| ohos.telephony.call | call | hasVoiceCapability(): boolean; | Added|
| ohos.telephony.call | call | makeCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>makeCall(phoneNumber: string): Promise\<void>; | Added|
| ohos.contact | Website | website: string | Added|
| ohos.contact | SipAddress | labelId: number | Added|
| ohos.contact | SipAddress | sipAddress: string | Added|
......@@ -214,17 +214,17 @@ The table below lists the APIs changes of the Telephony subsystem in OpenHarmony
| ohos.contact | Contact | readonly key: string | Added|
| ohos.contact | Contact | readonly id: number | Added|
| ohos.contact | Contact | static readonly INVALID_CONTACT_ID: -1 | Added|
| ohos.contact | contact | function isMyCard(id: number, callback: AsyncCallback<boolean>): void;<br>function isMyCard(id: number): Promise<boolean>; | Added|
| ohos.contact | contact | function isLocalContact(id: number, callback: AsyncCallback<boolean>): void;<br>function isLocalContact(id: number): Promise<boolean>; | Added|
| ohos.contact | contact | function updateContact(contact: Contact, callback: AsyncCallback<void>): void;<br>function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;<br>function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; | Added|
| ohos.contact | contact | function queryMyCard(callback: AsyncCallback<Contact>): void;<br>function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;<br>function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; | Added|
| ohos.contact | contact | function queryKey(id: number, callback: AsyncCallback<string>): void;<br>function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void;<br>function queryKey(id: number, holder?: Holder): Promise<string>; | Added|
| ohos.contact | contact | function queryHolders(callback: AsyncCallback<Array<Holder>>): void;<br>function queryHolders(): Promise<Array<Holder>>; | Added|
| ohos.contact | contact | function queryGroups(callback: AsyncCallback<Array<Group>>): void;<br>function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void;<br>function queryGroups(holder?: Holder): Promise<Array<Group>>; | Added|
| ohos.contact | contact | function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | Added|
| ohos.contact | contact | function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | Added|
| ohos.contact | contact | function queryContacts(callback: AsyncCallback<Array<Contact>>): void;<br>function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;<br>function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | Added|
| ohos.contact | contact | function queryContact(key: string, callback: AsyncCallback<Contact>): void;<br>function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void;<br>function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;<br>function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;<br>function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; | Added|
| ohos.contact | contact | function deleteContact(key: string, callback: AsyncCallback<void>): void;<br>function deleteContact(key: string): Promise<void>; | Added|
| ohos.contact | contact | function selectContact(callback: AsyncCallback<Array<Contact>>): void;<br>function selectContact(): Promise<Array<Contact>>; | Added|
| ohos.contact | contact | function addContact(contact: Contact, callback: AsyncCallback<number>): void;<br>function addContact(contact: Contact): Promise<number>; | Added|
| ohos.contact | contact | isMyCard(id: number, callback: AsyncCallback\<boolean>): void;<br>isMyCard(id: number): Promise\<boolean>; | Added|
| ohos.contact | contact | isLocalContact(id: number, callback: AsyncCallback\<boolean>): void;<br>isLocalContact(id: number): Promise\<boolean>; | Added|
| ohos.contact | contact | updateContact(contact: Contact, callback: AsyncCallback\<void>): void;<br>updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback\<void>): void;<br>updateContact(contact: Contact, attrs?: ContactAttributes): Promise\<void>; | Added|
| ohos.contact | contact | queryMyCard(callback: AsyncCallback\<Contact>): void;<br>queryMyCard(attrs: ContactAttributes, callback: AsyncCallback\<Contact>): void;<br>queryMyCard(attrs?: ContactAttributes): Promise\<Contact>; | Added|
| ohos.contact | contact | queryKey(id: number, callback: AsyncCallback\<string>): void;<br>queryKey(id: number, holder: Holder, callback: AsyncCallback\<string>): void;<br>queryKey(id: number, holder?: Holder): Promise\<string>; | Added|
| ohos.contact | contact | queryHolders(callback: AsyncCallback\<Array\<Holder>>): void;<br>queryHolders(): Promise\<Array\<Holder>>; | Added|
| ohos.contact | contact | queryGroups(callback: AsyncCallback\<Array\<Group>>): void;<br>queryGroups(holder: Holder, callback: AsyncCallback\<Array\<Group>>): void;<br>queryGroups(holder?: Holder): Promise\<Array\<Group>>; | Added|
| ohos.contact | contact | queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise\<Array\<Contact>>; | Added|
| ohos.contact | contact | queryContactsByEmail(email: string, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise\<Array\<Contact>>; | Added|
| ohos.contact | contact | queryContacts(callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContacts(holder: Holder, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContacts(attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback\<Array\<Contact>>): void;<br>queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise\<Array\<Contact>>; | Added|
| ohos.contact | contact | queryContact(key: string, callback: AsyncCallback\<Contact>): void;<br>queryContact(key: string, holder: Holder, callback: AsyncCallback\<Contact>): void;<br>queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback\<Contact>): void;<br>queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback\<Contact>): void;<br>queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise\<Contact>; | Added|
| ohos.contact | contact | deleteContact(key: string, callback: AsyncCallback\<void>): void;<br>deleteContact(key: string): Promise\<void>; | Added|
| ohos.contact | contact | selectContact(callback: AsyncCallback\<Array\<Contact>>): void;<br>selectContact(): Promise\<Array\<Contact>>; | Added|
| ohos.contact | contact | addContact(contact: Contact, callback: AsyncCallback\<number>): void;<br>addContact(contact: Contact): Promise\<number>; | Added|
......@@ -6,32 +6,32 @@ The table below lists the APIs changes of the testing framework subsystem in Ope
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.uitest | UiDriver | screenCap(savePath:string):Promise<bool>; | Added|
| ohos.uitest | UiDriver | swipe(startx:number,starty:number,endx:number,endy:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | longClick(x:number,y:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | doubleClick(x:number,y:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | click(x:number,y:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | triggerKey(keyCode:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | pressBack():Promise<void>; | Added|
| ohos.uitest | UiDriver | assertComponentExist(by:By):Promise<void>; | Added|
| ohos.uitest | UiDriver | findComponents(by:By):Promise<Array<UiComponent>>; | Added|
| ohos.uitest | UiDriver | findComponent(by:By):Promise<UiComponent>; | Added|
| ohos.uitest | UiDriver | delayMs(duration:number):Promise<void>; | Added|
| ohos.uitest | UiDriver | screenCap(savePath:string):Promise\<bool>; | Added|
| ohos.uitest | UiDriver | swipe(startx:number,starty:number,endx:number,endy:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | longClick(x:number,y:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | doubleClick(x:number,y:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | click(x:number,y:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | triggerKey(keyCode:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | pressBack():Promise\<void>; | Added|
| ohos.uitest | UiDriver | assertComponentExist(by:By):Promise\<void>; | Added|
| ohos.uitest | UiDriver | findComponents(by:By):Promise\<Array\<UiComponent>>; | Added|
| ohos.uitest | UiDriver | findComponent(by:By):Promise\<UiComponent>; | Added|
| ohos.uitest | UiDriver | delayMs(duration:number):Promise\<void>; | Added|
| ohos.uitest | UiDriver | static create():UiDriver; | Added|
| ohos.uitest | UiComponent | scrollSearch(by:By):Promise<UiComponent>; | Added|
| ohos.uitest | UiComponent | inputText(text: string):Promise<void>; | Added|
| ohos.uitest | UiComponent | isSelected():Promise<bool>; | Added|
| ohos.uitest | UiComponent | isFocused():Promise<bool>; | Added|
| ohos.uitest | UiComponent | isEnabled():Promise<bool>; | Added|
| ohos.uitest | UiComponent | isScrollable():Promise<bool>; | Added|
| ohos.uitest | UiComponent | isClickable():Promise<bool>; | Added|
| ohos.uitest | UiComponent | getType():Promise<string>; | Added|
| ohos.uitest | UiComponent | getText():Promise<string>; | Added|
| ohos.uitest | UiComponent | getKey():Promise<string>; | Added|
| ohos.uitest | UiComponent | getId():Promise<number>; | Added|
| ohos.uitest | UiComponent | longClick():Promise<void>; | Added|
| ohos.uitest | UiComponent | doubleClick():Promise<void>; | Added|
| ohos.uitest | UiComponent | click():Promise<void>; | Added|
| ohos.uitest | UiComponent | scrollSearch(by:By):Promise\<UiComponent>; | Added|
| ohos.uitest | UiComponent | inputText(text: string):Promise\<void>; | Added|
| ohos.uitest | UiComponent | isSelected():Promise\<bool>; | Added|
| ohos.uitest | UiComponent | isFocused():Promise\<bool>; | Added|
| ohos.uitest | UiComponent | isEnabled():Promise\<bool>; | Added|
| ohos.uitest | UiComponent | isScrollable():Promise\<bool>; | Added|
| ohos.uitest | UiComponent | isClickable():Promise\<bool>; | Added|
| ohos.uitest | UiComponent | getType():Promise\<string>; | Added|
| ohos.uitest | UiComponent | getText():Promise\<string>; | Added|
| ohos.uitest | UiComponent | getKey():Promise\<string>; | Added|
| ohos.uitest | UiComponent | getId():Promise\<number>; | Added|
| ohos.uitest | UiComponent | longClick():Promise\<void>; | Added|
| ohos.uitest | UiComponent | doubleClick():Promise\<void>; | Added|
| ohos.uitest | UiComponent | click():Promise\<void>; | Added|
| ohos.uitest | By | isAfter(by:By):By; | Added|
| ohos.uitest | By | isBefore(by:By):By; | Added|
| ohos.uitest | By | selected(b?:bool):By; | Added|
......
......@@ -23,7 +23,7 @@ The table below lists the APIs changes of the USB subsystem in OpenHarmony 3.1 R
| ohos.usb | USBControlParams | request: number; | Added|
| ohos.usb | USBDevicePipe | devAddress: number; | Added|
| ohos.usb | USBDevicePipe | busNum: number; | Added|
| ohos.usb | USBDevice | configs: Array<USBConfig>; | Added|
| ohos.usb | USBDevice | configs: Array\<USBConfig>; | Added|
| ohos.usb | USBDevice | protocol: number; | Added|
| ohos.usb | USBDevice | subClass: number; | Added|
| ohos.usb | USBDevice | clazz: number; | Added|
......@@ -36,14 +36,14 @@ The table below lists the APIs changes of the USB subsystem in OpenHarmony 3.1 R
| ohos.usb | USBDevice | serial: string; | Added|
| ohos.usb | USBDevice | devAddress: number; | Added|
| ohos.usb | USBDevice | busNum: number; | Added|
| ohos.usb | USBConfig | interfaces: Array<USBInterface>; | Added|
| ohos.usb | USBConfig | interfaces: Array\<USBInterface>; | Added|
| ohos.usb | USBConfig | isSelfPowered: boolean; | Added|
| ohos.usb | USBConfig | isRemoteWakeup: boolean; | Added|
| ohos.usb | USBConfig | name: string; | Added|
| ohos.usb | USBConfig | maxPower: number; | Added|
| ohos.usb | USBConfig | attributes: number; | Added|
| ohos.usb | USBConfig | id: number; | Added|
| ohos.usb | USBInterface | endpoints: Array<USBEndpoint>; | Added|
| ohos.usb | USBInterface | endpoints: Array\<USBEndpoint>; | Added|
| ohos.usb | USBInterface | name: string; | Added|
| ohos.usb | USBInterface | alternateSetting: number; | Added|
| ohos.usb | USBInterface | subClass: number; | Added|
......@@ -58,16 +58,16 @@ The table below lists the APIs changes of the USB subsystem in OpenHarmony 3.1 R
| ohos.usb | USBEndpoint | interval: number; | Added|
| ohos.usb | USBEndpoint | attributes: number; | Added|
| ohos.usb | USBEndpoint | address: number; | Added|
| ohos.usb | usb | function closePipe(pipe: USBDevicePipe): number; | Added|
| ohos.usb | usb | function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,timeout?: number): Promise<number>; | Added|
| ohos.usb | usb | function controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise<number>; | Added|
| ohos.usb | usb | function getFileDescriptor(pipe: USBDevicePipe): number; | Added|
| ohos.usb | usb | function getRawDescriptor(pipe: USBDevicePipe): Uint8Array; | Added|
| ohos.usb | usb | function setInterface(pipe: USBDevicePipe, iface: USBInterface): number; | Added|
| ohos.usb | usb | function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number; | Added|
| ohos.usb | usb | function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number; | Added|
| ohos.usb | usb | function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number; | Added|
| ohos.usb | usb | function requestRight(deviceName: string): Promise<boolean>; | Added|
| ohos.usb | usb | function hasRight(deviceName: string): boolean; | Added|
| ohos.usb | usb | function connectDevice(device: USBDevice): Readonly<USBDevicePipe>; | Added|
| ohos.usb | usb | function getDevices(): Array<Readonly<USBDevice>>; | Added|
| ohos.usb | usb | closePipe(pipe: USBDevicePipe): number; | Added|
| ohos.usb | usb | bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,timeout?: number): Promise\<number>; | Added|
| ohos.usb | usb | controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise\<number>; | Added|
| ohos.usb | usb | getFileDescriptor(pipe: USBDevicePipe): number; | Added|
| ohos.usb | usb | getRawDescriptor(pipe: USBDevicePipe): Uint8Array; | Added|
| ohos.usb | usb | setInterface(pipe: USBDevicePipe, iface: USBInterface): number; | Added|
| ohos.usb | usb | setConfiguration(pipe: USBDevicePipe, config: USBConfig): number; | Added|
| ohos.usb | usb | releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number; | Added|
| ohos.usb | usb | claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number; | Added|
| ohos.usb | usb | requestRight(deviceName: string): Promise\<boolean>; | Added|
| ohos.usb | usb | hasRight(deviceName: string): boolean; | Added|
| ohos.usb | usb | connectDevice(device: USBDevice): Readonly\<USBDevicePipe>; | Added|
| ohos.usb | usb | getDevices(): Array\<Readonly\<USBDevice>>; | Added|
......@@ -51,7 +51,7 @@ The table below lists the APIs changes of the user IAM subsystem in OpenHarmony
| ohos.userIAM.userAuth | UserAuth | getVersion() : number; | Added|
| ohos.userIAM.userAuth | UserAuth | constructor(); | Added|
| ohos.userIAM.userAuth | userAuth | function getAuthenticator(): Authenticator; | Added|
| ohos.userIAM.userAuth | Authenticator | execute(type: AuthType, level: SecureLevel, callback: AsyncCallback<number>): void;<br>execute(type: AuthType, level: SecureLevel): Promise<number>; | Added|
| ohos.userIAM.userAuth | Authenticator | execute(type: AuthType, level: SecureLevel, callback: AsyncCallback\<number>): void;<br>execute(type: AuthType, level: SecureLevel): Promise\<number>; | Added|
| ohos.userIAM.userAuth | AuthenticationResult | GENERAL_ERROR = 100 | Added|
| ohos.userIAM.userAuth | AuthenticationResult | NOT_ENROLLED = 8 | Added|
| ohos.userIAM.userAuth | AuthenticationResult | LOCKED = 7 | Added|
......
......@@ -6,35 +6,35 @@ The table below lists the APIs changes of the Window Manager subsystem in OpenHa
| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
|---|---|---|---|
| ohos.window | Window | setTouchable(isTouchable: boolean): Promise<void>;<br>setTouchable(isTouchable: boolean, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setPrivacyMode(isPrivacyMode: boolean): Promise<void>;<br>setPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setOutsideTouchable(touchable: boolean): Promise<void>;<br>setOutsideTouchable(touchable: boolean, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;<br>setKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setFocusable(isFocusable: boolean): Promise<void>;<br>setFocusable(isFocusable: boolean, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setDimBehind(dimBehindValue: number, callback: AsyncCallback<void>): void;<br>setDimBehind(dimBehindValue: number): Promise<void>; | Added|
| ohos.window | Window | setBrightness(brightness: number): Promise<void>;<br>setBrightness(brightness: number, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | setBackgroundColor(color: string): Promise<void>;<br>setBackgroundColor(color: string, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | getColorSpace(): Promise<ColorSpace>;<br>getColorSpace(callback: AsyncCallback<ColorSpace>): void; | Added|
| ohos.window | Window | setColorSpace(colorSpace:ColorSpace): Promise<void>;<br>setColorSpace(colorSpace:ColorSpace, callback: AsyncCallback<void>): void; | Added|
| ohos.window | Window | isSupportWideGamut(): Promise<boolean>;<br>isSupportWideGamut(callback: AsyncCallback<boolean>): void; | Added|
| ohos.window | Window | off(type: 'keyboardHeightChange', callback?: Callback<number>): void; | Added|
| ohos.window | Window | on(type: 'keyboardHeightChange', callback: Callback<number>): void; | Added|
| ohos.window | Window | off(type: 'systemAvoidAreaChange', callback?: Callback<AvoidArea>): void; | Added|
| ohos.window | Window | on(type: 'systemAvoidAreaChange', callback: Callback<AvoidArea>): void; | Added|
| ohos.window | Window | off(type: 'windowSizeChange', callback?: Callback<Size>): void; | Added|
| ohos.window | Window | on(type: 'windowSizeChange', callback: Callback<Size>): void; | Added|
| ohos.window | Window | isShowing(callback: AsyncCallback<boolean>): void;<br>isShowing(): Promise<boolean>; | Added|
| ohos.window | Window | loadContent(path: string, callback: AsyncCallback<void>): void;<br>loadContent(path: string): Promise<void>; | Added|
| ohos.window | Window | setSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;<br>setSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>; | Added|
| ohos.window | Window | setSystemBarEnable(names: Array<'status'\|'navigation'>, callback: AsyncCallback<void>): void;<br>setSystemBarEnable(names: Array<'status'\|'navigation'>): Promise<void>; | Added|
| ohos.window | Window | setLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void>): void;<br>setLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void>; | Added|
| ohos.window | Window | setFullScreen(isFullScreen: boolean, callback: AsyncCallback<void>): void;<br>setFullScreen(isFullScreen: boolean): Promise<void>; | Added|
| ohos.window | Window | getAvoidArea(type: AvoidAreaType, callback: AsyncCallback<AvoidArea>): void;<br>getAvoidArea(type: AvoidAreaType): Promise<AvoidArea>; | Added|
| ohos.window | Window | getProperties(callback: AsyncCallback<WindowProperties>): void;<br>getProperties(): Promise<WindowProperties>; | Added|
| ohos.window | Window | destroy(callback: AsyncCallback<void>): void;<br>destroy(): Promise<void>; | Added|
| ohos.window | Window | show(callback: AsyncCallback<void>): void;<br>show(): Promise<void>; | Added|
| ohos.window | window | function find(id: string, callback: AsyncCallback<Window>): void;<br>function find(id: string): Promise<Window>; | Added|
| ohos.window | window | function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;<br>function create(id: string, type: WindowType): Promise<Window>;<br>function create(ctx: Context, id: string, type: WindowType): Promise<Window>;<br>function create(ctx: Context, id: string, type: WindowType, callback: AsyncCallback<Window>): void; | Added|
| ohos.window | Window | setTouchable(isTouchable: boolean): Promise\<void>;<br>setTouchable(isTouchable: boolean, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setPrivacyMode(isPrivacyMode: boolean): Promise\<void>;<br>setPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setOutsideTouchable(touchable: boolean): Promise\<void>;<br>setOutsideTouchable(touchable: boolean, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setKeepScreenOn(isKeepScreenOn: boolean): Promise\<void>;<br>setKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setFocusable(isFocusable: boolean): Promise\<void>;<br>setFocusable(isFocusable: boolean, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setDimBehind(dimBehindValue: number, callback: AsyncCallback\<void>): void;<br>setDimBehind(dimBehindValue: number): Promise\<void>; | Added|
| ohos.window | Window | setBrightness(brightness: number): Promise\<void>;<br>setBrightness(brightness: number, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | setBackgroundColor(color: string): Promise\<void>;<br>setBackgroundColor(color: string, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | getColorSpace(): Promise\<ColorSpace>;<br>getColorSpace(callback: AsyncCallback\<ColorSpace>): void; | Added|
| ohos.window | Window | setColorSpace(colorSpace:ColorSpace): Promise\<void>;<br>setColorSpace(colorSpace:ColorSpace, callback: AsyncCallback\<void>): void; | Added|
| ohos.window | Window | isSupportWideGamut(): Promise\<boolean>;<br>isSupportWideGamut(callback: AsyncCallback\<boolean>): void; | Added|
| ohos.window | Window | off(type: 'keyboardHeightChange', callback?: Callback\<number>): void; | Added|
| ohos.window | Window | on(type: 'keyboardHeightChange', callback: Callback\<number>): void; | Added|
| ohos.window | Window | off(type: 'systemAvoidAreaChange', callback?: Callback\<AvoidArea>): void; | Added|
| ohos.window | Window | on(type: 'systemAvoidAreaChange', callback: Callback\<AvoidArea>): void; | Added|
| ohos.window | Window | off(type: 'windowSizeChange', callback?: Callback\<Size>): void; | Added|
| ohos.window | Window | on(type: 'windowSizeChange', callback: Callback\<Size>): void; | Added|
| ohos.window | Window | isShowing(callback: AsyncCallback\<boolean>): void;<br>isShowing(): Promise\<boolean>; | Added|
| ohos.window | Window | loadContent(path: string, callback: AsyncCallback\<void>): void;<br>loadContent(path: string): Promise\<void>; | Added|
| ohos.window | Window | setSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback\<void>): void;<br>setSystemBarProperties(systemBarProperties: SystemBarProperties): Promise\<void>; | Added|
| ohos.window | Window | setSystemBarEnable(names: Array\<'status'\|'navigation'>, callback: AsyncCallback\<void>): void;<br>setSystemBarEnable(names: Array\<'status'\|'navigation'>): Promise\<void>; | Added|
| ohos.window | Window | setLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback\<void>): void;<br>setLayoutFullScreen(isLayoutFullScreen: boolean): Promise\<void>; | Added|
| ohos.window | Window | setFullScreen(isFullScreen: boolean, callback: AsyncCallback\<void>): void;<br>setFullScreen(isFullScreen: boolean): Promise\<void>; | Added|
| ohos.window | Window | getAvoidArea(type: AvoidAreaType, callback: AsyncCallback\<AvoidArea>): void;<br>getAvoidArea(type: AvoidAreaType): Promise\<AvoidArea>; | Added|
| ohos.window | Window | getProperties(callback: AsyncCallback\<WindowProperties>): void;<br>getProperties(): Promise\<WindowProperties>; | Added|
| ohos.window | Window | destroy(callback: AsyncCallback\<void>): void;<br>destroy(): Promise\<void>; | Added|
| ohos.window | Window | show(callback: AsyncCallback\<void>): void;<br>show(): Promise\<void>; | Added|
| ohos.window | window | find(id: string, callback: AsyncCallback\<Window>): void;<br>find(id: string): Promise\<Window>; | Added|
| ohos.window | window | create(id: string, type: WindowType, callback: AsyncCallback\<Window>): void;<br>create(id: string, type: WindowType): Promise\<Window>;<br>create(ctx: Context, id: string, type: WindowType): Promise\<Window>;<br>create(ctx: Context, id: string, type: WindowType, callback: AsyncCallback\<Window>): void; | Added|
| ohos.window | ColorSpace | WIDE_GAMUT | Added|
| ohos.window | ColorSpace | DEFAULT | Added|
| ohos.window | WindowProperties | isTransparent: boolean | Added|
......@@ -87,11 +87,11 @@ The table below lists the APIs changes of the Window Manager subsystem in OpenHa
| ohos.display | DisplayState | STATE_ON | Added|
| ohos.display | DisplayState | STATE_OFF | Added|
| ohos.display | DisplayState | STATE_UNKNOWN = 0 | Added|
| ohos.display | display | function off(type: 'add' \| 'remove' \| 'change', callback?: Callback<number>): void; | Added|
| ohos.display | display | function off(type: 'add' \| 'remove' \| 'change', callback?: Callback<number>): void; | Added|
| ohos.display | display | function off(type: 'add' \| 'remove' \| 'change', callback?: Callback<number>): void; | Added|
| ohos.display | display | function on(type: 'add' \| 'remove' \| 'change', callback: Callback<number>): void; | Added|
| ohos.display | display | function on(type: 'add' \| 'remove' \| 'change', callback: Callback<number>): void; | Added|
| ohos.display | display | function on(type: 'add' \| 'remove' \| 'change', callback: Callback<number>): void; | Added|
| ohos.display | display | function getAllDisplay(callback: AsyncCallback<Array<Display>>): void;<br>function getAllDisplay(): Promise<Array<Display>>; | Added|
| ohos.display | display | function getDefaultDisplay(callback: AsyncCallback<Display>): void;<br>function getDefaultDisplay(): Promise<Display>; | Added|
| ohos.display | display | off(type: 'add' \| 'remove' \| 'change', callback?: Callback\<number>): void; | Added|
| ohos.display | display | off(type: 'add' \| 'remove' \| 'change', callback?: Callback\<number>): void; | Added|
| ohos.display | display | off(type: 'add' \| 'remove' \| 'change', callback?: Callback\<number>): void; | Added|
| ohos.display | display | on(type: 'add' \| 'remove' \| 'change', callback: Callback\<number>): void; | Added|
| ohos.display | display | on(type: 'add' \| 'remove' \| 'change', callback: Callback\<number>): void; | Added|
| ohos.display | display | on(type: 'add' \| 'remove' \| 'change', callback: Callback\<number>): void; | Added|
| ohos.display | display | getAllDisplay(callback: AsyncCallback\<Array\<Display>>): void;<br>getAllDisplay(): Promise\<Array\<Display>>; | Added|
| ohos.display | display | getDefaultDisplay(callback: AsyncCallback\<Display>): void;<br>getDefaultDisplay(): Promise\<Display>; | Added|
......@@ -4,28 +4,28 @@ This document describes the changes of APIs in OpenHarmony 3.1 Beta when compare
## Standard System API Changes
| Module| API| Change Type| Change Description|
| Module| API | Change Type| Change Description |
| -------- | -------- | -------- | -------- |
| System Application - settings| getUri(name: string): string | Added| Added the API for obtaining the URI of a string.|
| System Application - settings| getUri(name: string): string | Added | Added the API for obtaining the URI of a string.|
| System Application - settings| getValue(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string | Added| Added the API for obtaining the value of a string in the database.|
| System Application - settings| setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean | Added| Added the API for saving a string name and its value in the database.|
| Misc Services - systemTime| getCurrentTime(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of milliseconds elapsed since the Unix epoch.|
| Misc Services - systemTime| getCurrentTime(): Promise<number> | Added| Added the API for obtaining the number of milliseconds elapsed since the Unix epoch.|
| Misc Services - systemTime| getCurrentTimeNs(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of nanoseconds elapsed since the Unix epoch.|
| Misc Services - systemTime| getCurrentTimeNs(): Promise<number> | Added| Added the API for obtaining the number of nanoseconds elapsed since the Unix epoch.|
| Misc Services - systemTime| getRealActiveTime(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of milliseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTime(): Promise<number> | Added| Added the API for obtaining the number of milliseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTimeNs(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of nanoseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTimeNs(): Promise<number> | Added| Added the API for obtaining the number of nanoseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealTime(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of milliseconds elapsed since the system boot, including the deep sleep time.|
| Misc Services - systemTime| getRealTime(): Promise<number> | Added| Added the API for obtaining the number of milliseconds elapsed since the system boot, including the deep sleep time.|
| Misc Services - systemTime| getRealTimeNs(callback: AsyncCallback<number>): void | Added| Added the API for obtaining the number of nanoseconds elapsed since the system boot, including the deep sleep time.|
| Misc Services - systemTime| getRealTimeNs(): Promise<number> | Added| Added the API for obtaining the number of nanoseconds elapsed since the system boot, including the deep sleep time.|
| Misc Services - systemTime| getDate(callback: AsyncCallback<Date>): void | Added| Added the API for obtaining the system date.|
| Misc Services - systemTime| getDate(): Promise<Date> | Added| Added the API for obtaining the system date.|
| Misc Services - systemTime| getTimeZone(callback: AsyncCallback<string>): void | Added| Added the API for obtaining the system time zone.|
| Misc Services - systemTime| getTimeZone(): Promise<string> | Added| Added the API for obtaining the system time zone.|
| ArkUI Framework - Universal Events| onAreaChange (Component Area Change Event)| Added| Added the API for subscribing to component area (including the size and position) changes.|
| Misc Services - systemTime| getCurrentTime(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of milliseconds elapsed since the Unix epoch. |
| Misc Services - systemTime| getCurrentTime(): Promise\<number> | Added | Added the API for obtaining the number of milliseconds elapsed since the Unix epoch. |
| Misc Services - systemTime| getCurrentTimeNs(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of nanoseconds elapsed since the Unix epoch. |
| Misc Services - systemTime| getCurrentTimeNs(): Promise\<number> | Added | Added the API for obtaining the number of nanoseconds elapsed since the Unix epoch. |
| Misc Services - systemTime| getRealActiveTime(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of milliseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTime(): Promise\<number> | Added | Added the API for obtaining the number of milliseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTimeNs(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of nanoseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealActiveTimeNs(): Promise\<number> | Added | Added the API for obtaining the number of nanoseconds elapsed since the system boot, excluding the deep sleep time.|
| Misc Services - systemTime| getRealTime(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of milliseconds elapsed since the system boot, including the deep sleep time. |
| Misc Services - systemTime| getRealTime(): Promise\<number> | Added | Added the API for obtaining the number of milliseconds elapsed since the system boot, including the deep sleep time. |
| Misc Services - systemTime| getRealTimeNs(callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the number of nanoseconds elapsed since the system boot, including the deep sleep time. |
| Misc Services - systemTime| getRealTimeNs(): Promise\<number> | Added | Added the API for obtaining the number of nanoseconds elapsed since the system boot, including the deep sleep time. |
| Misc Services - systemTime| getDate(callback: AsyncCallback\<Date>): void | Added | Added the API for obtaining the current time. |
| Misc Services - systemTime| getDate(): Promise\<Date> | Added | Added the API for obtaining the current time. |
| Misc Services - systemTime| getTimeZone(callback: AsyncCallback\<string>): void | Added | Added the API for obtaining the system time zone. |
| Misc Services - systemTime| getTimeZone(): Promise\<string> | Added | Added the API for obtaining the system time zone. |
| ArkUI Framework - Universal Events | onAreaChange| Added | Added the event indicating component area (including the size and position) changes.|
| ArkUI Framework - Universal Attributes| responseRegion| Added| Added the attribute for touch hotspot settings.|
| ArkUI Framework - Universal Attributes| touchable| Added| Added the attribute that specifies whether a component is touchable.|
| ArkUI Framework - Universal Attributes| stateStyle| Added| Added the attribute that specifies the styles of the pressed and disabled states of a component.|
......@@ -42,27 +42,27 @@ This document describes the changes of APIs in OpenHarmony 3.1 Beta when compare
| ArkUI Framework - Canvas Components| Canvas | Added| Added the **\<Canvas>** component.|
| ArkUI Framework - Canvas Components| Lottie | Added| Added the support for the Lottie library.|
| ArkUI Framework - Global UI Methods| ActionSheet | Added| Added the support for the list selection dialog box.|
| USB Service - USB| getDevices(): Array<Readonly<USBDevice>> | Added| Added the API for obtaining USB devices.|
| USB Service - USB| connectDevice(device: USBDevice): Readonly<USBDevicePipe> | Added| Added the API for opening a USB device based on the device information returned by **getDevices()**.|
| USB Service - USB| getDevices(): Array\<Readonly\<USBDevice>> | Added | Added the API for obtaining USB devices.|
| USB Service - USB| connectDevice(device: USBDevice): Readonly\<USBDevicePipe> | Added| Added the API for opening a USB device based on the device information returned by **getDevices()**.|
| USB Service - USB| hasRight(deviceName: string): boolean | Added| Added the API for checking whether the caller has the permission to access the USB device.|
| USB Service - USB| requestRight(deviceName: string): Promise<boolean> | Added| Added the API for requesting the temporary permission for the caller to access the USB device.|
| USB Service - USB| requestRight(deviceName: string): Promise\<boolean> | Added| Added the API for requesting the temporary permission for the caller to access the USB device.|
| USB Service - USB| claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number | Added| Added the API for claiming a USB interface.|
| USB Service - USB| releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number | Added| Added the API for releasing a USB interface.|
| USB Service - USB| setConfiguration(pipe: USBDevicePipe, config: USBConfig): number | Added| Added the API for setting USB device configurations.|
| USB Service - USB| setInterface(pipe: USBDevicePipe, iface: USBInterface): number | Added| Added the API for setting USB device interfaces.|
| USB Service - USB| getRawDescriptor(pipe: USBDevicePipe): Uint8Array | Added| Added the API for obtaining the raw USB descriptor.|
| USB Service - USB| getFileDescriptor(pipe: USBDevicePipe): number | Added| Added the API for obtaining the file descriptor.|
| USB Service - USB| controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise<number> | Added| Added the API for control transfer.|
| USB Service - USB| bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array, timeout?: number): Promise<number> | Added| Added the API for bulk transfer.|
| USB Service - USB| controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise\<number> | Added| Added the API for control transfer.|
| USB Service - USB| bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array, timeout?: number): Promise\<number> | Added| Added the API for bulk transfer.|
| USB Service - USB| closePipe(pipe: USBDevicePipe): number | Added| Added the API for closing the USB device pipe.|
| Application Framework - bundle| function cleanBundleCacheFiles(bundleName: string, callback: AsyncCallback<void>): void;<br/>function cleanBundleCacheFiles(bundleName: string): Promise<void>; | Added| Added the APIs for clearing the cache of an application.|
| Application Framework - bundle| function setApplicationEnabled(bundleName: string, isEnable: boolean, callback: AsyncCallback<void>): void;<br/>function setApplicationEnabled(bundleName: string, isEnable: boolean): Promise<void>; | Added| Added the API for setting whether to enable an application.|
| Application Framework - bundle| function setAbilityEnabled(info: AbilityInfo, isEnable: boolean, callback: AsyncCallback<void>): void;<br/>function setAbilityEnabled(info: AbilityInfo, isEnable: boolean): Promise<void>; | Added| Added the APIs for setting whether to enable an ability.|
| Application Framework - bundle.innerBundleManager| function getLauncherAbilityInfos(bundleName: string, userId: number, callback: AsyncCallback<Array<LauncherAbilityInfo>>) : void;<br/>function getLauncherAbilityInfos(bundleName: string, userId: number) : Promise<Array<LauncherAbilityInfo>>; | Added| Added the APIs for obtaining the launcher ability information by **bundleName**.|
| Application Framework - bundle.innerBundleManager| function on(type:"BundleStatusChange", bundleStatusCallback : BundleStatusCallback, callback: AsyncCallback<string>) : void;<br/>function on(type:"BundleStatusChange", bundleStatusCallback : BundleStatusCallback): Proimise<string>; | Added| Added the APIs for subscribing to bundle status changes.|
| Application Framework - bundle.innerBundleManager| function off(type:"BundleStatusChange", callback: AsyncCallback<string>) : void;<br/>function off(type:"BundleStatusChange"): Proimise<string>; | Added| Added the APIs for unsubscribing from bundle status changes.|
| Application Framework - bundle.innerBundleManager| function getAllLauncherAbilityInfos(userId: number, callback: AsyncCallback<Array<LauncherAbilityInfo>>) : void;<br/>function getAllLauncherAbilityInfos(userId: number) : Promise<Array<LauncherAbilityInfo>>; | Added| Added the APIs for obtaining the application abilities on all launchers by **userId**.|
| Application Framework - bundle.innerBundleManager| function getShortcutInfos(bundleName :string, callback: AsyncCallback<Array<ShortcutInfo>>) : void;<br/>function getShortcutInfos(bundleName : string) : Promise<Array<ShortcutInfo>>; | Added| Added the APIs for obtaining the application shortcut information by **bundleName**.|
| Application Framework - bundle | cleanBundleCacheFiles(bundleName: string, callback: AsyncCallback\<void>): void;<br>cleanBundleCacheFiles(bundleName: string): Promise\<void>; | Added | Added the APIs for clearing the cache of an application. |
| Application Framework - bundle | setApplicationEnabled(bundleName: string, isEnable: boolean, callback: AsyncCallback\<void>): void;<br>setApplicationEnabled(bundleName: string, isEnable: boolean): Promise\<void>; | Added | Added the API for setting whether to enable an application. |
| Application Framework - bundle | setAbilityEnabled(info: AbilityInfo, isEnable: boolean, callback: AsyncCallback\<void>): void;<br>setAbilityEnabled(info: AbilityInfo, isEnable: boolean): Promise\<void>; | Added | Added the API for setting whether to enable an ability. |
| Application Framework - bundle.innerBundleManager| getLauncherAbilityInfos(bundleName: string, userId: number, callback: AsyncCallback\<Array\<LauncherAbilityInfo>>) : void;<br>getLauncherAbilityInfos(bundleName: string, userId: number) : Promise\<Array\<LauncherAbilityInfo>>; | Added | Added the API for obtaining the launcher ability information by **bundleName**. |
| Application Framework - bundle.innerBundleManager| on(type:"BundleStatusChange", bundleStatusCallback : BundleStatusCallback, callback: AsyncCallback\<string>) : void;<br>on(type:"BundleStatusChange", bundleStatusCallback : BundleStatusCallback): Proimise\<string>; | Added | Added the API for subscribing to bundle status changes. |
| Application Framework - bundle.innerBundleManager| off(type:"BundleStatusChange", callback: AsyncCallback\<string>) : void;<br>off(type:"BundleStatusChange"): Proimise\<string>; | Added | Added the APIs for unsubscribing from bundle status changes. |
| Application Framework - bundle.innerBundleManager| getAllLauncherAbilityInfos(userId: number, callback: AsyncCallback\<Array\<LauncherAbilityInfo>>) : void;<br>getAllLauncherAbilityInfos(userId: number) : Promise\<Array\<LauncherAbilityInfo>>; | Added | Added the APIs for obtaining the application abilities on all launchers by **userId**.|
| Application Framework - bundle.innerBundleManager| getShortcutInfos(bundleName :string, callback: AsyncCallback\<Array\<ShortcutInfo>>) : void;<br>getShortcutInfos(bundleName : string) : Promise\<Array\<ShortcutInfo>>; | Added | Added the API for obtaining the application shortcut information by **bundleName**. |
| DSoftBus - rpc.MessageParcel| writeNoException(): void | Added| - |
| DSoftBus - rpc.MessageParcel| readException(): void | Added| - |
| DSoftBus - rpc.MessageParcel| writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean | Added| - |
......@@ -79,7 +79,7 @@ This document describes the changes of APIs in OpenHarmony 3.1 Beta when compare
| DSoftBus - rpc.MessageParcel| getRawDataCapacity(): number | Added| - |
| DSoftBus - rpc.MessageParcel| writeRawData(rawData: number[], size: number): boolean | Added| - |
| DSoftBus - rpc.MessageParcel| readRawData(size: number): number[] | Added| - |
| DSoftBus - rpc| interface SendRequestResult {<br/> errCode: number;<br/><br/> code: number;<br/><br/> data: MessageParcel;<br/><br/> reply: MessageParcel;<br/> } | Added| - |
| DSoftBus - rpc| interface SendRequestResult {<br> errCode: number;<br> code: number;<br> data: MessageParcel;<br> reply: MessageParcel;<br> } | Added| - |
| DSoftBus - rpc.Ashmem| PROT_EXEC = 4 | Added| - |
| DSoftBus - rpc.Ashmem| PROT_NONE = 0 | Added| - |
| DSoftBus - rpc.Ashmem| PROT_READ = 1 | Added| - |
......@@ -96,14 +96,14 @@ This document describes the changes of APIs in OpenHarmony 3.1 Beta when compare
| DSoftBus - rpc.Ashmem| writeToAshmem(buf: number[], size: number, offset: number): boolean | Added| - |
| DSoftBus - rpc.Ashmem| readFromAshmem(size: number, offset: number): number[] | Added| - |
| DSoftBus - rpc.IRemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean | Deprecated| Replaced by an asynchronous interface, which uses a promise or callback.|
| DSoftBus - rpc.IRemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise<SendRequestResult> | Added| - |
| DSoftBus - rpc.IRemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.IRemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise\<SendRequestResult> | Added| - |
| DSoftBus - rpc.IRemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback\<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.RemoteProxy| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean | Deprecated| Replaced by an asynchronous interface, which uses a promise or callback.|
| DSoftBus - rpc.RemoteProxy| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise<SendRequestResult> | Added| - |
| DSoftBus - rpc.RemoteProxy| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.RemoteProxy| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise\<SendRequestResult> | Added| - |
| DSoftBus - rpc.RemoteProxy| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback\<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.RemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean | Deprecated| Replaced by an asynchronous interface, which uses a promise or callback.|
| DSoftBus - rpc.RemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise<SendRequestResult> | Added| - |
| DSoftBus - rpc.RemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.RemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise\<SendRequestResult> | Added| - |
| DSoftBus - rpc.RemoteObject| sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback\<SendRequestResult>): void | Added| - |
| DSoftBus - rpc.IRemoteObject| PING_TRANSACTION | Deleted| Deleted since it is not implemented in API Version 7. The deletion has no impact on existing applications.|
| DSoftBus - rpc.IRemoteObject| DUMP_TRANSACTION | Deleted| Deleted since it is not implemented in API Version 7. The deletion has no impact on existing applications.|
| DSoftBus - rpc.IRemoteObject| INTERFACE_TRANSACTION | Deleted| Deleted since it is not implemented in API Version 7. The deletion has no impact on existing applications.|
......@@ -124,304 +124,304 @@ This document describes the changes of APIs in OpenHarmony 3.1 Beta when compare
| DSoftBus - rpc.Proxy| MIN_TRANSACTION_ID = 0x1 | Added| - |
| DSoftBus - rpc.Proxy| MAX_TRANSACTION_ID = 0x00FFFFFF | Added| - |
| DSoftBus - rpc.Proxy| queryLocalInterface(interface: string): IRemoteBroker | Modified| Corrected the return type to **IRemoteBroker**. This change does not affect existing applications.|
| DSoftBus - Wi-Fi| function getLinkedInfo(): Promise<WifiLinkedInfo>;<br/>function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;| Added| - |
| DSoftBus - Wi-Fi| function isConnected(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function getSupportedFeatures(): number;| Added| - |
| DSoftBus - Wi-Fi| function isFeatureSupported(featureId: number): boolean;| Added| - |
| DSoftBus - Wi-Fi| function getDeviceMacAddress(): string[];| Added| - |
| DSoftBus - Wi-Fi| function getIpInfo(): IpInfo;| Added| - |
| DSoftBus - Wi-Fi| function getCountryCode(): string;| Added| - |
| DSoftBus - Wi-Fi| function reassociate(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function reconnect(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function getDeviceConfigs(): Array<WifiDeviceConfig>;| Added| - |
| DSoftBus - Wi-Fi| function updateNetwork(config: WifiDeviceConfig): number;| Added| - |
| DSoftBus - Wi-Fi| function disableNetwork(netId: number): boolean;| Added| - |
| DSoftBus - Wi-Fi| function removeAllNetwork(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function removeDevice(id: number): boolean;| Added| - |
| DSoftBus - Wi-Fi| function enableHotspot(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function disableHotspot(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function isHotspotActive(): boolean;| Added| - |
| DSoftBus - Wi-Fi| function setHotspotConfig(config: HotspotConfig): boolean;| Added| - |
| DSoftBus - Wi-Fi| function getHotspotConfig(): HotspotConfig;| Added| - |
| DSoftBus - Wi-Fi| function getStations(): Array<StationInfo>;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "wifiStateChange", callback: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "wifiStateChange", callback?: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "wifiConnectionChange", callback: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "wifiConnectionChange", callback?: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "wifiScanStateChange", callback: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "wifiScanStateChange", callback?: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "wifiRssiChange", callback: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "wifiRssiChange", callback?: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "hotspotStateChange", callback: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "hotspotStateChange", callback?: Callback<number>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "hotspotStaJoin", callback: Callback<StationInfo>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "hotspotStaJoin", callback?: Callback<StationInfo>): void;| Added| - |
| DSoftBus - Wi-Fi| function on(type: "hotspotStaLeave", callback: Callback<StationInfo>): void;| Added| - |
| DSoftBus - Wi-Fi| function off(type: "hotspotStaLeave", callback?: Callback<StationInfo>): void;| Added| - |
| Globalization - resourceManager| getRawFile(path: string, callback: AsyncCallback<Uint8Array>);<br/>getRawFile(path: string): Promise<Uint8Array>;| Added| - |
| DSoftBus - Wi-Fi| getLinkedInfo(): Promise\<WifiLinkedInfo>;<br>getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void; | Added| - |
| DSoftBus - Wi-Fi| isConnected(): boolean; | Added| - |
| DSoftBus - Wi-Fi| getSupportedFeatures(): number; | Added| - |
| DSoftBus - Wi-Fi| isFeatureSupported(featureId: number): boolean; | Added| - |
| DSoftBus - Wi-Fi| getDeviceMacAddress(): string[]; | Added| - |
| DSoftBus - Wi-Fi| getIpInfo(): IpInfo; | Added| - |
| DSoftBus - Wi-Fi| getCountryCode(): string; | Added| - |
| DSoftBus - Wi-Fi| reassociate(): boolean; | Added| - |
| DSoftBus - Wi-Fi| reconnect(): boolean; | Added| - |
| DSoftBus - Wi-Fi| getDeviceConfigs(): Array\<WifiDeviceConfig>; | Added| - |
| DSoftBus - Wi-Fi| updateNetwork(config: WifiDeviceConfig): number; | Added| - |
| DSoftBus - Wi-Fi| disableNetwork(netId: number): boolean; | Added| - |
| DSoftBus - Wi-Fi| removeAllNetwork(): boolean; | Added| - |
| DSoftBus - Wi-Fi| removeDevice(id: number): boolean; | Added| - |
| DSoftBus - Wi-Fi| enableHotspot(): boolean; | Added| - |
| DSoftBus - Wi-Fi| disableHotspot(): boolean; | Added| - |
| DSoftBus - Wi-Fi| isHotspotActive(): boolean; | Added| - |
| DSoftBus - Wi-Fi| setHotspotConfig(config: HotspotConfig): boolean; | Added| - |
| DSoftBus - Wi-Fi| getHotspotConfig(): HotspotConfig; | Added| - |
| DSoftBus - Wi-Fi| getStations(): Array\<StationInfo>; | Added| - |
| DSoftBus - Wi-Fi| on(type: "wifiStateChange", callback: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "wifiStateChange", callback?: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "wifiConnectionChange", callback: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "wifiConnectionChange", callback?: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "wifiScanStateChange", callback: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "wifiScanStateChange", callback?: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "wifiRssiChange", callback: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "wifiRssiChange", callback?: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "hotspotStateChange", callback: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "hotspotStateChange", callback?: Callback\<number>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "hotspotStaJoin", callback: Callback\<StationInfo>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "hotspotStaJoin", callback?: Callback\<StationInfo>): void; | Added| - |
| DSoftBus - Wi-Fi| on(type: "hotspotStaLeave", callback: Callback\<StationInfo>): void; | Added| - |
| DSoftBus - Wi-Fi| off(type: "hotspotStaLeave", callback?: Callback\<StationInfo>): void; | Added| - |
| Globalization - resourceManager| getRawFile(path: string, callback: AsyncCallback\<Uint8Array>);<br>getRawFile(path: string): Promise\<Uint8Array>; | Added| - |
| Globalization - Intl| RelativeTimeFormat.constructor(); | Added| Added this constructor.|
| Globalization - Intl| RelativeTimeFormat.constructor(locale: string \| Array<string>, options?: RelativeTimeFormatInputOptions); | Added| Added this constructor. |
| Globalization - Intl| RelativeTimeFormat.constructor(locale: string \| Array\<string>, options?: RelativeTimeFormatInputOptions); | Added| Added this constructor.|
| Globalization - Intl| RelativeTimeFormat.format(value: number, unit: string): string; | Added| Added the API for formatting the relative time.|
| Globalization - Intl| RelativeTimeFormat.formatToParts(value: number, unit: string): Array<object>; | Added| Added the API for formatting the relative time. The result is divided into multiple parts and stored separately.|
| Globalization - Intl| RelativeTimeFormat.formatToParts(value: number, unit: string): Array<object>; | Added| Added the API for formatting the relative time. The result is divided into multiple parts and stored separately.|
| Globalization - Intl| RelativeTimeFormat.formatToParts(value: number, unit: string): Array\<object>; | Added| Added the API for formatting the relative time. The result is divided into multiple parts and stored separately.|
| Globalization - Intl| RelativeTimeFormat.formatToParts(value: number, unit: string): Array\<object>; | Added| Added the API for formatting the relative time. The result is divided into multiple parts and stored separately.|
| Globalization - Intl| PluralRules.constructor(); | Added| Added this constructor.|
| Globalization - Intl| PluralRules.constructor(locale: string \| Array<string>, options?: PluralRulesOptions); | Added| Added this constructor.|
| Globalization - Intl| PluralRules.constructor(locale: string \| Array\<string>, options?: PluralRulesOptions); | Added| Added this constructor.|
| Globalization - Intl| PluralRules.select(n: number): string; | Added| Added the API for checking the singular-plural type of a number.|
| Globalization - Intl| Collator.constructor(); | Added| Added this constructor.|
| Globalization - Intl| Collator.constructor(locale: string \| Array<string>, options?: CollatorOptions); | Added| Added this constructor.|
| Globalization - Intl| Collator.constructor(locale: string \| Array\<string>, options?: CollatorOptions); | Added| Added this constructor.|
| Globalization - Intl| Collator.compare(first: string, second: string): number; | Added| Added the API for comparing two strings.|
| Globalization - Intl| Collator.resolvedOptions(): CollatorOptions; | Added| Added the API for obtaining the attributes of a sorting object.|
| Globalization - I18N| function unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: **number**, locale: **string**, style?: **string**): **string**; | Added| Added the API for unit conversion.|
| Globalization - I18N| function **constructor**(country: **string**, options?: PhoneNumberFormatOptions);<br/>function isValidNumber(**number**: **string**): boolean;<br/>function format(**number**: **string**): **string**; | Added| Added the APIs for formatting phone numbers.|
| Globalization - I18N| function setTime(date: Date);<br/>function setTime(time: **number**);<br/>function **set**(year: **number**, month: **number**, date:**number**, hour?: **number**, minute?: **number**, second?: **number**);<br/>function setTimeZone(timezone: **string**);<br/>function getTimeZone(): **string**;<br/>function getFirstDayOfWeek(): **number**;<br/>function setFirstDayOfWeek(value: **number**);<br/>function getMinimalDaysInFirstWeek(): **number**;<br/>function setMinimalDaysInFirstWeek(value: **number**);<br/>function **get**(field: **string**): **number**;<br/>function getDisplayName(locale: **string**): **string**;<br/>function isWeekend(date?: Date): boolean;<br/>function **export** **function** getCalendar(locale: **string**, **type**?: **string**): Calendar; | Added| Added the APIs for the calendar.|
| Globalization - I18N| **function** isRTL(locale: **string**): boolean; | Added| Added the API for checking whether the localized script for the specified language is displayed from right to left.|
| Globalization - I18N| **function** getLineInstance(locale: **string**): BreakIterator;<br/>function current(): **number**;<br/>function first(): **number**;<br/>function last(): **number**;<br/>function next(index?: **number**): **number**;<br/>function previous(): **number**;<br/>function setLineBreakText(text: **string**): **void**;<br/>function following(offset: **number**): **number**;<br/>function getLineBreakText(): **string**;<br/>function isBoundary(offset: **number**): boolean; | Added| Added the APIs for line feed.|
| Globalization - I18N| function getInstance(locale?:**string**): IndexUtil;<br/>function getIndexList(): Array<**string**>; | Added| Added the APIs for obtaining the alphabet index.|
| Globalization - I18N| function addLocale(locale: **string**);<br/>function getIndex(text: **string**): **string**;<br/>function isDigit(char: **string**): boolean;<br/>function isSpaceChar(char: **string**): boolean;<br/>function isWhitespace(char: **string**): boolean;<br/>function isRTL(char: **string**): boolean;<br/>function isIdeograph(char: **string**): boolean;<br/>function isLetter(char: **string**): boolean;<br/>function isLowerCase(char: **string**): boolean;<br/>function isUpperCase(char: **string**): boolean;<br/>function getType(char: **string**): **string**; | Added| Added the APIs for obtaining character attributes.|
| Event Notification - DoNotDisturbDate| type: notification.DoNotDisturbType | Added| Added the do-not-disturb (DND) time type.|
| Globalization - I18N| unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; | Added| Added the API for unit conversion.|
| Globalization - I18N| constructor(country: string, options?: PhoneNumberFormatOptions);<br>isValidNumber(number: string): boolean;<br>format(number: string): string; | Added| Added the APIs for formatting phone numbers.|
| Globalization - I18N| setTime(date: Date);<br>setTime(time: number);<br>set(year: number, month: number, date:number, hour?: number, minute?: number, second?: number);<br>setTimeZone(timezone: string);<br>getTimeZone(): string;<br>getFirstDayOfWeek(): number;<br>setFirstDayOfWeek(value: number);<br>getMinimalDaysInFirstWeek(): number;<br>setMinimalDaysInFirstWeek(value: number);<br>get(field: string): number;<br>getDisplayName(locale: string): string;<br>isWeekend(date?: Date): boolean;<br>export getCalendar(locale: string, type?: string): Calendar; | Added| Added the APIs for the calendar.|
| Globalization - I18N| isRTL(locale: string): boolean; | Added| Added the API for checking whether the localized script for the specified language is displayed from right to left.|
| Globalization - I18N| getLineInstance(locale: string): BreakIterator;<br>current(): number;<br>first(): number;<br>last(): number;<br>next(index?: number): number;<br>previous(): number;<br>setLineBreakText(text: string): void;<br>following(offset: number): number;<br>getLineBreakText(): string;<br>isBoundary(offset: number): boolean; | Added| Added the APIs for line feed.|
| Globalization - I18N| getInstance(locale?:string): IndexUtil;<br>getIndexList(): Array\<string>; | Added| Added the APIs for obtaining the alphabet index.|
| Globalization - I18N| addLocale(locale: string);<br>getIndex(text: string): string;<br>isDigit(char: string): boolean;<br>isSpaceChar(char: string): boolean;<br>isWhitespace(char: string): boolean;<br>isRTL(char: string): boolean;<br>isIdeograph(char: string): boolean;<br>isLetter(char: string): boolean;<br>isLowerCase(char: string): boolean;<br>isUpperCase(char: string): boolean;<br>getType(char: string): string; | Added| Added the APIs for obtaining character attributes.|
| Event Notification - DoNotDisturbDate| type: notification.DoNotDisturbType | Added | Added the do-not-disturb (DND) time type.|
| Event Notification - DoNotDisturbDate| begin: Date | Added| Added the DND start time setting.|
| Event Notification - DoNotDisturbDate| end: Date | Added| Added the DND end time setting.|
| Event Notification - DoNotDisturbDate| export enum DoNotDisturbType {<br/> TYPE_NONE = 0, // Non-notification DND type<br/> TYPE_ONCE = 1, // One-shot DND at the specified time segment<br/> TYPE_DAILY = 2, // Daily DND at the specified time segment (only the hour and minute specified)<br/> TYPE_CLEARLY = 3, // DND at the specified time segment (the year, month, day, hour, and minute specified)<br/>}| Added| Added the DND time type.|
| Event Notification - notification| function setDoNotDisturbDate(date DoNotDisturbDate, callback: AsyncCallback<void>): void | Added| Added the API for setting the DND time segment.|
| Event Notification - notification| function setDoNotDisturbDate(date DoNotDisturbDate): Promise<void> | Added| Added the API for setting the DND time segment.|
| Event Notification - notification| function getDoNotDisturbDate(callback: AsyncCallback<DoNotDisturbDate>): void | Added| Added the API for obtaining the DND time segment.|
| Event Notification - notification| function getDoNotDisturbDate(): Promise<DoNotDisturbDate> | Added| Added the API for obtaining the DND time segment.|
| Event Notification - notification| function supportDoNotDisturbMode(callback: AsyncCallback<boolean>): void | Added| Added the API for checking whether DND is supported.|
| Event Notification - notification| function supportDoNotDisturbMode(): Promise<boolean> | Added| Added the API for checking whether DND is supported.|
| Event Notification - notification| function cancelGroup(groupName: string, callback: AsyncCallback<void>): void | Added| Added the API for canceling a notification group of the current application.|
| Event Notification - notification| function cancelGroup(groupName: string): Promise<void> | Added| Added the API for canceling a notification group of the current application.|
| Event Notification - notification| function removeGroupByBundle(bundle: BundleOption, groupName: string, callback: AsyncCallback<void>): void | Added| Added the API for removing a notification group of a specified application.|
| Event Notification - notification| function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise<void> | Added| Added the API for removing a notification group of a specified application.|
| Event Notification - DoNotDisturbDate| export enum DoNotDisturbType {<br> TYPE_NONE = 0, // Non-notification DND type<br> TYPE_ONCE = 1, // One-shot DND at the specified time segment<br> TYPE_DAILY = 2, // Daily DND at the specified time segment (only the hour and minute specified)<br> TYPE_CLEARLY = 3, // DND at the specified time segment (the year, month, day, hour, and minute specified)<br>} | Added| Added the DND time type.|
| Event Notification - notification| setDoNotDisturbDate(date DoNotDisturbDate, callback: AsyncCallback\<void>): void | Added| Added the API for setting the DND time segment.|
| Event Notification - notification| setDoNotDisturbDate(date DoNotDisturbDate): Promise\<void> | Added| Added the API for setting the DND time segment.|
| Event Notification - notification| getDoNotDisturbDate(callback: AsyncCallback\<DoNotDisturbDate>): void | Added| Added the API for obtaining the DND time segment.|
| Event Notification - notification| getDoNotDisturbDate(): Promise\<DoNotDisturbDate> | Added| Added the API for obtaining the DND time segment.|
| Event Notification - notification| supportDoNotDisturbMode(callback: AsyncCallback\<boolean>): void | Added| Added the API for checking whether DND is supported.|
| Event Notification - notification| supportDoNotDisturbMode(): Promise\<boolean> | Added| Added the API for checking whether DND is supported.|
| Event Notification - notification| cancelGroup(groupName: string, callback: AsyncCallback\<void>): void | Added | Added the API for canceling a notification group of the current application. |
| Event Notification - notification | cancelGroup(groupName: string): Promise\<void> | Added| Added the API for canceling a notification group of the current application.|
| Event Notification - notification | removeGroupByBundle(bundle: BundleOption, groupName: string, callback: AsyncCallback\<void>): void | Added| Added the API for removing a notification group of a specified application.|
| Event Notification - notification | removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void> | Added| Added the API for removing a notification group of a specified application.|
| Event Notification - NotificationSubscriber| onDoNotDisturbDateChange?:(mode: notification.DoNotDisturbDate) => void | Added| Added the API for subscribing to DND setting changes.|
| Event Notification - NotificationRequest| smallIcon?: image.PixelMap | Added| Added the small notification icon.|
| Event Notification - NotificationRequest| largeIcon?: image.PixelMap; | Added| Added the large notification icon.|
| Event Notification - NotificationRequest| groupName?: string; | Added| Added the notification group name.|
| Event Notification - NotificationUserInput| | Added| Added the user input object.|
| Event Notification - NotificationUserInput| | Added | Added the user input object.|
| Event Notification - NotificationUserInput| inputKey: string | Added| Added a key to identify the user input.|
| Event Notification - NotificationActionButton| userInput?: NotificationUserInput | Added| Added the user input object.|
| Event notification - emitter| function on(event: InnerEvent, callback: Callback<EventData>): void | Added| Added the API for subscribing to an event in persistent manner and receiving the event callback.|
| Event notification - emitter| function once(event: InnerEvent, callback: Callback<EventData>): void | Added| Added the API for subscribing to an event in one-shot manner and unsubscribing from it after the event is received via a callback.|
| Event notification - emitter| function off(eventId: number): void | Added| Added the API for unsubscribing from an event.|
| Event notification - emitter| function emit(event: InnerEvent, data?: EventData): void | Added| Added the API for emitting an event to the event queue.|
| Distributed File - statfs| function getFreeBytes(path: string, callback: AsyncCallback<number>): void | Added| Added the API for obtaining the free space (in bytes) of a device using an asynchronous callback.|
| Distributed File - statfs| function getFreeBytes(path: string): Promise<number> | Added| Added the API for obtaining the free space (in bytes) of a device using a promise.|
| Distributed File - statfs| function getTotalBytes(path: string, callback: AsyncCallback<number>): void | Added| Added the API for obtaining the total space (in bytes) of a device using an asynchronous callback.|
| Distributed File - statfs| function getTotalBytes(path: string): Promise<number> | Added| Added the API for obtaining the total space (in bytes) of a device using a promise.|
| Distributed Scheduler - featureAbility| function continueAbility(options: ContinueAbilityOptions, callback: AsyncCallback<void>): void;<br/>function continueAbility(options: ContinueAbilityOptions): Promise<void>; | Added| - |
| Event notification - emitter| on(event: InnerEvent, callback: Callback\<EventData>): void | Added| Added the API for subscribing to an event in persistent manner and receiving the event callback.|
| Event notification - emitter| once(event: InnerEvent, callback: Callback\<EventData>): void | Added| Added the API for subscribing to an event in one-shot manner and unsubscribing from it after the event is received via a callback.|
| Event notification - emitter| off(eventId: number): void | Added| Added the API for unsubscribing from an event.|
| Event notification - emitter| emit(event: InnerEvent, data?: EventData): void | Added| Added the API for emitting an event to the event queue.|
| Distributed File - statfs| getFreeBytes(path: string, callback: AsyncCallback\<number>): void | Added | Added the API for obtaining the free space (in bytes) of a device using an asynchronous callback.|
| Distributed File - statfs| getFreeBytes(path: string): Promise\<number> | Added| Added the API for obtaining the free space (in bytes) of a device using a promise.|
| Distributed File - statfs| getTotalBytes(path: string, callback: AsyncCallback\<number>): void | Added| Added the API for obtaining the total space (in bytes) of a device using an asynchronous callback.|
| Distributed File - statfs| getTotalBytes(path: string): Promise\<number> | Added| Added the API for obtaining the total space (in bytes) of a device using a promise.|
| Distributed Scheduler - featureAbility | continueAbility(options: ContinueAbilityOptions, callback: AsyncCallback\<void>): void;<br>continueAbility(options: ContinueAbilityOptions): Promise\<void>; | Added | - |
| Multi-language Runtime - URI| constructor(uri: string); | Added| |
| Multi-language Runtime - URI| toString(): string | Added| |
| Multi-language Runtime - URI| equals(other: URI): boolean; | Added| |
| Multi-language Runtime - URI| checkIsAbsolute(): boolean; | Added| |
| Multi-language Runtime - URI| normalize(): URI; | Added| |
| Multi-language Runtime - URI| scheme: string; | Added| |
| Multi-language Runtime - URI| userinfo: string; | Added| |
| Multi-language Runtime - URI| host: string; | Added| |
| Multi-language Runtime - URI| port: string; | Added| |
| Multi-language Runtime - URI| path: string; | Added| |
| Multi-language Runtime - URI| query: string; | Added| |
| Multi-language Runtime - URI| query: string; | Added| |
| Multi-language Runtime - URI| authority: string; | Added| |
| Multi-language Runtime - URI| ssp: string; | Added| |
| Multi-language Runtime - RationalNumber| constructor(numerator: number, denominator: number); | Added| |
| Multi-language Runtime - RationalNumber| static createRationalFromString(rationalString: string): RationalNumber; | Added| |
| Multi-language Runtime - RationalNumber| compareTo(another :RationalNumber): number; | Added| |
| Multi-language Runtime - RationalNumber| equals(obj: Object): boolean; | Added| |
| Multi-language Runtime - RationalNumber| valueOf(): number; | Added| |
| Multi-language Runtime - RationalNumber| static getCommonDivisor(number1: number, number2: number): number; | Added| |
| Multi-language Runtime - RationalNumber| getDenominator(): number; | Added| |
| Multi-language Runtime - RationalNumber| getNumerator(): number; | Added| |
| Multi-language Runtime - RationalNumber| isFinite() : boolean; | Added| |
| Multi-language Runtime - RationalNumber| isNaN(): boolean; | Added| |
| Multi-language Runtime - RationalNumber| isZero(): boolean; | Added| |
| Multi-language Runtime - RationalNumber| toString(): string; | Added| |
| Multi-language Runtime - LruBuffer| constructor(capacity?:number); | Added| |
| Multi-language Runtime - LruBuffer| updateCapacity(newCapacity: number):void | Added| |
| Multi-language Runtime - LruBuffer| toString():string | Added| |
| Multi-language Runtime - LruBuffer| length:number | Added| |
| Multi-language Runtime - LruBuffer| getCapacity(): number; | Added| |
| Multi-language Runtime - LruBuffer| clear(): void; | Added| |
| Multi-language Runtime - LruBuffer| getCreateCount(): number; | Added| |
| Multi-language Runtime - LruBuffer| getMissCount(): number; | Added| |
| Multi-language Runtime - LruBuffer| getRemovalCount(): number; | Added| |
| Multi-language Runtime - LruBuffer| getMatchCount(): number; | Added| |
| Multi-language Runtime - LruBuffer| getPutCount(): number; | Added| |
| Multi-language Runtime - LruBuffer| isEmpty(): boolean; | Added| |
| Multi-language Runtime - LruBuffer| get(key: K): V \| undefined; | Added| |
| Multi-language Runtime - LruBuffer| put(key: K, value: V): V; | Added| |
| Multi-language Runtime - LruBuffer| values(): V[]; | Added| |
| Multi-language Runtime - LruBuffer| keys(): K[]; | Added| |
| Multi-language Runtime - LruBuffer| remove(key: K): V \| undefined; | Added| |
| Multi-language Runtime - LruBuffer| afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; | Added| |
| Multi-language Runtime - LruBuffer| contains(key: K): boolean; | Added| |
| Multi-language Runtime - LruBuffer| createDefault(key: K): V; | Added| |
| Multi-language Runtime - LruBuffer| entries(): IterableIterator<[K, V]>; | Added| |
| Multi-language Runtime - LruBuffer| [Symbol.iterator](): IterableIterator<[K, V]>; | Added| |
| Multi-language Runtime - Scope| constructor(lowerObj: ScopeType, upperObj: ScopeType); | Added| |
| Multi-language Runtime - Scope| toString(): string; | Added| |
| Multi-language Runtime - Scope| intersect(range: Scope): Scope; | Added| |
| Multi-language Runtime - Scope| intersect(lowerObj: ScopeType, upperObj: ScopeType): Scope; | Added| |
| Multi-language Runtime - Scope| getUpper(): ScopeType; | Added| |
| Multi-language Runtime - Scope| getLower(): ScopeType; | Added| |
| Multi-language Runtime - Scope| expand(lowerObj: ScopeType, upperObj: ScopeType): Scope; | Added| |
| Multi-language Runtime - Scope| expand(range: Scope): Scope; | Added| |
| Multi-language Runtime - Scope| expand(value: ScopeType): Scope; | Added| |
| Multi-language Runtime - Scope| contains(value: ScopeType): boolean; | Added| |
| Multi-language Runtime - Scope| contains(range: Scope): boolean; | Added| |
| Multi-language Runtime - Scope| clamp(value: ScopeType): ScopeType; | Added| |
| Multi-language Runtime - Base64| constructor(); | Added| |
| Multi-language Runtime - Base64| encodeSync(src: Uint8Array): Uint8Array; | Added| |
| Multi-language Runtime - Base64| encodeToStringSync(src: Uint8Array): string; | Added| |
| Multi-language Runtime - Base64| decodeSync(src: Uint8Array \| string): Uint8Array; | Added| |
| Multi-language Runtime - Base64| encode(src: Uint8Array): Promise<Uint8Array>; | Added| |
| Multi-language Runtime - Base64| encodeToString(src: Uint8Array): Promise<string>; | Added| |
| Multi-language Runtime - Base64| decode(src: Uint8Array \| string): Promise<Uint8Array>; | Added| |
| Multi-language Runtime - types| constructor(); | Added| |
| Multi-language Runtime - types| isAnyArrayBuffer(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isArrayBufferView(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isArgumentsObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isArrayBuffer(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isAsyncFunction(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isBigInt64Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isBigUint64Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isBooleanObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isBoxedPrimitive(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isDataView(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isDate(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isExternal(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isFloat32Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isFloat64Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isGeneratorFunction(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isGeneratorObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isInt8Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isInt16Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isInt32Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isMap(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isMapIterator(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isModuleNamespaceObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isNativeError(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isNumberObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isPromise(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isProxy(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isRegExp(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isSet(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isSetIterator(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isSharedArrayBuffer(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isStringObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isSymbolObject(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isTypedArray(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isUint8Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isUint8ClampedArray(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isUint16Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isUint32Array(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isWeakMap(value: Object): boolean; | Added| |
| Multi-language Runtime - types| isWeakSet(value: Object): boolean; | Added| |
| Multi-language Runtime - process| const tid: number; | Added| |
| Multi-language Runtime - process| function isIsolatedProcess(): boolean; | Added| |
| Multi-language Runtime - process| function isAppUid(v: number): boolean; | Added| |
| Multi-language Runtime - process| function is64Bit(): boolean; | Added| |
| Multi-language Runtime - process| function getUidForName(v: string): number; | Added| |
| Multi-language Runtime - process| function getThreadPriority(v: number): number; | Added| |
| Multi-language Runtime - process| function getStartRealtime(): number; | Added| |
| Multi-language Runtime - process| function getAvailableCores(): number[]; | Added| |
| Multi-language Runtime - process| function getPastCpuTime(): number; | Added| |
| Multi-language Runtime - process| function getSystemConfig(name: number): number; | Added| |
| Multi-language Runtime - process| function getEnvironmentVar(name: string): string; | Added| |
| Multi-language Runtime - ConvertOptions| trim: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreDeclaration?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreInstruction?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreAttributes?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreComment?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreCdata?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreDoctype?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| ignoreText?: boolean; | Added| |
| Multi-language Runtime - ConvertOptions| declarationKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| instructionKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| attributesKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| textKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| cdataKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| doctypeKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| commentKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| parentKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| typeKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| nameKey: string; | Added| |
| Multi-language Runtime - ConvertOptions| elementsKey: string; | Added| |
| Multi-language Runtime - ConvertXML| convert(xml: string, options?: ConvertOptions) : Object; | Added| |
| Multi-language Runtime - XmlSerializer| constructor(buffer: ArrayBuffer \| DataView, encoding?: string); | Added| |
| Multi-language Runtime - XmlSerializer| setAttributes(name: string, value: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| addEmptyElement(name: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| setDeclaration(): void; | Added| |
| Multi-language Runtime - XmlSerializer| startElement(name: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| endElement(): void; | Added| |
| Multi-language Runtime - XmlSerializer| setNamespace(prefix: string, namespace: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| setCommnet(text: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| setCData(text: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| setText(text: string): void; | Added| |
| Multi-language Runtime - XmlSerializer| setDocType(text: string): void; | Added| |
| Multi-language Runtime -ParseOptions| supportDoctype?: boolean; | Added| |
| Multi-language Runtime -ParseOptions| ignoreNameSpace?: boolean; | Added| |
| Multi-language Runtime -ParseOptions| tagValueCallbackFunction?: (name: string, value: string) => boolean; | Added| |
| Multi-language Runtime -ParseOptions| attributeValueCallbackFunction?: (name: string, value: string) => boolean; | Added| |
| Multi-language Runtime -ParseOptions| tokenValueCallbackFunction?: (eventType: EventType, value: ParseInfo) => boolean; | Added| |
| Multi-language Runtime - URI | equals(other: URI): boolean; | Added | |
| Multi-language Runtime - URI | checkIsAbsolute(): boolean; | Added | |
| Multi-language Runtime - URI | normalize(): URI; | Added | |
| Multi-language Runtime - URI | scheme: string; | Added | |
| Multi-language Runtime - URI | userinfo: string; | Added | |
| Multi-language Runtime - URI | host: string; | Added | |
| Multi-language Runtime - URI | port: string; | Added | |
| Multi-language Runtime - URI | path: string; | Added | |
| Multi-language Runtime - URI | query: string; | Added | |
| Multi-language Runtime - URI | query: string; | Added | |
| Multi-language Runtime - URI | authority: string; | Added | |
| Multi-language Runtime - URI | ssp: string; | Added | |
| Multi-language Runtime - RationalNumber| constructor(numerator: number, denominator: number); | Added | |
| Multi-language Runtime - RationalNumber| static createRationalFromString(rationalString: string): RationalNumber; | Added | |
| Multi-language Runtime - RationalNumber| compareTo(another :RationalNumber): number; | Added | |
| Multi-language Runtime - RationalNumber| equals(obj: Object): boolean; | Added | |
| Multi-language Runtime - RationalNumber| valueOf(): number; | Added | |
| Multi-language Runtime - RationalNumber| static getCommonDivisor(number1: number, number2: number): number; | Added | |
| Multi-language Runtime - RationalNumber| getDenominator(): number; | Added | |
| Multi-language Runtime - RationalNumber| getNumerator(): number; | Added | |
| Multi-language Runtime - RationalNumber| isFinite() : boolean; | Added | |
| Multi-language Runtime - RationalNumber| isNaN(): boolean; | Added | |
| Multi-language Runtime - RationalNumber| isZero(): boolean; | Added | |
| Multi-language Runtime - RationalNumber| toString(): string; | Added | |
| Multi-language Runtime - LruBuffer| constructor(capacity?:number); | Added | |
| Multi-language Runtime - LruBuffer| updateCapacity(newCapacity: number):void | Added | |
| Multi-language Runtime - LruBuffer| toString():string | Added | |
| Multi-language Runtime - LruBuffer| length:number | Added | |
| Multi-language Runtime - LruBuffer| getCapacity(): number; | Added | |
| Multi-language Runtime - LruBuffer| clear(): void; | Added | |
| Multi-language Runtime - LruBuffer| getCreateCount(): number; | Added | |
| Multi-language Runtime - LruBuffer| getMissCount(): number; | Added | |
| Multi-language Runtime - LruBuffer| getRemovalCount(): number; | Added | |
| Multi-language Runtime - LruBuffer| getMatchCount(): number; | Added | |
| Multi-language Runtime - LruBuffer| getPutCount(): number; | Added | |
| Multi-language Runtime - LruBuffer| isEmpty(): boolean; | Added | |
| Multi-language Runtime - LruBuffer| get(key: K): V \| undefined; | Added | |
| Multi-language Runtime - LruBuffer| put(key: K, value: V): V; | Added | |
| Multi-language Runtime - LruBuffer| values(): V[]; | Added | |
| Multi-language Runtime - LruBuffer| keys(): K[]; | Added | |
| Multi-language Runtime - LruBuffer| remove(key: K): V \| undefined; | Added | |
| Multi-language Runtime - LruBuffer| afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void; | Added | |
| Multi-language Runtime - LruBuffer| contains(key: K): boolean; | Added | |
| Multi-language Runtime - LruBuffer| createDefault(key: K): V; | Added | |
| Multi-language Runtime - LruBuffer| entries(): IterableIterator\<[K, V]>; | Added | |
| Multi-language Runtime - LruBuffer| \[Symbol.iterator]\(): IterableIterator\<[K, V]>; | Added | |
| Multi-language Runtime - Scope| constructor(lowerObj: ScopeType, upperObj: ScopeType); | Added | |
| Multi-language Runtime - Scope| toString(): string; | Added | |
| Multi-language Runtime - Scope| intersect(range: Scope): Scope; | Added | |
| Multi-language Runtime - Scope| intersect(lowerObj: ScopeType, upperObj: ScopeType): Scope; | Added | |
| Multi-language Runtime - Scope| getUpper(): ScopeType; | Added | |
| Multi-language Runtime - Scope| getLower(): ScopeType; | Added | |
| Multi-language Runtime - Scope| expand(lowerObj: ScopeType, upperObj: ScopeType): Scope; | Added | |
| Multi-language Runtime - Scope| expand(range: Scope): Scope; | Added | |
| Multi-language Runtime - Scope| expand(value: ScopeType): Scope; | Added | |
| Multi-language Runtime - Scope| contains(value: ScopeType): boolean; | Added | |
| Multi-language Runtime - Scope| contains(range: Scope): boolean; | Added | |
| Multi-language Runtime - Scope| clamp(value: ScopeType): ScopeType; | Added | |
| Multi-language Runtime - Base64| constructor(); | Added | |
| Multi-language Runtime - Base64| encodeSync(src: Uint8Array): Uint8Array; | Added | |
| Multi-language Runtime - Base64| encodeToStringSync(src: Uint8Array): string; | Added | |
| Multi-language Runtime - Base64| decodeSync(src: Uint8Array \| string): Uint8Array; | Added | |
| Multi-language Runtime - Base64| encode(src: Uint8Array): Promise\<Uint8Array>; | Added | |
| Multi-language Runtime - Base64| encodeToString(src: Uint8Array): Promise\<string>; | Added | |
| Multi-language Runtime - Base64| decode(src: Uint8Array \| string): Promise\<Uint8Array>; | Added | |
| Multi-language Runtime - types| constructor(); | Added | |
| Multi-language Runtime - types| isAnyArrayBuffer(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isArrayBufferView(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isArgumentsObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isArrayBuffer(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isAsyncFunction(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isBigInt64Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isBigUint64Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isBooleanObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isBoxedPrimitive(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isDataView(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isDate(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isExternal(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isFloat32Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isFloat64Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isGeneratorFunction(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isGeneratorObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isInt8Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isInt16Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isInt32Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isMap(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isMapIterator(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isModuleNamespaceObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isNativeError(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isNumberObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isPromise(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isProxy(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isRegExp(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isSet(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isSetIterator(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isSharedArrayBuffer(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isStringObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isSymbolObject(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isTypedArray(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isUint8Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isUint8ClampedArray(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isUint16Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isUint32Array(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isWeakMap(value: Object): boolean; | Added | |
| Multi-language Runtime - types| isWeakSet(value: Object): boolean; | Added | |
| Multi-language Runtime - process| const tid: number; | Added | |
| Multi-language Runtime - process| isIsolatedProcess(): boolean; | Added | |
| Multi-language Runtime - process| isAppUid(v: number): boolean; | Added | |
| Multi-language Runtime - process| is64Bit(): boolean; | Added | |
| Multi-language Runtime - process| getUidForName(v: string): number; | Added | |
| Multi-language Runtime - process| getThreadPriority(v: number): number; | Added | |
| Multi-language Runtime - process| getStartRealtime(): number; | Added | |
| Multi-language Runtime - process| getAvailableCores(): number[]; | Added | |
| Multi-language Runtime - process| getPastCpuTime(): number; | Added | |
| Multi-language Runtime - process| getSystemConfig(name: number): number; | Added | |
| Multi-language Runtime - process| getEnvironmentVar(name: string): string; | Added | |
| Multi-language Runtime - ConvertOptions| trim: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreDeclaration?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreInstruction?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreAttributes?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreComment?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreCdata?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreDoctype?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| ignoreText?: boolean; | Added | |
| Multi-language Runtime - ConvertOptions| declarationKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| instructionKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| attributesKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| textKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| cdataKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| doctypeKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| commentKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| parentKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| typeKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| nameKey: string; | Added | |
| Multi-language Runtime - ConvertOptions| elementsKey: string; | Added | |
| Multi-language Runtime - ConvertXML| convert(xml: string, options?: ConvertOptions) : Object; | Added | |
| Multi-language Runtime - XmlSerializer| constructor(buffer: ArrayBuffer \| DataView, encoding?: string); | Added | |
| Multi-language Runtime - XmlSerializer| setAttributes(name: string, value: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| addEmptyElement(name: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| setDeclaration(): void; | Added | |
| Multi-language Runtime - XmlSerializer| startElement(name: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| endElement(): void; | Added | |
| Multi-language Runtime - XmlSerializer| setNamespace(prefix: string, namespace: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| setCommnet(text: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| setCData(text: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| setText(text: string): void; | Added | |
| Multi-language Runtime - XmlSerializer| setDocType(text: string): void; | Added | |
| Multi-language Runtime -ParseOptions| supportDoctype?: boolean; | Added | |
| Multi-language Runtime -ParseOptions| ignoreNameSpace?: boolean; | Added | |
| Multi-language Runtime -ParseOptions| tagValueCallbackFunction?: (name: string, value: string) => boolean; | Added | |
| Multi-language Runtime -ParseOptions| attributeValueCallbackFunction?: (name: string, value: string) => boolean; | Added | |
| Multi-language Runtime -ParseOptions| tokenValueCallbackFunction?: (eventType: EventType, value: ParseInfo) => boolean; | Added | |
| Account - account.appAccount| createAppAccountManager | Added| Added the API for obtaining an **AppAccountManager** instance.|
| Account - account.appAccount| addAccount(name: string, callback: AsyncCallback<void>): void;<br/>addAccount(name: string, extraInfo: string, callback: AsyncCallback<void>): void;<br/>addAccount(name: string, extraInfo?: string): Promise<void>; | Added| Added the APIs for adding an application account.|
| Account - account.appAccount| deleteAccount(name: string, callback: AsyncCallback<void>): void;<br/>deleteAccount(name: string): Promise<void>; | Added| Added the APIs for deleting an application account.|
| Account - account.appAccount| disableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;<br/>disableAppAccess(name: string, bundleName: string): Promise<void>; | Added| Added the APIs for disabling an application account from accessing a third-party application with the given bundle name.|
| Account - account.appAccount| enableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;<br/>enableAppAccess(name: string, bundleName: string): Promise<void>; | Added| Added the APIs for enabling an application account to access a third-party application with the given bundle name.|
| Account - account.appAccount| checkAppAccountSyncEnable(name: string, callback: AsyncCallback<boolean>): void;<br/>checkAppAccountSyncEnable(name: string): Promise<boolean>; | Added| Added the APIs for checking whether an application account allows application data synchronization.|
| Account - account.appAccount| setAccountCredential(name: string, credentialType: string, credential: string,<br/> callback: AsyncCallback<void>): void;<br/>setAccountCredential(name: string, credentialType: string, credential: string): Promise<void>; | Added| Added the APIs for setting a credential for an application account.|
| Account - account.appAccount| setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback<void>): void;<br/>setAccountExtraInfo(name: string, extraInfo: string): Promise<void>; | Added| Added the APIs for setting additional information for an application account.|
| Account - account.appAccount| setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback<void>): void;<br/>setAppAccountSyncEnable(name: string, isEnable: boolean): Promise<void>; | Added| Added the APIs for setting whether to enable application data synchronization for an application account.|
| Account - account.appAccount| setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;<br/>setAssociatedData(name: string, key: string, value: string): Promise<void>; | Added| Added the APIs for setting data to be associated with an application account.|
| Account - account.appAccount| getAllAccessibleAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;<br/>getAllAccessibleAccounts(): Promise<Array<AppAccountInfo>>; | Added| Added the APIs for obtaining the account information of this application and the information about the third-party application account that has been authorized to the current application.|
| Account - account.appAccount| getAllAccounts(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;<br/>getAllAccounts(owner: string): Promise<Array<AppAccountInfo>>; | Added| Added the APIs for obtaining all account information of this application.|
| Account - account.appAccount| getAccountCredential(name: string, credentialType: string, callback: AsyncCallback<string>): void;<br/>getAccountCredential(name: string, credentialType: string): Promise<string>; | Added| Added the APIs for obtaining the credential of an application account.|
| Account - account.appAccount| getAccountExtraInfo(name: string, callback: AsyncCallback<string>): void;<br/>getAccountExtraInfo(name: string): Promise<string>; | Added| Added the APIs for obtaining additional information of an application account.|
| Account - account.appAccount| getAssociatedData(name: string, key: string, callback: AsyncCallback<string>): void;<br/>getAssociatedData(name: string, key: string): Promise<string>; | Added| Added the APIs for obtaining data associated with an application account.|
| Account - account.appAccount| on(type: 'change', owners: Array<string>, callback: Callback<Array<AppAccountInfo>>): void; | Added| Added the API for subscribing to application account changes.|
| Account - account.appAccount| off(type: 'change', callback?: Callback<void>): void; | Added| Added the API for unsubscribing from application account changes.|
| Account - account.appAccount| addAccount(name: string, callback: AsyncCallback\<void>): void;<br>addAccount(name: string, extraInfo: string, callback: AsyncCallback\<void>): void;<br>addAccount(name: string, extraInfo?: string): Promise\<void>; | Added| Added the APIs for adding an application account.|
| Account - account.appAccount| deleteAccount(name: string, callback: AsyncCallback\<void>): void;<br>deleteAccount(name: string): Promise\<void>; | Added| Added the APIs for deleting an application account.|
| Account - account.appAccount| disableAppAccess(name: string, bundleName: string, callback: AsyncCallback\<void>): void;<br>disableAppAccess(name: string, bundleName: string): Promise\<void>; | Added| Added the APIs for disabling an application account from accessing a third-party application with the given bundle name.|
| Account - account.appAccount| enableAppAccess(name: string, bundleName: string, callback: AsyncCallback\<void>): void;<br>enableAppAccess(name: string, bundleName: string): Promise\<void>; | Added| Added the APIs for enabling an application account to access a third-party application with the given bundle name.|
| Account - account.appAccount| checkAppAccountSyncEnable(name: string, callback: AsyncCallback\<boolean>): void;<br>checkAppAccountSyncEnable(name: string): Promise\<boolean>; | Added| Added the APIs for checking whether an application account allows application data synchronization.|
| Account - account.appAccount| setAccountCredential(name: string, credentialType: string, credential: string,<br> callback: AsyncCallback\<void>): void;<br>setAccountCredential(name: string, credentialType: string, credential: string): Promise\<void>; | Added| Added the APIs for setting a credential for an application account.|
| Account - account.appAccount| setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback\<void>): void;<br>setAccountExtraInfo(name: string, extraInfo: string): Promise\<void>; | Added| Added the APIs for setting additional information for an application account.|
| Account - account.appAccount| setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback\<void>): void;<br>setAppAccountSyncEnable(name: string, isEnable: boolean): Promise\<void>; | Added| Added the APIs for setting whether to enable application data synchronization for an application account.|
| Account - account.appAccount| setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback\<void>): void;<br>setAssociatedData(name: string, key: string, value: string): Promise\<void>; | Added| Added the APIs for setting data to be associated with an application account.|
| Account - account.appAccount| getAllAccessibleAccounts(callback: AsyncCallback\<Array\<AppAccountInfo>>): void;<br>getAllAccessibleAccounts(): Promise\<Array\<AppAccountInfo>>; | Added| Added the APIs for obtaining the account information of this application and the information about the third-party application account that has been authorized to the current application.|
| Account - account.appAccount| getAllAccounts(owner: string, callback: AsyncCallback\<Array\<AppAccountInfo>>): void;<br>getAllAccounts(owner: string): Promise\<Array\<AppAccountInfo>>; | Added| Added the APIs for obtaining all account information of this application.|
| Account - account.appAccount| getAccountCredential(name: string, credentialType: string, callback: AsyncCallback\<string>): void;<br>getAccountCredential(name: string, credentialType: string): Promise\<string>; | Added| Added the APIs for obtaining the credential of an application account.|
| Account - account.appAccount| getAccountExtraInfo(name: string, callback: AsyncCallback\<string>): void;<br>getAccountExtraInfo(name: string): Promise\<string>; | Added| Added the APIs for obtaining additional information of an application account.|
| Account - account.appAccount| getAssociatedData(name: string, key: string, callback: AsyncCallback\<string>): void;<br>getAssociatedData(name: string, key: string): Promise\<string>; | Added| Added the APIs for obtaining data associated with an application account.|
| Account - account.appAccount| on(type: 'change', owners: Array\<string>, callback: Callback\<Array\<AppAccountInfo>>): void; | Added| Added the API for subscribing to application account changes.|
| Account - account.appAccount| off(type: 'change', callback?: Callback\<void>): void; | Added| Added the API for unsubscribing from application account changes.|
| Account - account.appAccount| interface AppAccountInfo | Added| Added the **AppAccountInfo** interface.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: AsyncCallback<AccelerometerResponse>,options?: Options): void | Added| Added the API for subscribing to acceleration sensor data changes.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION,callback:AsyncCallback<LinearAccelerometerResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the linear acceleration sensor.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,callback:AsyncCallback<AccelerometerUncalibratedResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the uncalibrated acceleration sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: AsyncCallback<GravityResponse>,options?: Options): void | Added| Added the API for subscribing to data changes of the gravity sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: AsyncCallback<GyroscopeResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the gyroscope sensor.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED,callback:AsyncCallback<GyroscopeUncalibratedResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the uncalibrated gyroscope sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: AsyncCallback<SignificantMotionResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the significant motion sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: AsyncCallback<PedometerDetectResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the pedometer detection sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: AsyncCallback<PedometerResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the pedometer sensor.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE,callback:AsyncCallback<AmbientTemperatureResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the ambient temperature sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: AsyncCallback<MagneticFieldResponse>,options?: Options): void | Added| Added the API for subscribing to data changes of the magnetic field sensor.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED,callback:AsyncCallback<MagneticFieldUncalibratedResponse>, options: Options): void | Added| Added the API for subscribing to data changes of the uncalibrated magnetic field sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: AsyncCallback<ProximityResponse>,options?: Options): void | Added| Added the API for subscribing to proximity sensor data changes.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: AsyncCallback<HumidityResponse>,options?: Options): void | Added| Added the API for subscribing to humidity sensor data changes.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: AsyncCallback<BarometerResponse>,options?: Options): void | Added| Added the API for subscribing to barometer sensor data changes.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: AsyncCallback<HallResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the Hall effect sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: AsyncCallback<LightResponse>, options?: Options): void | Added| Added the API for subscribing to data changes of the ambient light sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: AsyncCallback<OrientationResponse>, options?: Options): void | Added| Added the API for subscribing to orientation sensor data changes.|
| Pan-sensor - sensor| on(type:SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR,callback:AsyncCallback<RotationVectorResponse>,options?: Options): void | Added| Added the API for subscribing to data changes of the rotation vector sensor.|
| Pan-sensor - sensor| on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: AsyncCallback<WearDetectionResponse>,options?: Options): void | Added| Added the API for subscribing to wear detection data changes.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: AsyncCallback<AccelerometerResponse>): void | Added| Added the API for subscribing to only one data change of the acceleration sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION,callback:AsyncCallback<LinearAccelerometerResponse>): void | Added| Added the API for subscribing to only one data change of the linear acceleration sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,callback:AsyncCallback<AccelerometerUncalibratedResponse>): void | Added| Added the API for subscribing to only one data change of the uncalibrated acceleration sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: AsyncCallback<GravityResponse>): void | Added| Added the API for subscribing to only one data change of the gravity sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: AsyncCallback<GyroscopeResponse>): void | Added| Added the API for subscribing to only one data change of the gyroscope sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED,callback:AsyncCallback<GyroscopeUncalibratedResponse>, options?: Options): void | Added| Added the API for subscribing to only one data change of the uncalibrated gyroscope sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: AsyncCallback<SignificantMotionResponse>): void | Added| Added the API for subscribing to only one data change of the significant motion sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: AsyncCallback<PedometerDetectResponse>): void | Added| Added the API for subscribing to only one data change of the pedometer detection sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: AsyncCallback<PedometerResponse>): void | Added| Added the API for subscribing to only one data change of the pedometer sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE,callback:AsyncCallback<AmbientTemperatureResponse>): void | Added| Added the API for subscribing to only one data change of the ambient temperature sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: AsyncCallback<MagneticFieldResponse>): void | Added| Added the API for subscribing to only one data change of the magnetic field sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED,callback:AsyncCallback<MagneticFieldUncalibratedResponse>): void | Added| Added the API for subscribing to only one data change of the uncalibrated magnetic field sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: AsyncCallback<ProximityResponse>): void | Added| Added the API for subscribing to only one data change of the proximity sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: AsyncCallback<HumidityResponse>): void | Added| Added the API for subscribing to only one data change of the humidity sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: AsyncCallback<BarometerResponse>): void | Added| Added the API for subscribing to only one data change of the barometer sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: AsyncCallback<HallResponse>): void | Added| Added the API for subscribing to only one data change of the Hall effect sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: AsyncCallback<LightResponse>): void | Added| Added the API for subscribing to only one data change of the ambient light sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: AsyncCallback<OrientationResponse>): void | Added| Added the API for subscribing to only one data change of the orientation sensor.|
| Pan-sensor - sensor| once(type:SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR,callback:AsyncCallback<RotationVectorResponse>): void | Added| Added the API for subscribing to only one data change of the rotation vector sensor.|
| Pan-sensor - sensor| once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: AsyncCallback<WearDetectionResponse>): void | Added| Added the API for subscribing to only one data change of the wear detection sensor.|
| Pan-sensor - sensor| off(type: SensorType, callback?: AsyncCallback<void>): void | Added| Added the API for unsubscribing from sensor data changes.|
| Pan-sensor - sensor| getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void </br> getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse> | Added| Added the APIs for obtaining the geomagnetic field of a geographic location.|
| Pan-sensor - vibrator| vibrate(duration: number): Promise<void> </br> vibrate(duration: number, callback?: AsyncCallback<void>): void | Added| Added the APIs for triggering vibration with a specific duration.|
| Pan-sensor - vibrator| vibrate(effectId: EffectId): Promise<void> </br> vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void | Added| Added the APIs for triggering vibration with a specific effect.|
| Pan-sensor - vibrator| stop(stopMode: VibratorStopMode): Promise<void> </br> stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void | Added| Added the APIs for stopping vibration.|
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: AsyncCallback\<AccelerometerResponse>,options?: Options): void | Added | Added the API for subscribing to acceleration sensor data changes. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION,callback:AsyncCallback\<LinearAccelerometerResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the linear acceleration sensor. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,callback:AsyncCallback\<AccelerometerUncalibratedResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the uncalibrated acceleration sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: AsyncCallback\<GravityResponse>,options?: Options): void | Added | Added the API for subscribing to data changes of the gravity sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: AsyncCallback\<GyroscopeResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the gyroscope sensor. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED,callback:AsyncCallback\<GyroscopeUncalibratedResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the uncalibrated gyroscope sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: AsyncCallback\<SignificantMotionResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the significant motion sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: AsyncCallback\<PedometerDetectResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the pedometer detection sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: AsyncCallback\<PedometerResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the pedometer sensor. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE,callback:AsyncCallback\<AmbientTemperatureResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the ambient temperature sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: AsyncCallback\<MagneticFieldResponse>,options?: Options): void | Added | Added the API for subscribing to data changes of the magnetic field sensor. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED,callback:AsyncCallback\<MagneticFieldUncalibratedResponse>, options: Options): void | Added | Added the API for subscribing to data changes of the uncalibrated magnetic field sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: AsyncCallback\<ProximityResponse>,options?: Options): void | Added | Added the API for subscribing to proximity sensor data changes. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: AsyncCallback\<HumidityResponse>,options?: Options): void | Added | Added the API for subscribing to humidity sensor data changes. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: AsyncCallback\<BarometerResponse>,options?: Options): void | Added | Added the API for subscribing to barometer sensor data changes. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: AsyncCallback\<HallResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the Hall effect sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: AsyncCallback\<LightResponse>, options?: Options): void | Added | Added the API for subscribing to data changes of the ambient light sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: AsyncCallback\<OrientationResponse>, options?: Options): void | Added | Added the API for subscribing to orientation sensor data changes. |
| Pan-sensor - sensor | on(type:SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR,callback:AsyncCallback\<RotationVectorResponse>,options?: Options): void | Added | Added the API for subscribing to data changes of the rotation vector sensor. |
| Pan-sensor - sensor | on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: AsyncCallback\<WearDetectionResponse>,options?: Options): void | Added | Added the API for subscribing to wear detection data changes. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: AsyncCallback\<AccelerometerResponse>): void | Added | Added the API for subscribing to only one data change of the acceleration sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION,callback:AsyncCallback\<LinearAccelerometerResponse>): void | Added | Added the API for subscribing to only one data change of the linear acceleration sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,callback:AsyncCallback\<AccelerometerUncalibratedResponse>): void | Added | Added the API for subscribing to only one data change of the uncalibrated acceleration sensor.|
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: AsyncCallback\<GravityResponse>): void | Added | Added the API for subscribing to only one data change of the gravity sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: AsyncCallback\<GyroscopeResponse>): void | Added | Added the API for subscribing to only one data change of the gyroscope sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED,callback:AsyncCallback\<GyroscopeUncalibratedResponse>, options?: Options): void | Added | Added the API for subscribing to only one data change of the uncalibrated gyroscope sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: AsyncCallback\<SignificantMotionResponse>): void | Added | Added the API for subscribing to only one data change of the significant motion sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: AsyncCallback\<PedometerDetectResponse>): void | Added | Added the API for subscribing to only one data change of the pedometer detection sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: AsyncCallback\<PedometerResponse>): void | Added | Added the API for subscribing to only one data change of the pedometer sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE,callback:AsyncCallback\<AmbientTemperatureResponse>): void | Added | Added the API for subscribing to only one data change of the ambient temperature sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: AsyncCallback\<MagneticFieldResponse>): void | Added | Added the API for subscribing to only one data change of the magnetic field sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED,callback:AsyncCallback\<MagneticFieldUncalibratedResponse>): void | Added | Added the API for subscribing to only one data change of the uncalibrated magnetic field sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: AsyncCallback\<ProximityResponse>): void | Added | Added the API for subscribing to only one data change of the proximity sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: AsyncCallback\<HumidityResponse>): void | Added | Added the API for subscribing to only one data change of the humidity sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: AsyncCallback\<BarometerResponse>): void | Added | Added the API for subscribing to only one data change of the barometer sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: AsyncCallback\<HallResponse>): void | Added | Added the API for subscribing to only one data change of the Hall effect sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: AsyncCallback\<LightResponse>): void | Added | Added the API for subscribing to only one data change of the ambient light sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: AsyncCallback\<OrientationResponse>): void | Added | Added the API for subscribing to only one data change of the orientation sensor. |
| Pan-sensor - sensor | once(type:SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR,callback:AsyncCallback\<RotationVectorResponse>): void | Added | Added the API for subscribing to only one data change of the rotation vector sensor. |
| Pan-sensor - sensor | once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: AsyncCallback\<WearDetectionResponse>): void | Added | Added the API for subscribing to only one data change of the wear detection sensor. |
| Pan-sensor - sensor | off(type: SensorType, callback?: AsyncCallback\<void>): void | Added | Added the API for unsubscribing from sensor data changes. |
| Pan-sensor - sensor | getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\<GeomagneticResponse>): void <br> getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\<GeomagneticResponse> | Added | Added the APIs for obtaining the geomagnetic field of a geographic location. |
| Pan-sensor - vibrator| vibrate(duration: number): Promise\<void> <br> vibrate(duration: number, callback?: AsyncCallback\<void>): void | Added | Added the APIs for triggering vibration with a specific duration. |
| Pan-sensor - vibrator| vibrate(effectId: EffectId): Promise\<void> <br> vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void | Added | Added the APIs for triggering vibration with a specific effect. |
| Pan-sensor - vibrator| stop(stopMode: VibratorStopMode): Promise\<void> <br> stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void | Added | Added the APIs for stopping vibration. |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册