-
- All Implemented Interfaces:
-
no.nordicsemi.android.ble.common.profile.bp.BloodPressureTypes
public interface IntermediateCuffPressureCallback implements BloodPressureTypes
-
-
Method Summary
Modifier and Type Method Description abstract voidonIntermediateCuffPressureReceived(@NonNull() BluetoothDevice device, @FloatRange(from = 0) float cuffPressure, 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 Intermediate Cuff Pressure packet has been received. -
-
Method Detail
-
onIntermediateCuffPressureReceived
abstract void onIntermediateCuffPressureReceived(@NonNull() BluetoothDevice device, @FloatRange(from = 0) float cuffPressure, 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 Intermediate Cuff Pressure packet has been received.Use toKPa or toMmHg to convert pressure units.
- Parameters:
device- the target device.cuffPressure- the cuff pressure.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.
-
-
-
-