PlatformCollector

Collector to collect Platform information

Constructors

Link copied to clipboard
constructor()

Properties

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
open fun collect(context: Context): JSONObject

open fun collect(context: Context, listener: FRListener<JSONObject>)
Collect the device data.
Link copied to clipboard
private open fun getCurrentLocale(context: Context): Locale
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
Link copied to clipboard
private open fun isRooted(context: Context): Double