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

Function accessibility_snapshot

packages/server/src/api/routes.rs:5570–5577  ·  view source on GitHub ↗
(
    state: AppState,
    udid: String,
    point: Option<(f64, f64)>,
    max_depth: Option<usize>,
)

Source from the content-addressed store, hash-verified

5568}
5569
5570async fn accessibility_snapshot(
5571 state: AppState,
5572 udid: String,
5573 point: Option<(f64, f64)>,
5574 max_depth: Option<usize>,
5575) -> Result<Value, AppError> {
5576 accessibility_snapshot_with_retries(state, udid, point, max_depth, false).await
5577}
5578
5579async fn accessibility_snapshot_with_retries(
5580 state: AppState,