Skip to main content

overwolf.media.replays.getState

Overwolf APIs / overwolf / overwolf / media / replays / getState

Call Signature​

function getState(callback: CallbackFunction<GetStateResult>): void;

Returns whether replay capturing is turned on or off.

Parameters​

ParameterTypeDescription
callbackCallbackFunction<GetStateResult>A callback function which will be called with the status of the request.

Returns​

void

Call Signature​

function getState(
replayType: Video,
callback: CallbackFunction<GetStateResult>,
): void;

Returns whether replay capturing is turned on or off.

Parameters​

ParameterTypeDescription
replayTypeVideoThe type of replay to get state for.
callbackCallbackFunction<GetStateResult>A callback function which will be called with the status of the request.

Returns​

void

Deprecated​

Since version 0.155.