Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CatMuse/HiNote
/ constructor
Method
constructor
src/views/managers/DeviceManager.ts:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
private onDeviceChangeCallback: ((deviceInfo: DeviceInfo) => void) | null = null;
17
18
constructor() {
19
this.updateDeviceInfo();
20
}
21
22
/**
23
* 设置设备变化回调
Callers
nothing calls this directly
Calls
1
updateDeviceInfo
Method · 0.95
Tested by
no test coverage detected