NEW: add service to check network state

Change-Id: Ic2072d0e141767d3acc617f6011ca62eccaf6278
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2023-04-13 17:09:16 +08:00 committed by Lane.Wei
parent 80a3e17663
commit cb5f7843c0
4 changed files with 92 additions and 0 deletions

View file

@ -178,6 +178,7 @@ public:
int track_event(std::string evt_key, std::string content);
int track_header(std::string header);
int track_update_property(std::string name, std::string value, std::string type = "string");
bool get_track_enable() { return enable_track; }
private:
bool enable_track = false;
void* network_agent { nullptr };