ClearBrowsingDataInTimeRange
Interface AntViewProfile
Type: Method
Parameters: TxBrowsingDataKinds dataKinds datetime startTime datetime endTime
Returns: nothing
Clears all browsing data for the current profile, the selected dataKind(s) and selected timeRange as determined by startTime and endTime.
WebView2 itself adds -1 to the startTime and +1 to the endTime, so that the fractional seconds are included in the time range.
You can combine the various dataKinds and pass them as one using a bitwise or operation.
eg.
dataKinds = (bdkIndexedDb Or bdkLocalStorage)
to pass clear browsing data for both the IndexedDb as well as localStorage in one go.
This will trigger OnClearBrowsingCompleted when finished.
Introduced in AntView release 2.0.459
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/30/2024