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

Function recordSimulatorScreen

packages/client/src/api/controls.ts:157–168  ·  view source on GitHub ↗
(
  udid: string,
  seconds = 5,
)

Source from the content-addressed store, hash-verified

155}
156
157export function recordSimulatorScreen(
158 udid: string,
159 seconds = 5,
160): Promise<Blob> {
161 return fetchSimulatorBlob(
162 `/api/simulators/${encodeURIComponent(udid)}/screen-recording`,
163 {
164 body: JSON.stringify({ seconds }),
165 method: "POST",
166 },
167 );
168}
169
170export function startSimulatorScreenRecording(
171 udid: string,

Callers

nothing calls this directly

Calls 1

fetchSimulatorBlobFunction · 0.85

Tested by

no test coverage detected