mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-18 12:35:31 -04:00
@@ -184,7 +184,15 @@ export function mockDeviceManager() {
|
||||
}
|
||||
}
|
||||
const deviceManager = {
|
||||
deviceManagerMock,
|
||||
DeviceType,
|
||||
DeviceStateChangeAction,
|
||||
DiscoverMode,
|
||||
ExchangeMedium,
|
||||
ExchangeFreq,
|
||||
SubscribeCap,
|
||||
SubscribeInfo,
|
||||
AuthParam,
|
||||
AuthInfo,
|
||||
createDeviceManager: function (...args) {
|
||||
console.warn("distributedHardware.deviceManager.createDeviceManager interface mocked in the Previewer. How this interface works on the Previewer" +
|
||||
" may be different from that on a real device.")
|
||||
|
||||
Reference in New Issue
Block a user