Skip to main content

overwolf.windows.mediaplayerelement.getProgress

Overwolf APIs / overwolf / overwolf / windows / mediaPlayerElement / getProgress

function getProgress(
id: number,
callback: CallbackFunction<GetProgressResult>,
): void;

Gets the current progress, in seconds, of the playback.

Parameters

ParameterTypeDescription
idnumberThe id of the player.
callbackCallbackFunction<GetProgressResult>A callback function which will be called with the status of the request.

Returns

void