MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / init

Method init

source/MaaAdbControlUnit/EmulatorExtras/AndrowsExtras.cpp:66–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66bool AndrowsExtras::init()
67{
68 if (!query_display_id()) {
69 return false;
70 }
71
72 // If no agent_path is provided, this instance is screencap-only; skip minitouch setup.
73 if (agent_path_.empty()) {
74 return true;
75 }
76
77 if (!query_event_id()) {
78 return false;
79 }
80 return init_minitouch();
81}
82
83std::optional<cv::Mat> AndrowsExtras::screencap()
84{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected