方法参考 download 必须使用带 fileSize 的方法: java DownloadFileResult result workspace.file().download( "/home/ctyun/remotedemo.bin", "C:/temp/remotedemo.bin", 12582912L ); 参数 类型 必填 说明 remotePath String 是 Workspace 源文件路径 localPath String 是 调用端保存路径 fileSize long 是 远端文件大小(字节),用于选择传输方式 download(remotePath, localPath) 会抛出 FILESIZEREQUIRED 异常。SDK 返回 remotePath、localPath、name、size、md5、contentType。示例: plaintext {"remotePath":"/home/ctyun/remotedemo.bin","localPath":"C:/temp/remotedemo.bin","name":"remotedemo.bin","size":12582912,"md5":" ","contentType":"application/octetstream"} Computer Use 连接 Workspace 后通过 workspace.gui() 调用图形界面操作,与 workspace.file() 平级。图形操作依赖连接返回的 Workspace JWT,未连接时抛出 JWTMISSING。 坐标均为屏幕像素,原点在目标机器主屏左上角,多显示器环境下可为负值。 除截图类方法外,方法统一返回 GuiActionResult: 字段 类型 说明 action String 动作名,如 MoveMouse output String 命令标准输出,通常为空 error String 命令错误输出,通常为空 isSuccess() 等价于 error 为空;服务端 resultCode ! 0 时直接抛出 AiuseException。 moveMouse java GuiActionResult result workspace.gui().moveMouse(640, 480); 参数 类型 必填 说明 positionX int 是 目标 X 坐标(像素) positionY int 是 目标 Y 坐标(像素)