(&self, id: &str)
| 414 | } |
| 415 | |
| 416 | pub fn pasteboard_text(&self, id: &str) -> Result<String, AppError> { |
| 417 | let serial = self.serial_for_id(id)?; |
| 418 | let output = self.run_adb_shell(&serial, "cmd clipboard get")?; |
| 419 | ensure_android_clipboard_available(&output)?; |
| 420 | Ok(output.trim_end_matches(['\r', '\n']).to_owned()) |
| 421 | } |
| 422 | |
| 423 | pub fn send_touch(&self, id: &str, x: f64, y: f64, phase: &str) -> Result<(), AppError> { |
| 424 | let serial = self.serial_for_id(id)?; |
nothing calls this directly
no test coverage detected