FRDeviceCollector

Collector to collect Device information

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private open var collectors: List<DeviceCollector>
Link copied to clipboard
The Default Device Collector to retrieve the device attribute.
Link copied to clipboard
val TAG: String

Functions

Link copied to clipboard
open fun collect(context: Context, listener: FRListener<JSONObject>, container: JSONObject, collectors: List<DeviceCollector>)
Collect the device data with the provided DeviceCollector
private open fun collect(context: Context): JSONObject

open fun collect(context: Context, listener: FRListener<JSONObject>)
Collect the device data.
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