BluetoothCollector

Collector to collect device Bluetooth information

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val TAG: String
val TAG: String

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
private open fun getMacAddress(context: Context): String
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 isSupported(context: Context): Boolean