Skip to main content

overwolf.windows.getWindowState

Overwolf APIs / overwolf / overwolf / windows / getWindowState

function getWindowState(
windowId: string,
callback: CallbackFunction<GetWindowStateResult>,
): void;

Returns the state of the window (normal/minimized/maximized/closed).

Parameters

ParameterTypeDescription
windowIdstringThe id or name of the window.
callbackCallbackFunction<GetWindowStateResult>Called with the window state.

Returns

void