11 enum class TimeRequestType {
20 enum class KeyRequestType {
43 virtual bool click(
const int x,
const int y) = 0;
49 virtual bool click(
const int x,
const int y,
const unsigned int intv) = 0;
55 virtual bool drag(
const int sx,
const int sy,
const int ex,
const int ey,
56 const int steps,
const int durationMs) = 0;
62 virtual int touchDown(
const int x,
const int y) = 0;
68 virtual bool touchMove(
const int x,
const int y,
const int seq) = 0;
74 virtual bool touchUp(
const int x,
const int y,
const int seq) = 0;
81 virtual bool wheelUp(
int amount,
const int durationMs) = 0;
87 virtual bool wheelDown(
int amount,
const int durationMs) = 0;
93 virtual bool pressBack(KeyRequestType type) = 0;
99 virtual bool pressHome(KeyRequestType type) = 0;
105 virtual bool pressMenu(KeyRequestType type) = 0;
111 virtual bool pressVolUp(KeyRequestType type) = 0;
123 virtual bool pressPower(KeyRequestType type) = 0;
129 virtual bool pressKeyCode(std::string keycode, KeyRequestType type) = 0;
135 virtual bool takeScreenshot(std::string path,
float scale,
int quality) = 0;