onDeviceResult

abstract fun onDeviceResult(status: CommandStatus, measurements: Map<ScanMode, IMeasurementData>? = null)

Called after an asynchronous command is completed

Parameters

status

Status code of the completed command. CommandStatus.SUCCESS for a successful operation

measurements

Map of measurement results, if applicable. Value is null if the command does not provide any measurement results, or if the operation was not successful.