Interface AntPlusWeightScalePcc.IBasicMeasurementFinishedReceiver

Enclosing class:
AntPlusWeightScalePcc

public static interface AntPlusWeightScalePcc.IBasicMeasurementFinishedReceiver
Receiver for the BasicMeasurementFinished event, which is: Receives the result of a basic measurement request.
  • Method Details

    • onBasicMeasurementFinished

      void onBasicMeasurementFinished(long estTimestamp, EnumSet<EventFlag> eventFlags, AntPlusWeightScalePcc.WeightScaleRequestStatus status, BigDecimal bodyWeight)
      Receives the data from a BasicMeasurementFinished event.
      Parameters:
      estTimestamp - The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.
      eventFlags - Informational flags about the event.
      status - The AntPlusWeightScalePcc.WeightScaleRequestStatus defining the result of the measurement task.
      bodyWeight - Body weight value, -1 = 'Invalid', null if request was unsuccessful. Units: Kg.