MCPcopy Index your code
hub / github.com/EmulatorJS/EmulatorJS / takeScreenshot

Method takeScreenshot

data/src/emulator.js:6023–6029  ·  view source on GitHub ↗
(source, format, upscale)

Source from the content-addressed store, hash-verified

6021 }
6022
6023 async takeScreenshot(source, format, upscale) {
6024 return new Promise((resolve) => {
6025 this.screenshot((blob, format) => {
6026 resolve({ blob, format });
6027 }, source, format, upscale);
6028 });
6029 }
6030
6031 collectScreenRecordingMediaTracks(canvasEl, fps) {
6032 let videoTrack = null;

Callers 1

createBottomMenuBarMethod · 0.95

Calls 1

screenshotMethod · 0.95

Tested by

no test coverage detected