feat: add adb screen record

This commit is contained in:
lilong.129
2025-03-06 16:57:51 +08:00
parent 5b503a4394
commit cc81c00a82
14 changed files with 159 additions and 43 deletions
+3 -4
View File
@@ -120,11 +120,10 @@ func (o *ActionOptions) Options() []ActionOption {
}
}
return options
}
options = append(options, o.GetScreenShotOptions()...)
options = append(options, o.GetScreenRecordOptions()...)
func (o *ActionOptions) GetScreenOptions() []ActionOption {
return o.ScreenOptions.Options()
return options
}
func (o *ActionOptions) ApplyOffset(absX, absY float64) (float64, float64) {