IPluginDeviceListener

Interface for a listener of device lifecycle events.

Parameters

D

The model for the kind of device to manage.

Functions

Link copied to clipboard
abstract fun onDiscovered(device: D)

Callback when a device is seen for the first time in a while.

Link copied to clipboard
abstract fun onLost(device: D)

Callback when a known device is not seen since a while.

Link copied to clipboard
abstract fun onUpdated(device: D)

Callback when a currently known device is seen again.