• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: DeviceInfo<br>Method or attribute name: range: number;|@ohos.distributedHardware.deviceManager.d.ts|
4|Added|NA|Class name: DeviceInfo<br>Method or attribute name: range: number;|@ohos.distributedHardware.deviceManager.d.ts|
5|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: PublishInfo|@ohos.distributedHardware.deviceManager.d.ts|
6|Added|NA|Class name: PublishInfo<br>Method or attribute name: |@ohos.distributedHardware.deviceManager.d.ts|
7|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: PublishInfo<br>Method or attribute name: publishId: number;|@ohos.distributedHardware.deviceManager.d.ts|
8|Added|NA|Class name: PublishInfo<br>Method or attribute name: publishId: number;|@ohos.distributedHardware.deviceManager.d.ts|
9|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: PublishInfo<br>Method or attribute name: mode: DiscoverMode;|@ohos.distributedHardware.deviceManager.d.ts|
10|Added|NA|Class name: PublishInfo<br>Method or attribute name: mode: DiscoverMode;|@ohos.distributedHardware.deviceManager.d.ts|
11|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: PublishInfo<br>Method or attribute name: freq: ExchangeFreq;|@ohos.distributedHardware.deviceManager.d.ts|
12|Added|NA|Class name: PublishInfo<br>Method or attribute name: freq: ExchangeFreq;|@ohos.distributedHardware.deviceManager.d.ts|
13|Added|NA|Module name: ohos.distributedHardware.deviceManager<br>Class name: PublishInfo<br>Method or attribute name: ranging : boolean;|@ohos.distributedHardware.deviceManager.d.ts|
14|Added|NA|Class name: PublishInfo<br>Method or attribute name: ranging : boolean;|@ohos.distributedHardware.deviceManager.d.ts|
15|Added|NA|Class name: DeviceManager<br>Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
16|Added|NA|Class name: DeviceManager<br>Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;|@ohos.distributedHardware.deviceManager.d.ts|
17|Added|NA|Class name: DeviceManager<br>Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;|@ohos.distributedHardware.deviceManager.d.ts|
18|Added|NA|Class name: DeviceManager<br>Method or attribute name: setUserOperation(operateAction: number, params: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
19|Added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'uiStateChange', callback: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
20|Added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'uiStateChange', callback?: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
21|Added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
22|Added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
23|Added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
24|Added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
25|Access level changed|Class name: DeviceType<br>Access level: public API|Class name: DeviceType<br>Access level: system API|@ohos.distributedHardware.deviceManager.d.ts|
26|Initial version changed|Class name: DeviceManager<br>Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>Initial version: N/A|Class name: DeviceManager<br>Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>Initial version: 8|@ohos.distributedHardware.deviceManager.d.ts|
27|Error code added|NA|Class name: deviceManager<br>Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
28|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: release(): void;<br>Error code: 11600101|@ohos.distributedHardware.deviceManager.d.ts|
29|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>Error code: 401, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
30|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getTrustedDeviceList(callback:AsyncCallback\<Array\<DeviceInfo>>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
31|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
32|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;<br>Error code: 401, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
33|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getLocalDeviceInfo(callback:AsyncCallback\<DeviceInfo>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
34|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
35|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>Error code: 401, 201, 11600104, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
36|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;<br>Error code: 401, 201, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
37|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void<br>Error code: 401, 201, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
38|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{deviceId: string, level: number}>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
39|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
40|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
41|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
42|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
43|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
44|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
45|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: on(type: 'serviceDie', callback: () => void): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
46|Error code added|NA|Class name: DeviceManager<br>Method or attribute name: off(type: 'serviceDie', callback?: () => void): void;<br>Error code: 401|@ohos.distributedHardware.deviceManager.d.ts|
47|Function changed|Class name: DeviceManager<br>Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinTone ?: number}>): void;<br>|Class name: DeviceManager<br>Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinToken ?: number}>): void;<br>|@ohos.distributedHardware.deviceManager.d.ts|
48