android-components / mozilla.components.support.sync.telemetry / SyncTelemetry

SyncTelemetry

object SyncTelemetry (source)

Contains functionality necessary to process instances of SyncTelemetryPing.

Functions

Name Summary
processBookmarksPing fun processBookmarksPing(ping: SyncTelemetryPing, sendPing: () -> Unit = { Pings.bookmarksSync.send() }): Boolean
Processes a bookmarks-related ping information from the ping.
processHistoryPing fun processHistoryPing(ping: SyncTelemetryPing, sendPing: () -> Unit = { Pings.historySync.send() }): Boolean
Processes a history-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.