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

Method send_swipe

packages/server/src/android.rs:435–445  ·  view source on GitHub ↗
(
        &self,
        id: &str,
        start_x: f64,
        start_y: f64,
        end_x: f64,
        end_y: f64,
        duration_ms: u64,
    )

Source from the content-addressed store, hash-verified

433 }
434
435 pub fn send_swipe(
436 &self,
437 id: &str,
438 start_x: f64,
439 start_y: f64,
440 end_x: f64,
441 end_y: f64,
442 duration_ms: u64,
443 ) -> Result<(), AppError> {
444 self.send_swipe_adb(id, start_x, start_y, end_x, end_y, duration_ms)
445 }
446
447 fn send_swipe_adb(
448 &self,

Callers 2

perform_scroll_inputFunction · 0.80
run_batch_stepFunction · 0.80

Calls 1

send_swipe_adbMethod · 0.80

Tested by

no test coverage detected