(&self, x: f64, y: f64, phase: &str)
| 294 | } |
| 295 | |
| 296 | pub fn send_touch(&self, x: f64, y: f64, phase: &str) -> Result<(), AppError> { |
| 297 | if self.is_tvos() { |
| 298 | return Err(AppError::bad_request( |
| 299 | "tvOS simulators do not support direct screen touch. Use Enter and arrow keys instead.", |
| 300 | )); |
| 301 | } |
| 302 | self.inner.native.send_touch(x, y, phase) |
| 303 | } |
| 304 | |
| 305 | pub fn send_edge_touch(&self, x: f64, y: f64, phase: &str, edge: u32) -> Result<(), AppError> { |
| 306 | if self.is_tvos() { |