android-components / org.mozilla.telemetry.config / TelemetryConfiguration / setMaximumNumberOfPingsPerType

setMaximumNumberOfPingsPerType

open fun setMaximumNumberOfPingsPerType(maximumNumberOfPingsPerType: Int): TelemetryConfiguration (source)

Set the maximum number of pings that will be stored for a given ping type. If more types are in the local store then pings will be removed (oldest first). For this to happen the maximum needs to be reached without any successful upload.