android-components / mozilla.components.browser.storage.memory / InMemoryHistoryStorage / getVisited

getVisited

fun getVisited(uris: List<String>, callback: (List<Boolean>) -> Unit): Unit (source)

Overrides HistoryStorage.getVisited

Maps a list of page URIs to a list of booleans indicating if each URI was visited.

Parameters

uris - a list of page URIs about which "visited" information is being requested.

callback - will be invoked with a list of booleans indicating visited status of each corresponding page URI from uris.

fun getVisited(callback: (List<String>) -> Unit): Unit (source)

Overrides HistoryStorage.getVisited

Retrieves a list of all visited pages.

Parameters

callback - will be invoked with a list of all visited page URIs.