android-components / org.mozilla.telemetry.storage / FileTelemetryStorage

FileTelemetryStorage

open class FileTelemetryStorage : TelemetryStorage (source)

TelemetryStorage implementation that stores pings as files on disk.

Constructors

Name Summary
<init> FileTelemetryStorage(configuration: TelemetryConfiguration, serializer: TelemetryPingSerializer)

Functions

Name Summary
countStoredPings open fun countStoredPings(pingType: String): Int
process open fun process(pingType: String, callback: TelemetryStorageCallback): Boolean
store open fun store(ping: TelemetryPing): Unit