overwolf.media.videos.deleteOldVideos
Overwolf APIs / overwolf / overwolf / media / videos / deleteOldVideos
function deleteOldVideos(
keepNewestXGbs: number,
callback: CallbackFunction<Result>,
): void;
Deletes all videos created by this app with an option to keep the newest X GBs (use with care).
Parameters
| Parameter | Type | Description |
|---|---|---|
keepNewestXGbs | number | Keep the newest X GBs of videos. Pass 0 to delete all videos. |
callback | CallbackFunction<Result> | A callback function which will be called with the status of the request. |
Returns
void