harmony 鸿蒙js-apidiff-distributed-hardware
Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: DeviceInfo; Method or attribute name: range: number; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: PublishInfo; Method or attribute name: publishId: number; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: PublishInfo; Method or attribute name: mode: DiscoverMode; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: PublishInfo; Method or attribute name: freq: ExchangeFreq; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: PublishInfo; Method or attribute name: ranging : boolean; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: unPublishDeviceDiscovery(publishId: number): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: setUserOperation(operateAction: number, params: string): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: on(type: ‘uiStateChange’, callback: Callback<{ param: string}>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: on(type: ‘publishSuccess’, callback: Callback<{ publishId: number }>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: on(type: ‘publishFail’, callback: Callback<{ publishId: number, reason: number }>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: off(type: ‘uiStateChange’, callback?: Callback<{ param: string}>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: off(type: ‘publishSuccess’, callback?: Callback<{ publishId: number }>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Added | NA | Class name: DeviceManager; Method or attribute name: off(type: ‘publishFail’, callback?: Callback<{ publishId: number, reason: number }>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: deviceManager; Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void; Old version: |
Class name: deviceManager; Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: release(): void; Old version: |
Class name: DeviceManager; Method or attribute name: release(): void; New version: 11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>; Old version: |
Class name: DeviceManager; Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>; New version: 401,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getTrustedDeviceList(callback:AsyncCallback<Array<DeviceInfo>>): void; Old version: |
Class name: DeviceManager; Method or attribute name: getTrustedDeviceList(callback:AsyncCallback<Array<DeviceInfo>>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>; Old version: |
Class name: DeviceManager; Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo; Old version: |
Class name: DeviceManager; Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo; New version: 401,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getLocalDeviceInfo(callback:AsyncCallback<DeviceInfo>): void; Old version: |
Class name: DeviceManager; Method or attribute name: getLocalDeviceInfo(callback:AsyncCallback<DeviceInfo>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>; Old version: |
Class name: DeviceManager; Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; Old version: |
Class name: DeviceManager; Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; New version: 401,201,11600104,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: stopDeviceDiscovery(subscribeId: number): void; Old version: |
Class name: DeviceManager; Method or attribute name: stopDeviceDiscovery(subscribeId: number): void; New version: 401,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinToken ?: number}>): void; Old version: |
Class name: DeviceManager; Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinToken ?: number}>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void Old version: |
Class name: DeviceManager; Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void New version: 401,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{deviceId: string, level: number}>): void; Old version: |
Class name: DeviceManager; Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{deviceId: string, level: number}>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void; Old version: |
Class name: DeviceManager; Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void; Old version: |
Class name: DeviceManager; Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Error code added | Class name: DeviceManager; Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void; Old version: |
Class name: DeviceManager; Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void; New version: 401 |
@ohos.distributedHardware.deviceManager.d.ts |
Access level changed | Class name: DeviceType; Method or attribute name: enum DeviceType Old version: |
Class name: DeviceType; Method or attribute name: enum DeviceType New version: systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
Function changed | Class name: DeviceManager; Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinTone ?: number}>): void; |
Class name: DeviceManager; Method or attribute name: authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinToken ?: number}>): void; |
@ohos.distributedHardware.deviceManager.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦