Skip to main content

overwolf.windows.isAccelreatedOSR

Overwolf APIs / overwolf / overwolf / windows / isAccelreatedOSR

Call Signature

function isAccelreatedOSR(
windowId: string,
callback: CallbackFunction<IsAccelreatedOSRResult>,
): void;

For OSR window only (for other window the callback return error status. { "status": string (|error, success|), "reason": string (error reason), "accelerated": bool, "optimized" : bool (for accelerated windows only and only valid in Game) }

Parameters

ParameterTypeDescription
windowIdstringThe id or name of the window.
callbackCallbackFunction<IsAccelreatedOSRResult>Called with the result of the request.

Returns

void

Call Signature

function isAccelreatedOSR(
callback: CallbackFunction<IsAccelreatedOSRResult>,
): void;

Is current window accelerated

Parameters

ParameterTypeDescription
callbackCallbackFunction<IsAccelreatedOSRResult>Called with the result of the request.

Returns

void