Functions

Link copied to clipboard
abstract fun clear()

Clears any cache or persisted data from a previous run.

Link copied to clipboard
abstract fun dismissLostDevices(scanContext: ScanContext, actionTimeMillis: Long)

Called by the scan engine at regular intervals to allow the plugin to take action about possible devices not seen since too long.

Link copied to clipboard
abstract fun process(btDevice: BluetoothDevice, rssi: Int, scanRecord: ScanRecord): Boolean

Called by the scan engine to propose a scan record for recognition and analysis.

Link copied to clipboard
abstract fun setDeviceFilters(filters: List<DeviceFilter>)

Sets filters.