Add apis for capture and replay of events

This commit is contained in:
2022-07-17 20:40:33 -07:00
parent dc38b15f23
commit 21240911e3
2 changed files with 97 additions and 0 deletions

View File

@@ -15,6 +15,12 @@ func (d Device) Shell(ctx context.Context, command string) (stdout string, stder
return "", "", 1, nil
}
// adb shell wm size
// Physical size: 1440x3120
func (d Device) GetScreenResolution(ctx context.Context) (width int, lenght int, err error) {
return 0, 0, nil
}
func (d Device) Tap(ctx context.Context, X, Y int) error {
return nil
}