android-components / mozilla.components.concept.engine.history / HistoryTrackingDelegate / shouldStoreUri

shouldStoreUri

abstract fun shouldStoreUri(uri: String): Boolean (source)

Allows an engine to check if this URI is going to be accepted by the delegate. This helps avoid unnecessary coroutine overhead for URIs which won’t be accepted.