MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / isScanActive

Method isScanActive

dependencies/hueplusplus-1.0.0/src/NewDeviceList.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 return !lastScan.empty() && lastScan != "none" && lastScan != "active";
36}
37bool NewDeviceList::isScanActive()
38{
39 return lastScan == "active";
40}
41time::AbsoluteTime NewDeviceList::getLastScanTime() const
42{
43 return time::AbsoluteTime::parseUTC(lastScan); // UTC? not clear in docs

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64