操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
新增 | NA | 类名:distributedDeviceManager; 方法or属性:function createDeviceManager(bundleName: string): DeviceManager; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:distributedDeviceManager; 方法or属性:function releaseDeviceManager(deviceManager: DeviceManager): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceBasicInfo; 方法or属性:deviceId: string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceBasicInfo; 方法or属性:deviceName: string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceBasicInfo; 方法or属性:deviceType: number; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceBasicInfo; 方法or属性:networkId?: string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceStateChange; 方法or属性:UNKNOWN = 0 |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceStateChange; 方法or属性:AVAILABLE = 1 |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceStateChange; 方法or属性:UNAVAILABLE = 2 |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getAvailableDeviceListSync(): Array<DeviceBasicInfo>; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getAvailableDeviceList(callback: AsyncCallback<Array<DeviceBasicInfo>>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getAvailableDeviceList(): Promise<Array<DeviceBasicInfo>>; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getLocalDeviceNetworkId(): string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getLocalDeviceName(): string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getLocalDeviceType(): number; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getLocalDeviceId(): string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getDeviceName(networkId: string): string; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getDeviceType(networkId: string): number; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:stopDiscovering(): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback<{deviceId: string}>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:unbindTarget(deviceId: string): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:replyUiAction(action: number, actionResult: string): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'discoverSuccess', callback: Callback<{ device: DeviceBasicInfo }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'deviceNameChange', callback: Callback<{ deviceName: string }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'discoverFailure', callback: Callback<{ reason: number }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'serviceDie', callback?: Callback<{}>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:on(type: 'replyResult', callback: Callback<{ param: string }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'discoverSuccess', callback?: Callback<{ device: DeviceBasicInfo }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'deviceNameChange', callback?: Callback<{ deviceName: string }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'discoverFailure', callback?: Callback<{ reason: number }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'serviceDie', callback?: Callback<{}>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:off(type: 'replyResult', callback?: Callback<{ param: string }>): void; |
@ohos.distributedDeviceManager.d.ts |
新增 | NA | 类名:DeviceManager; 方法or属性:getTrustedDeviceListSync(isRefresh: boolean): Array<DeviceInfo>; |
@ohos.distributedHardware.deviceManager.d.ts |
新增(错误码) | 类名:DeviceManager; 方法or属性:getTrustedDeviceList(): Promise<Array<DeviceInfo>>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getTrustedDeviceList(): Promise<Array<DeviceInfo>>; 新版本信息:202 |
@ohos.distributedHardware.deviceManager.d.ts |
新增(错误码) | 类名:DeviceManager; 方法or属性:getLocalDeviceInfo(): Promise<DeviceInfo>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getLocalDeviceInfo(): Promise<DeviceInfo>; 新版本信息:202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:deviceManager; 方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void; 旧版本信息:401 |
类名:deviceManager; 方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:release(): void; 旧版本信息:11600101 |
类名:DeviceManager; 方法or属性:release(): void; 新版本信息:202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getTrustedDeviceListSync(): Array<DeviceInfo>; 旧版本信息:11600101 |
类名:DeviceManager; 方法or属性:getTrustedDeviceListSync(): Array<DeviceInfo>; 新版本信息:202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void; 新版本信息:202,401 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getLocalDeviceInfoSync(): DeviceInfo; 旧版本信息:11600101 |
类名:DeviceManager; 方法or属性:getLocalDeviceInfoSync(): DeviceInfo; 新版本信息:202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string): Promise<DeviceInfo>; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string): Promise<DeviceInfo>; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; 旧版本信息:401,201,11600104,11600101 |
类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; 新版本信息:401,202,201,11600104,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void; 旧版本信息:401,201,11600104,11600101 |
类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void; 新版本信息:401,202,201,11600104,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:stopDeviceDiscovery(subscribeId: number): void; 旧版本信息:401,201,11600101 |
类名:DeviceManager; 方法or属性:stopDeviceDiscovery(subscribeId: number): void; 新版本信息:401,202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void; 旧版本信息:401,201,11600105,11600101 |
类名:DeviceManager; 方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void; 新版本信息:401,202,201,11600105,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:unPublishDeviceDiscovery(publishId: number): void; 旧版本信息:401,201,11600101 |
类名:DeviceManager; 方法or属性:unPublishDeviceDiscovery(publishId: number): void; 新版本信息:401,202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:authenticateDevice( deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{ deviceId: string, pinToken?: number }> ): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:authenticateDevice( deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{ deviceId: string, pinToken?: number }> ): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void; 旧版本信息:401,201,11600101 |
类名:DeviceManager; 方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void; 新版本信息:401,202,201,11600101 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:setUserOperation(operateAction: number, params: string): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:setUserOperation(operateAction: number, params: string): void; 新版本信息:401,202,201 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'uiStateChange', callback: Callback<{ param: string }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'uiStateChange', callback: Callback<{ param: string }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:on(type: 'serviceDie', callback: () => void): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:on(type: 'serviceDie', callback: () => void): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'uiStateChange', callback?: Callback<{ param: string }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'uiStateChange', callback?: Callback<{ param: string }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
错误码有变化 | 类名:DeviceManager; 方法or属性:off(type: 'serviceDie', callback?: () => void): void; 旧版本信息:401 |
类名:DeviceManager; 方法or属性:off(type: 'serviceDie', callback?: () => void): void; 新版本信息:401,202 |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:deviceId: string; 旧版本信息: |
类名:DeviceInfo; 方法or属性:deviceId: string; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:deviceName: string; 旧版本信息: |
类名:DeviceInfo; 方法or属性:deviceName: string; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:deviceType: DeviceType; 旧版本信息: |
类名:DeviceInfo; 方法or属性:deviceType: DeviceType; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:networkId: string; 旧版本信息: |
类名:DeviceInfo; 方法or属性:networkId: string; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:range: number; 旧版本信息: |
类名:DeviceInfo; 方法or属性:range: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceInfo; 方法or属性:authForm: AuthForm; 旧版本信息: |
类名:DeviceInfo; 方法or属性:authForm: AuthForm; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthForm; 方法or属性:INVALID_TYPE = -1 旧版本信息: |
类名:AuthForm; 方法or属性:INVALID_TYPE = -1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthForm; 方法or属性:PEER_TO_PEER = 0 旧版本信息: |
类名:AuthForm; 方法or属性:PEER_TO_PEER = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthForm; 方法or属性:IDENTICAL_ACCOUNT = 1 旧版本信息: |
类名:AuthForm; 方法or属性:IDENTICAL_ACCOUNT = 1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthForm; 方法or属性:ACROSS_ACCOUNT = 2 旧版本信息: |
类名:AuthForm; 方法or属性:ACROSS_ACCOUNT = 2 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:UNKNOWN_TYPE = 0 旧版本信息: |
类名:DeviceType; 方法or属性:UNKNOWN_TYPE = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:SPEAKER = 0x0A 旧版本信息: |
类名:DeviceType; 方法or属性:SPEAKER = 0x0A 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:PHONE = 0x0E 旧版本信息: |
类名:DeviceType; 方法or属性:PHONE = 0x0E 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:TABLET = 0x11 旧版本信息: |
类名:DeviceType; 方法or属性:TABLET = 0x11 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:WEARABLE = 0x6D 旧版本信息: |
类名:DeviceType; 方法or属性:WEARABLE = 0x6D 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:CAR = 0x83 旧版本信息: |
类名:DeviceType; 方法or属性:CAR = 0x83 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceType; 方法or属性:TV = 0x9C 旧版本信息: |
类名:DeviceType; 方法or属性:TV = 0x9C 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceStateChangeAction; 方法or属性:ONLINE = 0 旧版本信息: |
类名:DeviceStateChangeAction; 方法or属性:ONLINE = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceStateChangeAction; 方法or属性:READY = 1 旧版本信息: |
类名:DeviceStateChangeAction; 方法or属性:READY = 1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceStateChangeAction; 方法or属性:OFFLINE = 2 旧版本信息: |
类名:DeviceStateChangeAction; 方法or属性:OFFLINE = 2 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DeviceStateChangeAction; 方法or属性:CHANGE = 3 旧版本信息: |
类名:DeviceStateChangeAction; 方法or属性:CHANGE = 3 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:subscribeId: number; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:subscribeId: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:mode: DiscoverMode; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:mode: DiscoverMode; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:PublishInfo; 方法or属性:mode: DiscoverMode; 旧版本信息: |
类名:PublishInfo; 方法or属性:mode: DiscoverMode; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:medium: ExchangeMedium; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:medium: ExchangeMedium; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:freq: ExchangeFreq; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:freq: ExchangeFreq; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:PublishInfo; 方法or属性:freq: ExchangeFreq; 旧版本信息: |
类名:PublishInfo; 方法or属性:freq: ExchangeFreq; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:isSameAccount: boolean; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:isSameAccount: boolean; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:isWakeRemote: boolean; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:isWakeRemote: boolean; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeInfo; 方法or属性:capability: SubscribeCap; 旧版本信息: |
类名:SubscribeInfo; 方法or属性:capability: SubscribeCap; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:PublishInfo; 方法or属性:publishId: number; 旧版本信息: |
类名:PublishInfo; 方法or属性:publishId: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:PublishInfo; 方法or属性:ranging: boolean; 旧版本信息: |
类名:PublishInfo; 方法or属性:ranging: boolean; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DiscoverMode; 方法or属性:DISCOVER_MODE_PASSIVE = 0x55 旧版本信息: |
类名:DiscoverMode; 方法or属性:DISCOVER_MODE_PASSIVE = 0x55 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:DiscoverMode; 方法or属性:DISCOVER_MODE_ACTIVE = 0xAA 旧版本信息: |
类名:DiscoverMode; 方法or属性:DISCOVER_MODE_ACTIVE = 0xAA 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeMedium; 方法or属性:AUTO = 0 旧版本信息: |
类名:ExchangeMedium; 方法or属性:AUTO = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeMedium; 方法or属性:BLE = 1 旧版本信息: |
类名:ExchangeMedium; 方法or属性:BLE = 1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeMedium; 方法or属性:COAP = 2 旧版本信息: |
类名:ExchangeMedium; 方法or属性:COAP = 2 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeMedium; 方法or属性:USB = 3 旧版本信息: |
类名:ExchangeMedium; 方法or属性:USB = 3 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeFreq; 方法or属性:LOW = 0 旧版本信息: |
类名:ExchangeFreq; 方法or属性:LOW = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeFreq; 方法or属性:MID = 1 旧版本信息: |
类名:ExchangeFreq; 方法or属性:MID = 1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeFreq; 方法or属性:HIGH = 2 旧版本信息: |
类名:ExchangeFreq; 方法or属性:HIGH = 2 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:ExchangeFreq; 方法or属性:SUPER_HIGH = 3 旧版本信息: |
类名:ExchangeFreq; 方法or属性:SUPER_HIGH = 3 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeCap; 方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0 旧版本信息: |
类名:SubscribeCap; 方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:SubscribeCap; 方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1 旧版本信息: |
类名:SubscribeCap; 方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthParam; 方法or属性:authType: number; 旧版本信息: |
类名:AuthParam; 方法or属性:authType: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthInfo; 方法or属性:authType: number; 旧版本信息: |
类名:AuthInfo; 方法or属性:authType: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthParam; 方法or属性:extraInfo: { [key: string]: any }; 旧版本信息: |
类名:AuthParam; 方法or属性:extraInfo: { [key: string]: any }; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthInfo; 方法or属性:extraInfo: { [key: string]: any }; 旧版本信息: |
类名:AuthInfo; 方法or属性:extraInfo: { [key: string]: any }; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
访问级别有变化 | 类名:AuthInfo; 方法or属性:token: number; 旧版本信息: |
类名:AuthInfo; 方法or属性:token: number; 新版本信息:systemapi |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:release(): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:release(): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getTrustedDeviceListSync(): Array<DeviceInfo>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getTrustedDeviceListSync(): Array<DeviceInfo>; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getTrustedDeviceList(): Promise<Array<DeviceInfo>>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getTrustedDeviceList(): Promise<Array<DeviceInfo>>; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getLocalDeviceInfoSync(): DeviceInfo; 旧版本信息: |
类名:DeviceManager; 方法or属性:getLocalDeviceInfoSync(): DeviceInfo; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getLocalDeviceInfo(): Promise<DeviceInfo>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getLocalDeviceInfo(): Promise<DeviceInfo>; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string): Promise<DeviceInfo>; 旧版本信息: |
类名:DeviceManager; 方法or属性:getDeviceInfo(networkId: string): Promise<DeviceInfo>; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:stopDeviceDiscovery(subscribeId: number): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:stopDeviceDiscovery(subscribeId: number): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:unPublishDeviceDiscovery(publishId: number): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:unPublishDeviceDiscovery(publishId: number): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:authenticateDevice( deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{ deviceId: string, pinToken?: number }> ): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:authenticateDevice( deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{ deviceId: string, pinToken?: number }> ): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:setUserOperation(operateAction: number, params: string): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:setUserOperation(operateAction: number, params: string): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'uiStateChange', callback: Callback<{ param: string }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'uiStateChange', callback: Callback<{ param: string }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:on(type: 'serviceDie', callback: () => void): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:on(type: 'serviceDie', callback: () => void): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'uiStateChange', callback?: Callback<{ param: string }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'uiStateChange', callback?: Callback<{ param: string }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |
权限有变化 | 类名:DeviceManager; 方法or属性:off(type: 'serviceDie', callback?: () => void): void; 旧版本信息: |
类名:DeviceManager; 方法or属性:off(type: 'serviceDie', callback?: () => void): void; 新版本信息:ohos.permission.ACCESS_SERVICE_DM |
@ohos.distributedHardware.deviceManager.d.ts |