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

<init>

SearchesMeasurement(configuration: TelemetryConfiguration)

Properties

LOCATION_ACTIONBAR

static val LOCATION_ACTIONBAR: String

LOCATION_LISTITEM

static val LOCATION_LISTITEM: String

LOCATION_SUGGESTION

static val LOCATION_SUGGESTION: String

Functions

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

getFieldName

open fun getFieldName(): String