( udid: string, )
| 168 | } |
| 169 | |
| 170 | export function startSimulatorScreenRecording( |
| 171 | udid: string, |
| 172 | ): Promise<ScreenRecordingStartResponse> { |
| 173 | return apiRequest<ScreenRecordingStartResponse>( |
| 174 | `/api/simulators/${encodeURIComponent(udid)}/screen-recording/start`, |
| 175 | { |
| 176 | method: "POST", |
| 177 | }, |
| 178 | ); |
| 179 | } |
| 180 | |
| 181 | export function stopSimulatorScreenRecording( |
| 182 | udid: string, |
no test coverage detected