-
- All Implemented Interfaces:
-
no.nordicsemi.android.ble.common.profile.bp.BloodPressureTypes
public interface BloodPressureMeasurementCallback implements BloodPressureTypes
-
-
Method Summary
Modifier and Type Method Description abstract voidonBloodPressureMeasurementReceived(@NonNull() BluetoothDevice device, @FloatRange(from = 0) float systolic, @FloatRange(from = 0) float diastolic, @FloatRange(from = 0) float meanArterialPressure, int unit, @Nullable() @FloatRange(from = 0) Float pulseRate, @Nullable() @IntRange(from = 0, to = 255) Integer userID, @Nullable() BloodPressureTypes.BPMStatus status, @Nullable() Calendar calendar)Callback called when Blood Pressure Measurement packet has been received. -
-
Method Detail
-
onBloodPressureMeasurementReceived
abstract void onBloodPressureMeasurementReceived(@NonNull() BluetoothDevice device, @FloatRange(from = 0) float systolic, @FloatRange(from = 0) float diastolic, @FloatRange(from = 0) float meanArterialPressure, int unit, @Nullable() @FloatRange(from = 0) Float pulseRate, @Nullable() @IntRange(from = 0, to = 255) Integer userID, @Nullable() BloodPressureTypes.BPMStatus status, @Nullable() Calendar calendar)
Callback called when Blood Pressure Measurement packet has been received.Use toKPa or toMmHg to convert pressure units.
- Parameters:
device- the target device.systolic- the systolic compound of blood pressure measurement.diastolic- the diastolic compound of blood pressure measurement.meanArterialPressure- the mean arterial pressure compound of blood pressure measurement.unit- the measurement unit, one of UNIT_mmHg or UNIT_kPa.pulseRate- an optional pulse rate in beats per minute.userID- an optional user ID.status- an optional measurement status.calendar- an optional measurement timestamp.
-
-
-
-