Enum DataSource.Device.FormFactor (0.2.0)

public enum DataSource.Device.FormFactor extends Enum<DataSource.Device.FormFactor> implements ProtocolMessageEnum

Form factor of the device, e.g. phone, watch, band, etc.

Protobuf enum google.devicesandservices.health.v4.DataSource.Device.FormFactor

Implements

ProtocolMessageEnum

Static Fields

Name Description
CHEST_STRAP

The device is a chest strap.

CHEST_STRAP = 5;

CHEST_STRAP_VALUE

The device is a chest strap.

CHEST_STRAP = 5;

FITNESS_BAND

The device is a fitness band.

FITNESS_BAND = 1;

FITNESS_BAND_VALUE

The device is a fitness band.

FITNESS_BAND = 1;

FORM_FACTOR_UNSPECIFIED

The form factor is unspecified.

FORM_FACTOR_UNSPECIFIED = 0;

FORM_FACTOR_UNSPECIFIED_VALUE

The form factor is unspecified.

FORM_FACTOR_UNSPECIFIED = 0;

HEAD_MOUNTED

The device is a head mounted device.

HEAD_MOUNTED = 8;

HEAD_MOUNTED_VALUE

The device is a head mounted device.

HEAD_MOUNTED = 8;

PHONE

The device is a phone.

PHONE = 3;

PHONE_VALUE

The device is a phone.

PHONE = 3;

RING

The device is a ring.

RING = 4;

RING_VALUE

The device is a ring.

RING = 4;

SCALE

The device is a scale.

SCALE = 6;

SCALE_VALUE

The device is a scale.

SCALE = 6;

SMART_DISPLAY

The device is a smart display.

SMART_DISPLAY = 9;

SMART_DISPLAY_VALUE

The device is a smart display.

SMART_DISPLAY = 9;

TABLET

The device is a tablet.

TABLET = 7;

TABLET_VALUE

The device is a tablet.

TABLET = 7;

UNRECOGNIZED
WATCH

The device is a watch.

WATCH = 2;

WATCH_VALUE

The device is a watch.

WATCH = 2;

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()