MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / open_app_switcher

Method open_app_switcher

packages/server/src/android.rs:545–549  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

543 }
544
545 pub fn open_app_switcher(&self, id: &str) -> Result<(), AppError> {
546 let serial = self.serial_for_id(id)?;
547 self.run_adb(["-s", &serial, "shell", "input", "keyevent", "187"])?;
548 Ok(())
549 }
550
551 pub fn press_button(&self, id: &str, button: &str, duration_ms: u32) -> Result<(), AppError> {
552 match button {

Callers 1

mainFunction · 0.45

Calls 2

serial_for_idMethod · 0.80
run_adbMethod · 0.80

Tested by

no test coverage detected