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

Function buildChromeButtonUrl

packages/client/src/app/AppShell.tsx:173–184  ·  view source on GitHub ↗
(
  udid: string,
  button: string,
  pressed: boolean,
  stamp: string,
)

Source from the content-addressed store, hash-verified

171}
172
173function buildChromeButtonUrl(
174 udid: string,
175 button: string,
176 pressed: boolean,
177 stamp: string,
178): string {
179 return buildAuthenticatedAssetUrl(
180 `/api/simulators/${udid}/chrome-button/${encodeURIComponent(button)}.png`,
181 stamp,
182 pressed ? { pressed: "true" } : undefined,
183 );
184}
185
186function buildScreenMaskUrl(udid: string, stamp: string): string {
187 return buildAuthenticatedAssetUrl(

Callers 1

AppShellFunction · 0.85

Calls 1

Tested by

no test coverage detected