Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class>)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun acceptResult(searchString: String, url: String)

url is a string and not a URL because accept_result handles malformed urls

Link copied to clipboard
open override fun applyObservation(visit: VisitObservation)
Link copied to clipboard
open override fun bookmarksCountBookmarksInTrees(folderGuids: List<Guid>): UInt

Counts the number of bookmarks in the bookmark tree under the specified GUID. Does not count the passed item, so an empty folder will return zero, as will a non-existing GUID or the guid of a non-folder item. Counts only bookmark items - ie, sub-folders and separators are not counted.

Link copied to clipboard
open override fun bookmarksDelete(id: Guid): Boolean
Link copied to clipboard
open override fun bookmarksDeleteEverything()
Link copied to clipboard
Link copied to clipboard
open override fun bookmarksGetByGuid(guid: Guid, getDirectChildren: Boolean): BookmarkItem?
Link copied to clipboard
open override fun bookmarksGetRecent(limit: Int): List<BookmarkItem>
Link copied to clipboard
open override fun bookmarksGetTree(itemGuid: Guid): BookmarkItem?
Link copied to clipboard
open override fun bookmarksGetUrlForKeyword(keyword: String): Url?
Link copied to clipboard
open override fun bookmarksInsert(bookmark: InsertableBookmarkItem): Guid
Link copied to clipboard
open override fun bookmarksSearch(query: String, limit: Int): List<BookmarkItem>
Link copied to clipboard
open override fun bookmarksUpdate(data: BookmarkUpdateInfo)
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun deleteEverythingHistory()
Link copied to clipboard
open override fun deleteVisit(url: String, timestamp: PlacesTimestamp)
Link copied to clipboard
open override fun deleteVisitsBetween(start: PlacesTimestamp, end: PlacesTimestamp)
Link copied to clipboard
open override fun deleteVisitsFor(url: String)
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getTopFrecentSiteInfos(numItems: Int, thresholdOption: FrecencyThresholdOption): List<TopFrecentSiteInfo>
Link copied to clipboard
open override fun getVisitCount(excludeTypes: VisitTransitionSet): Long
Link copied to clipboard
open override fun getVisited(urls: List<String>): List<Boolean>
Link copied to clipboard
open override fun getVisitedUrlsInRange(start: PlacesTimestamp, end: PlacesTimestamp, includeRemote: Boolean): List<Url>
Link copied to clipboard
open override fun getVisitInfos(startDate: PlacesTimestamp, endDate: PlacesTimestamp, excludeTypes: VisitTransitionSet): List<HistoryVisitInfo>
Link copied to clipboard
open override fun getVisitPage(offset: Long, count: Long, excludeTypes: VisitTransitionSet): List<HistoryVisitInfo>
Link copied to clipboard
open override fun getVisitPageWithBound(bound: Long, offset: Long, count: Long, excludeTypes: VisitTransitionSet): HistoryVisitInfosWithBound
Link copied to clipboard
open override fun matchUrl(query: String): Url?
Link copied to clipboard
open override fun metadataDelete(url: Url, referrerUrl: Url?, searchTerm: String?)
Link copied to clipboard
open override fun metadataDeleteOlderThan(olderThan: PlacesTimestamp)
Link copied to clipboard
Link copied to clipboard
open override fun placesHistoryImportFromIos(dbPath: String, lastSyncTimestamp: Long): HistoryMigrationResult
Link copied to clipboard
open override fun queryAutocomplete(search: String, limit: Int): List<SearchResult>
Link copied to clipboard
open override fun queryHistoryMetadata(query: String, limit: Int): List<HistoryMetadata>
Link copied to clipboard
open override fun runMaintenanceCheckpoint()

Run maintenance on the places DB (checkpoint step)

Link copied to clipboard
open override fun runMaintenanceOptimize()

Run maintenance on the places DB (optimize step)

Link copied to clipboard
open override fun runMaintenancePrune(dbSizeLimit: UInt, pruneLimit: UInt): RunMaintenanceMetrics

Run maintenance on the places DB (prune step)

Link copied to clipboard
open override fun runMaintenanceVacuum()

Run maintenance on the places DB (vacuum step)

Link copied to clipboard
fun uniffiClonePointer(): <Error class: unknown class>