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

Method send_touch

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

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

is_tvosMethod · 0.80

Tested by

no test coverage detected