DisplayCollector

Collector to collect Display 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
private 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 getDisplayDimensions(context: Context): Point
Link copied to clipboard
open fun getName(): String
Retrieve the name of the Collector
Link copied to clipboard
private open fun getOrientation(context: Context): Integer
Link copied to clipboard
abstract fun intercept(chain: Interceptor.Chain, data: T)
open fun intercept(chain: Interceptor.Chain, data: JSONObject)
Intercept the chain