android-components / / SyncTelemetry


object SyncTelemetry (source)

Contains functionality necessary to process instances of SyncTelemetryPing.


Name Summary
processBookmarksPing fun processBookmarksPing(ping: SyncTelemetryPing, sendPing: () -> Unit = { Pings.bookmarksSync.submit() }): Boolean
Processes a bookmarks-related ping information from the ping.
processHistoryPing fun processHistoryPing(ping: SyncTelemetryPing, sendPing: () -> Unit = { Pings.historySync.submit() }): Boolean
Processes a history-related ping information from the ping.
processPasswordsPing fun processPasswordsPing(ping: SyncTelemetryPing, sendPing: () -> Unit = { Pings.loginsSync.submit() }): Boolean
Processes a passwords-related ping information from the ping.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.