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 explore(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 provideExtras(btDevice: BluetoothDevice): Map<String, String>?

Called by the scan engine during the frame processing of standard processors to give the plugin the opportunity to enrich the analysis with additional custom fields.

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

Sets filters.