Enum Settings.GlucoseUnit (0.2.0)

public enum Settings.GlucoseUnit extends Enum<Settings.GlucoseUnit> implements ProtocolMessageEnum

The measurement unit defined in the user's account settings.

Protobuf enum google.devicesandservices.health.v4.Settings.GlucoseUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
GLUCOSE_UNIT_MG_DL

Glucose unit is mg/dL.

GLUCOSE_UNIT_MG_DL = 1;

GLUCOSE_UNIT_MG_DL_VALUE

Glucose unit is mg/dL.

GLUCOSE_UNIT_MG_DL = 1;

GLUCOSE_UNIT_MMOL_L

Glucose unit is mmol/l.

GLUCOSE_UNIT_MMOL_L = 2;

GLUCOSE_UNIT_MMOL_L_VALUE

Glucose unit is mmol/l.

GLUCOSE_UNIT_MMOL_L = 2;

GLUCOSE_UNIT_UNSPECIFIED

Glucose unit is not specified.

GLUCOSE_UNIT_UNSPECIFIED = 0;

GLUCOSE_UNIT_UNSPECIFIED_VALUE

Glucose unit is not specified.

GLUCOSE_UNIT_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()