android-components / mozilla.components.browser.engine.gecko / GeckoEngine / getTrackersLog

getTrackersLog

fun getTrackersLog(session: EngineSession, onSuccess: (List<TrackerLog>) -> Unit, onError: (Throwable) -> Unit): Unit (source)

Overrides Engine.getTrackersLog

Fetch a list of trackers logged for a given session .

Parameters

session - the session where the trackers were logged.

onSuccess - callback invoked if the data was fetched successfully.

onError - (optional) callback invoked if fetching the data caused an exception.