NavigationHistory

Functions

Link copied to clipboard
abstract suspend fun clearHistory()

Clears all history entries.

Link copied to clipboard
abstract fun getHistorySingle(): Single<List<HistoryEntry>>

Retrieves all HistoryEntry.

Link copied to clipboard
abstract suspend fun hasHistory(): Boolean

Returns if the user has any HistoryEntry

Link copied to clipboard

Returns whether the history feature is available through RC.

Link copied to clipboard
abstract suspend fun isHistoryUserEnabled(): Boolean

Returns whether the history is enabled by the user.

Link copied to clipboard
abstract suspend fun removeHistoryEntryByQuery(query: String)

Removes a history entry by query.

Link copied to clipboard
abstract suspend fun removeHistoryEntryByUrl(url: String)

Removes a history entry by URL.

Link copied to clipboard
abstract suspend fun saveToHistory(url: String, title: String?)

Stores a history entry.

Link copied to clipboard
abstract suspend fun setHistoryUserEnabled(value: Boolean)

Sets whether the history is enabled by the user.