Skip to main content

overwolf.media.getScreenshotUrl

Overwolf APIs / overwolf / overwolf / media / getScreenshotUrl

function getScreenshotUrl(
screenshotParams: MemoryScreenshotParams,
callback: CallbackFunction<FileResult>,
): void;

Takes a memory screenshot and calls the callback with the success status and the screenshot URL. The screenshot will only be placed in the memory and will not be saved to a file (better performance). Can only be used while in a game.

Parameters

ParameterTypeDescription
screenshotParamsMemoryScreenshotParamsA JSON containing the parameters of the screenshot.
callbackCallbackFunction<FileResult>A function called after the screenshot was taken.

Returns

void