onDeviceResult

public abstract Unit onDeviceResult(CommandStatus status, Map<ScanMode, IMeasurementData> measurements)

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.