Class BodySensorLocation
java.lang.Object
com.codename1.health.sensors.BodySensorLocation
The values of the Body Sensor Location characteristic, 0x2A38, as
reported by SensorSession.getBodySensorLocation().
Worth surfacing: a wrist-worn optical sensor and a chest strap have materially different accuracy during hard efforts, and telling the user which one is feeding a reading is more honest than presenting both as equivalent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intChest -- a strap; the most accurate of these placements.static final intEarlobe.static final intFinger.static final intFoot.static final intHand.static final intSomewhere the profile does not name.static final intWrist -- an optical sensor in a watch or band. -
Method Summary
-
Field Details
-
OTHER
public static final int OTHERSomewhere the profile does not name.- See Also:
-
CHEST
public static final int CHESTChest -- a strap; the most accurate of these placements.- See Also:
-
WRIST
public static final int WRISTWrist -- an optical sensor in a watch or band.- See Also:
-
FINGER
public static final int FINGERFinger.- See Also:
-
HAND
public static final int HANDHand.- See Also:
-
EAR_LOBE
public static final int EAR_LOBEEarlobe.- See Also:
-
FOOT
public static final int FOOTFoot.- See Also:
-
-
Method Details
-
describe
A human-readable name for a location constant.
-