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

Function perform_tvos_touch_phase

packages/server/src/main.rs:5410–5419  ·  view source on GitHub ↗
(
    bridge: &NativeBridge,
    udid: &str,
    phase: &str,
)

Source from the content-addressed store, hash-verified

5408}
5409
5410fn perform_tvos_touch_phase(
5411 bridge: &NativeBridge,
5412 udid: &str,
5413 phase: &str,
5414) -> Result<(), crate::error::AppError> {
5415 if let Some(key_code) = tvos_remote_key_for_touch_phase(phase)? {
5416 press_tvos_remote_key(bridge, udid, key_code)?;
5417 }
5418 Ok(())
5419}
5420
5421fn perform_tvos_touch_command(
5422 bridge: &NativeBridge,

Callers 1

Calls 2

press_tvos_remote_keyFunction · 0.70

Tested by

no test coverage detected