Places Connection Interface
Functions
Link copied to clipboard
url
is a string
and not a URL
because accept_result
handles malformed urls
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getHistoryHighlights(weights: HistoryHighlightWeights, limit: Int): List<HistoryHighlight>
Link copied to clipboard
abstract fun getHistoryMetadataBetween(start: PlacesTimestamp, end: PlacesTimestamp): List<HistoryMetadata>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getTopFrecentSiteInfos(numItems: Int, thresholdOption: FrecencyThresholdOption): List<TopFrecentSiteInfo>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getVisitedUrlsInRange(start: PlacesTimestamp, end: PlacesTimestamp, includeRemote: Boolean): List<Url>
Link copied to clipboard
abstract fun getVisitInfos(startDate: PlacesTimestamp, endDate: PlacesTimestamp, excludeTypes: VisitTransitionSet): List<HistoryVisitInfo>
Link copied to clipboard
abstract fun getVisitPage(offset: Long, count: Long, excludeTypes: VisitTransitionSet): List<HistoryVisitInfo>
Link copied to clipboard
abstract fun getVisitPageWithBound(bound: Long, offset: Long, count: Long, excludeTypes: VisitTransitionSet): HistoryVisitInfosWithBound
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun noteHistoryMetadataObservation(data: HistoryMetadataObservation, options: NoteHistoryMetadataObservationOptions)
Link copied to clipboard
abstract fun placesHistoryImportFromIos(dbPath: String, lastSyncTimestamp: Long): HistoryMigrationResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Run maintenance on the places DB (checkpoint step)
Link copied to clipboard
Run maintenance on the places DB (optimize step)
Link copied to clipboard
Run maintenance on the places DB (prune step)
Link copied to clipboard
Run maintenance on the places DB (vacuum step)