harmony 鸿蒙js-apidiff-distributed-hardware

  • 2023-10-30
  • 浏览 (136)

Change Type Old Version New Version d.ts File
Added NA Class name: distributedDeviceManager;
Method or attribute name: function createDeviceManager(bundleName: string): DeviceManager;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: distributedDeviceManager;
Method or attribute name: function releaseDeviceManager(deviceManager: DeviceManager): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceBasicInfo;
Method or attribute name: deviceId: string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceBasicInfo;
Method or attribute name: deviceName: string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceBasicInfo;
Method or attribute name: deviceType: string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceBasicInfo;
Method or attribute name: networkId?: string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceStateChange;
Method or attribute name: UNKNOWN = 0
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceStateChange;
Method or attribute name: AVAILABLE = 1
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceStateChange;
Method or attribute name: UNAVAILABLE = 2
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getAvailableDeviceListSync(): Array<DeviceBasicInfo>;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getAvailableDeviceList(callback: AsyncCallback<Array<DeviceBasicInfo>>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getAvailableDeviceList(): Promise<Array<DeviceBasicInfo>>;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getLocalDeviceNetworkId(): string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getLocalDeviceName(): string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getLocalDeviceType(): number;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getLocalDeviceId(): string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getDeviceName(networkId: string): string;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getDeviceType(networkId: string): number;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: stopDiscovering(): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback<{deviceId: string}>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: unbindTarget(deviceId: string): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: replyUiAction(action: number, actionResult: string): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverSuccess’, callback: Callback<{ device: DeviceBasicInfo }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceNameChange’, callback: Callback<{ deviceName: string }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverFailure’, callback: Callback<{ reason: number }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘serviceDie’, callback?: Callback<{}>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: on(type: ‘replyResult’, callback: Callback<{ param: string }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverSuccess’, callback?: Callback<{ device: DeviceBasicInfo }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceNameChange’, callback?: Callback<{ deviceName: string }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverFailure’, callback?: Callback<{ reason: number }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘serviceDie’, callback?: Callback<{}>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: off(type: ‘replyResult’, callback?: Callback<{ param: string }>): void;
@ohos.distributedDeviceManager.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: authForm: AuthForm;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: AuthForm;
Method or attribute name: INVALID_TYPE = -1
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: AuthForm;
Method or attribute name: PEER_TO_PEER = 0
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: AuthForm;
Method or attribute name: IDENTICAL_ACCOUNT = 1
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: AuthForm;
Method or attribute name: ACROSS_ACCOUNT = 2
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(isRefresh: boolean): Array<DeviceInfo>;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string): Promise<DeviceInfo>;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void;
@ohos.distributedHardware.deviceManager.d.ts
Added NA Class name: DeviceManager;
Method or attribute name: deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void;
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: deviceManager;
Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void;
Old version information: 401
Class name: deviceManager;
Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: release(): void;
Old version information: 11600101
Class name: DeviceManager;
Method or attribute name: release(): void;
New version information: 202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>;
Old version information: 401, 11600101
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>;
New version information: 202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void;
New version information: 202,401
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>;
New version information: 202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
Old version information: 401, 11600101
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
New version information: 202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>;
New version information: 202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
Old version information: 401,201, 11600104, 11600101
Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
New version information: 401,202,201, 11600104, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
Old version information: 401,201, 11600104, 11600101
Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
New version information: 401,202,201, 11600104, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
Old version information: 401,201, 11600101
Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
New version information: 401,202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
Old version information: 401,201, 11600105, 11600101
Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
New version information: 401,202,201, 11600105, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
Old version information: 401,201, 11600101
Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
New version information: 401,202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback<{ deviceId: string, pinToken?: number }>
): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback<{ deviceId: string, pinToken?: number }>
): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
Old version information: 401,201, 11600101
Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
New version information: 401,202,201, 11600101
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
New version information: 401,202,201
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘uiStateChange’, callback: Callback<{ param: string }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘uiStateChange’, callback: Callback<{ param: string }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘publishSuccess’, callback: Callback<{ publishId: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘publishSuccess’, callback: Callback<{ publishId: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘publishFail’, callback: Callback<{ publishId: number, reason: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘publishFail’, callback: Callback<{ publishId: number, reason: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘uiStateChange’, callback?: Callback<{ param: string }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘uiStateChange’, callback?: Callback<{ param: string }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘publishSuccess’, callback?: Callback<{ publishId: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘publishSuccess’, callback?: Callback<{ publishId: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘publishFail’, callback?: Callback<{ publishId: number, reason: number }>): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘publishFail’, callback?: Callback<{ publishId: number, reason: number }>): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Error code changed Class name: DeviceManager;
Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void;
Old version information: 401
Class name: DeviceManager;
Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void;
New version information: 401,202
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceInfo;
Method or attribute name: deviceId: string;
Old version information:
Class name: DeviceInfo;
Method or attribute name: deviceId: string;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceInfo;
Method or attribute name: deviceName: string;
Old version information:
Class name: DeviceInfo;
Method or attribute name: deviceName: string;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;
Old version information:
Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceInfo;
Method or attribute name: networkId: string;
Old version information:
Class name: DeviceInfo;
Method or attribute name: networkId: string;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceInfo;
Method or attribute name: range: number;
Old version information:
Class name: DeviceInfo;
Method or attribute name: range: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: UNKNOWN_TYPE = 0
Old version information:
Class name: DeviceType;
Method or attribute name: UNKNOWN_TYPE = 0
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: SPEAKER = 0x0A
Old version information:
Class name: DeviceType;
Method or attribute name: SPEAKER = 0x0A
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: PHONE = 0x0E
Old version information:
Class name: DeviceType;
Method or attribute name: PHONE = 0x0E
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: TABLET = 0x11
Old version information:
Class name: DeviceType;
Method or attribute name: TABLET = 0x11
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: WEARABLE = 0x6D
Old version information:
Class name: DeviceType;
Method or attribute name: WEARABLE = 0x6D
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: CAR = 0x83
Old version information:
Class name: DeviceType;
Method or attribute name: CAR = 0x83
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: TV = 0x9C
Old version information:
Class name: DeviceType;
Method or attribute name: TV = 0x9C
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceStateChangeAction;
Method or attribute name: ONLINE = 0
Old version information:
Class name: DeviceStateChangeAction;
Method or attribute name: ONLINE = 0
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceStateChangeAction;
Method or attribute name: READY = 1
Old version information:
Class name: DeviceStateChangeAction;
Method or attribute name: READY = 1
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceStateChangeAction;
Method or attribute name: OFFLINE = 2
Old version information:
Class name: DeviceStateChangeAction;
Method or attribute name: OFFLINE = 2
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DeviceStateChangeAction;
Method or attribute name: CHANGE = 3
Old version information:
Class name: DeviceStateChangeAction;
Method or attribute name: CHANGE = 3
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: subscribeId: number;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: subscribeId: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: mode: DiscoverMode;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: mode: DiscoverMode;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: PublishInfo;
Method or attribute name: mode: DiscoverMode;
Old version information:
Class name: PublishInfo;
Method or attribute name: mode: DiscoverMode;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: medium: ExchangeMedium;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: medium: ExchangeMedium;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: freq: ExchangeFreq;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: freq: ExchangeFreq;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: PublishInfo;
Method or attribute name: freq: ExchangeFreq;
Old version information:
Class name: PublishInfo;
Method or attribute name: freq: ExchangeFreq;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: isSameAccount: boolean;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: isSameAccount: boolean;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: isWakeRemote: boolean;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: isWakeRemote: boolean;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeInfo;
Method or attribute name: capability: SubscribeCap;
Old version information:
Class name: SubscribeInfo;
Method or attribute name: capability: SubscribeCap;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: PublishInfo;
Method or attribute name: publishId: number;
Old version information:
Class name: PublishInfo;
Method or attribute name: publishId: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: PublishInfo;
Method or attribute name: ranging: boolean;
Old version information:
Class name: PublishInfo;
Method or attribute name: ranging: boolean;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_PASSIVE = 0x55
Old version information:
Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_PASSIVE = 0x55
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_ACTIVE = 0xAA
Old version information:
Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_ACTIVE = 0xAA
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeMedium;
Method or attribute name: AUTO = 0
Old version information:
Class name: ExchangeMedium;
Method or attribute name: AUTO = 0
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeMedium;
Method or attribute name: BLE = 1
Old version information:
Class name: ExchangeMedium;
Method or attribute name: BLE = 1
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeMedium;
Method or attribute name: COAP = 2
Old version information:
Class name: ExchangeMedium;
Method or attribute name: COAP = 2
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeMedium;
Method or attribute name: USB = 3
Old version information:
Class name: ExchangeMedium;
Method or attribute name: USB = 3
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeFreq;
Method or attribute name: LOW = 0
Old version information:
Class name: ExchangeFreq;
Method or attribute name: LOW = 0
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeFreq;
Method or attribute name: MID = 1
Old version information:
Class name: ExchangeFreq;
Method or attribute name: MID = 1
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeFreq;
Method or attribute name: HIGH = 2
Old version information:
Class name: ExchangeFreq;
Method or attribute name: HIGH = 2
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: ExchangeFreq;
Method or attribute name: SUPER_HIGH = 3
Old version information:
Class name: ExchangeFreq;
Method or attribute name: SUPER_HIGH = 3
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_DDMP = 0
Old version information:
Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_DDMP = 0
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_OSD = 1
Old version information:
Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_OSD = 1
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: AuthParam;
Method or attribute name: authType: number;
Old version information:
Class name: AuthParam;
Method or attribute name: authType: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: AuthInfo;
Method or attribute name: authType: number;
Old version information:
Class name: AuthInfo;
Method or attribute name: authType: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: AuthParam;
Method or attribute name: extraInfo: { [key: string]: any };
Old version information:
Class name: AuthParam;
Method or attribute name: extraInfo: { [key: string]: any };
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: AuthInfo;
Method or attribute name: extraInfo: { [key: string]: any };
Old version information:
Class name: AuthInfo;
Method or attribute name: extraInfo: { [key: string]: any };
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Access level changed Class name: AuthInfo;
Method or attribute name: token: number;
Old version information:
Class name: AuthInfo;
Method or attribute name: token: number;
New version information: systemapi
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: release(): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: release(): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>;
Old version information:
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array<DeviceInfo>;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>;
Old version information:
Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise<Array<DeviceInfo>>;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
Old version information:
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>;
Old version information:
Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise<DeviceInfo>;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback<{ deviceId: string, pinToken?: number }>
): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback<{ deviceId: string, pinToken?: number }>
): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘uiStateChange’, callback: Callback<{ param: string }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘uiStateChange’, callback: Callback<{ param: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘deviceFound’, callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘discoverFail’, callback: Callback<{ subscribeId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘publishSuccess’, callback: Callback<{ publishId: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘publishSuccess’, callback: Callback<{ publishId: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘publishFail’, callback: Callback<{ publishId: number, reason: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘publishFail’, callback: Callback<{ publishId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: on(type: ‘serviceDie’, callback: () => void): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘uiStateChange’, callback?: Callback<{ param: string }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘uiStateChange’, callback?: Callback<{ param: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘deviceFound’, callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘discoverFail’, callback?: Callback<{ subscribeId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘publishSuccess’, callback?: Callback<{ publishId: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘publishSuccess’, callback?: Callback<{ publishId: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘publishFail’, callback?: Callback<{ publishId: number, reason: number }>): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘publishFail’, callback?: Callback<{ publishId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts
Permission changed Class name: DeviceManager;
Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void;
Old version information:
Class name: DeviceManager;
Method or attribute name: off(type: ‘serviceDie’, callback?: () => void): void;
New version information: ohos.permission.ACCESS_SERVICE_DM
@ohos.distributedHardware.deviceManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞