android-components / org.mozilla.telemetry.measurement / SearchesMeasurement

SearchesMeasurement

open class SearchesMeasurement : TelemetryMeasurement (source)

A TelemetryMeasurement implementation to count the number of times a user has searched with a specific engine from a specific location.

Constructors

Name Summary
<init> SearchesMeasurement(configuration: TelemetryConfiguration)

Properties

Name Summary
LOCATION_ACTIONBAR static val LOCATION_ACTIONBAR: String
LOCATION_LISTITEM static val LOCATION_LISTITEM: String
LOCATION_SUGGESTION static val LOCATION_SUGGESTION: String

Functions

Name Summary
flush open fun flush(): Any
recordSearch open fun recordSearch(location: String, identifier: String): Unit
Record a search for the given location and search engine identifier.

Inherited Functions

Name Summary
getFieldName open fun getFieldName(): String