onComplete
abstract fun onComplete(result: FairmaticVehicleTaggingOperationResult, nearbyBeacons: MutableList<FairmaticScannedBeaconInfo>)
Invoked when the BLE scan is complete.
Parameters
result
The result of the beacon scanning operation. If the scanning is successful, FairmaticVehicleTaggingOperationResult.SUCCESS is returned, otherwise, one of the error codes is returned.
nearbyBeacons
nearbyBeacons - List of FairmaticScannedBeaconInfo found during the scan. The value is null if the operation finishes with a result other than FairmaticVehicleTaggingOperationResult.SUCCESS.