MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / send_edge_touch

Method send_edge_touch

packages/server/src/simulators/session.rs:305–312  ·  view source on GitHub ↗
(&self, x: f64, y: f64, phase: &str, edge: u32)

Source from the content-addressed store, hash-verified

303 }
304
305 pub fn send_edge_touch(&self, x: f64, y: f64, phase: &str, edge: u32) -> Result<(), AppError> {
306 if self.is_tvos() {
307 return Err(AppError::bad_request(
308 "tvOS simulators do not support direct screen touch. Use Enter and arrow keys instead.",
309 ));
310 }
311 self.inner.native.send_edge_touch(x, y, phase, edge)
312 }
313
314 pub fn send_multitouch(
315 &self,

Callers

nothing calls this directly

Calls 1

is_tvosMethod · 0.80

Tested by

no test coverage detected