SDKScannerResultListener

Listener for SDKDeviceScanService results

Types

Link copied to clipboard
sealed class ErrorType

Called when an error has occurred

Functions

Link copied to clipboard
abstract fun onDeviceListUpdated(list: List<SDKDevice>)

Called with the most updated list of devices found This will be called several times during the scan process

Link copied to clipboard
abstract fun onError(type: SDKScannerResultListener.ErrorType, message: String? = null)

Called with an error has occurred

Link copied to clipboard
abstract fun onScanFinish()

Called once the scan process has finished (either by timout or manually stopped)