open class Telemetry
(source)
Telemetry(configuration: TelemetryConfiguration, storage: TelemetryStorage, client: TelemetryClient, scheduler: TelemetryScheduler) |
open fun addPingBuilder(builder: TelemetryPingBuilder): Telemetry |
|
open fun getBuilders(): MutableCollection<TelemetryPingBuilder> |
|
open fun getClient(): TelemetryClient |
|
open fun getClientId(): String
Returns the unique client id for this installation (UUID). |
|
open fun getConfiguration(): TelemetryConfiguration |
|
open fun getStorage(): TelemetryStorage |
|
open fun queueEvent(event: TelemetryEvent): Telemetry |
|
open fun queuePing(pingType: String): Telemetry |
|
open fun recordActiveExperiments(activeExperimentsIds: MutableList<String>): Telemetry
Records the list of active experiments |
|
open fun recordExperiments(experiments: MutableMap<String, Boolean>): Telemetry
Records all experiments the client knows of in the event ping. |
|
open fun recordSearch(location: String, identifier: String): Telemetry
Record a search for the given location and search engine identifier. Common location values used by Fennec and Focus: actionbar: the user types in the url bar and hits enter to use the default search engine listitem: the user selects a search engine from the list of secondary search engines at the bottom of the screen suggestion: the user clicks on a search suggestion or, in the case that suggestions are disabled, the row corresponding with the main engine |
|
open fun recordSessionEnd(onFailure: () -> Unit): Telemetry open fun recordSessionEnd(): Telemetry |
|
open fun recordSessionStart(): Unit |
|
open fun scheduleUpload(): Telemetry |
|
open fun setDefaultSearchProvider(provider: DefaultSearchEngineProvider): Telemetry |