android-components / mozilla.components.service.fretboard / ValuesProvider

ValuesProvider

open class ValuesProvider (source)

Class used to provide custom filter values

Constructors

<init>

ValuesProvider()

Class used to provide custom filter values

Functions

getAppId

open fun getAppId(context: Context): String

Provides the app id (package name)

getClientId

open fun getClientId(context: Context): String

Provides the client ID (UUID) used for bucketing the users.

getCountry

open fun getCountry(context: Context): String

Provides the user's country

getDevice

open fun getDevice(context: Context): String

Provides the device model

getLanguage

open fun getLanguage(context: Context): String

Provides the user's language

getManufacturer

open fun getManufacturer(context: Context): String

Provides the device manufacturer

getRegion

open fun getRegion(context: Context): String?

Provides the user's region

getReleaseChannel

open fun getReleaseChannel(context: Context): String?

Provides the app's release channel (alpha, beta, ...)

getVersion

open fun getVersion(context: Context): String

Provides the app version