1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:distributedDeviceManager;<br>方法or属性:function createDeviceManager(bundleName: string): DeviceManager;|@ohos.distributedDeviceManager.d.ts|
4|新增|NA|类名:distributedDeviceManager;<br>方法or属性:function releaseDeviceManager(deviceManager: DeviceManager): void;|@ohos.distributedDeviceManager.d.ts|
5|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceId: string;|@ohos.distributedDeviceManager.d.ts|
6|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceName: string;|@ohos.distributedDeviceManager.d.ts|
7|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceType: string;|@ohos.distributedDeviceManager.d.ts|
8|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:networkId?: string;|@ohos.distributedDeviceManager.d.ts|
9|新增|NA|类名:DeviceStateChange;<br>方法or属性:UNKNOWN = 0|@ohos.distributedDeviceManager.d.ts|
10|新增|NA|类名:DeviceStateChange;<br>方法or属性:AVAILABLE = 1|@ohos.distributedDeviceManager.d.ts|
11|新增|NA|类名:DeviceStateChange;<br>方法or属性:UNAVAILABLE = 2|@ohos.distributedDeviceManager.d.ts|
12|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceListSync(): Array\<DeviceBasicInfo>;|@ohos.distributedDeviceManager.d.ts|
13|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceList(callback: AsyncCallback\<Array\<DeviceBasicInfo>>): void;|@ohos.distributedDeviceManager.d.ts|
14|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceList(): Promise\<Array\<DeviceBasicInfo>>;|@ohos.distributedDeviceManager.d.ts|
15|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceNetworkId(): string;|@ohos.distributedDeviceManager.d.ts|
16|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceName(): string;|@ohos.distributedDeviceManager.d.ts|
17|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceType(): number;|@ohos.distributedDeviceManager.d.ts|
18|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceId(): string;|@ohos.distributedDeviceManager.d.ts|
19|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceName(networkId: string): string;|@ohos.distributedDeviceManager.d.ts|
20|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceType(networkId: string): number;|@ohos.distributedDeviceManager.d.ts|
21|新增|NA|类名:DeviceManager;<br>方法or属性:startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void;|@ohos.distributedDeviceManager.d.ts|
22|新增|NA|类名:DeviceManager;<br>方法or属性:stopDiscovering(): void;|@ohos.distributedDeviceManager.d.ts|
23|新增|NA|类名:DeviceManager;<br>方法or属性:bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback\<{deviceId: string}>): void;|@ohos.distributedDeviceManager.d.ts|
24|新增|NA|类名:DeviceManager;<br>方法or属性:unbindTarget(deviceId: string): void;|@ohos.distributedDeviceManager.d.ts|
25|新增|NA|类名:DeviceManager;<br>方法or属性:replyUiAction(action: number, actionResult: string): void;|@ohos.distributedDeviceManager.d.ts|
26|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
27|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'discoverSuccess', callback: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
28|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'deviceNameChange', callback: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts|
29|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFailure', callback: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts|
30|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts|
31|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'replyResult', callback: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts|
32|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
33|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'discoverSuccess', callback?: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
34|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'deviceNameChange', callback?: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts|
35|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFailure', callback?: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts|
36|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts|
37|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'replyResult', callback?: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts|
38|新增|NA|类名:DeviceInfo;<br>方法or属性:authForm: AuthForm;|@ohos.distributedHardware.deviceManager.d.ts|
39|新增|NA|类名:AuthForm;<br>方法or属性:INVALID_TYPE = -1|@ohos.distributedHardware.deviceManager.d.ts|
40|新增|NA|类名:AuthForm;<br>方法or属性:PEER_TO_PEER = 0|@ohos.distributedHardware.deviceManager.d.ts|
41|新增|NA|类名:AuthForm;<br>方法or属性:IDENTICAL_ACCOUNT = 1|@ohos.distributedHardware.deviceManager.d.ts|
42|新增|NA|类名:AuthForm;<br>方法or属性:ACROSS_ACCOUNT = 2|@ohos.distributedHardware.deviceManager.d.ts|
43|新增|NA|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(isRefresh: boolean): Array\<DeviceInfo>;|@ohos.distributedHardware.deviceManager.d.ts|
44|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;|@ohos.distributedHardware.deviceManager.d.ts|
45|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;|@ohos.distributedHardware.deviceManager.d.ts|
46|新增|NA|类名:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
47|新增|NA|类名:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
48|新增|NA|类名:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
49|错误码有变化|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>旧版本信息:401|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
50|错误码有变化|类名:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信息:11600101|类名:DeviceManager;<br>方法or属性:release(): void;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
51|错误码有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信息:401,11600101|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
52|错误码有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信息:202,401|@ohos.distributedHardware.deviceManager.d.ts|
53|错误码有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信息:202|@ohos.distributedHardware.deviceManager.d.ts|
54|错误码有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信息:401,11600101|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
55|错误码有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
56|错误码有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信息:202|@ohos.distributedHardware.deviceManager.d.ts|
57|错误码有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信息:401,201,11600104,11600101|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信息:401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts|
58|错误码有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信息:401,201,11600104,11600101|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信息:401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts|
59|错误码有变化|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
60|错误码有变化|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信息:401,201,11600105,11600101|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信息:401,202,201,11600105,11600101|@ohos.distributedHardware.deviceManager.d.ts|
61|错误码有变化|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
62|错误码有变化|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br>      deviceInfo: DeviceInfo,<br>      authParam: AuthParam,<br>      callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br>    ): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br>      deviceInfo: DeviceInfo,<br>      authParam: AuthParam,<br>      callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br>    ): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
63|错误码有变化|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
64|错误码有变化|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
65|错误码有变化|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信息:401,202,201|@ohos.distributedHardware.deviceManager.d.ts|
66|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
67|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
68|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
69|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
70|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
71|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
72|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
73|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
74|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
75|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
76|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
77|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
78|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
79|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
80|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
81|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceName: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceName: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
82|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
83|访问级别有变化|类名:DeviceInfo;<br>方法or属性:networkId: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:networkId: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
84|访问级别有变化|类名:DeviceInfo;<br>方法or属性:range: number;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:range: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
85|访问级别有变化|类名:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>旧版本信息:|类名:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
86|访问级别有变化|类名:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>旧版本信息:|类名:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
87|访问级别有变化|类名:DeviceType;<br>方法or属性:PHONE = 0x0E<br>旧版本信息:|类名:DeviceType;<br>方法or属性:PHONE = 0x0E<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
88|访问级别有变化|类名:DeviceType;<br>方法or属性:TABLET = 0x11<br>旧版本信息:|类名:DeviceType;<br>方法or属性:TABLET = 0x11<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
89|访问级别有变化|类名:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>旧版本信息:|类名:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
90|访问级别有变化|类名:DeviceType;<br>方法or属性:CAR = 0x83<br>旧版本信息:|类名:DeviceType;<br>方法or属性:CAR = 0x83<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
91|访问级别有变化|类名:DeviceType;<br>方法or属性:TV = 0x9C<br>旧版本信息:|类名:DeviceType;<br>方法or属性:TV = 0x9C<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
92|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
93|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
94|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
95|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
96|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
97|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
98|访问级别有变化|类名:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
99|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
100|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
101|访问级别有变化|类名:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
102|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
103|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
104|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
105|访问级别有变化|类名:PublishInfo;<br>方法or属性:publishId: number;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:publishId: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
106|访问级别有变化|类名:PublishInfo;<br>方法or属性:ranging: boolean;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:ranging: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
107|访问级别有变化|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>旧版本信息:|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
108|访问级别有变化|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>旧版本信息:|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
109|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:AUTO = 0<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:AUTO = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
110|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:BLE = 1<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:BLE = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
111|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:COAP = 2<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:COAP = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
112|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:USB = 3<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:USB = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
113|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:LOW = 0<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:LOW = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
114|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:MID = 1<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:MID = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
115|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:HIGH = 2<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:HIGH = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
116|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
117|访问级别有变化|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>旧版本信息:|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
118|访问级别有变化|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>旧版本信息:|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
119|访问级别有变化|类名:AuthParam;<br>方法or属性:authType: number;<br>旧版本信息:|类名:AuthParam;<br>方法or属性:authType: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
120|访问级别有变化|类名:AuthInfo;<br>方法or属性:authType: number;<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:authType: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
121|访问级别有变化|类名:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信息:|类名:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
122|访问级别有变化|类名:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
123|访问级别有变化|类名:AuthInfo;<br>方法or属性:token: number;<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:token: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
124|权限有变化|类名:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:release(): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
125|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
126|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
127|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
128|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
129|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
130|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
131|权限有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
132|权限有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
133|权限有变化|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
134|权限有变化|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
135|权限有变化|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
136|权限有变化|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br>      deviceInfo: DeviceInfo,<br>      authParam: AuthParam,<br>      callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br>    ): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br>      deviceInfo: DeviceInfo,<br>      authParam: AuthParam,<br>      callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br>    ): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
137|权限有变化|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
138|权限有变化|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
139|权限有变化|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
140|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
141|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
142|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
143|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
144|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
145|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
146|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
147|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
148|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
149|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
150|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
151|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
152|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
153|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
154