BrowserCollector

Collector to collect device Browser information

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val TAG: String
Link copied to clipboard
private val USER_AGENT: String = "userAgent"

Functions

Link copied to clipboard
open fun collect(context: Context): JSONObject

open fun collect(context: Context, listener: FRListener<JSONObject>)
Collect the device data.
open fun collect(context: Context, listener: FRListener<JSONObject>, container: JSONObject, collectors: List<DeviceCollector>)
Collect the device data with the provided DeviceCollector
Link copied to clipboard
open fun getName(): String
Retrieve the name of the Collector
Link copied to clipboard
abstract fun intercept(chain: Interceptor.Chain, data: T)
open fun intercept(chain: Interceptor.Chain, data: JSONObject)
Intercept the chain