Class Info |
|---|
public class Field implements Parcelable Fields for common data types. |
Qualifier and Type | Field and Description |
|---|---|
static final int | Field that contains integer values. |
static final int | Field that contains string values. |
static final int | Field that contains mapped values. |
static final int | Field that contains long integer values. |
static final int | Field that contains double-precision floating-point values. |
static final Field | Precision. |
static final Field | Activity type. |
static final Field | Activity type confidence. |
static final Field | Heart rate. |
static final Field | Confidence, with a value ranging from 0.0 to 100.0. |
static final Field | Duration. |
static final Field | Distance (m). |
static final Field | Distance covered since the last reading. |
static final Field | Height (m). |
static final Field | Steps taken since the last reading. |
static final Field | Total walking duration. |
static final Field | Step count. |
static final Field | Step length (m). |
static final Field | Latitude (degree). |
static final Field | Longitude (degree). |
static final Field | Coordinate system. |
static final Field | Weight (kg). |
static final Field | Body mass index, which is calculated via dividing the weight kilograms by the square meter of height (kg/m2). |
static final Field | Body fat (kg), accurate to the first decimal place. |
static final Field | Body fat percentage. |
static final Field | Muscle mass (kg). |
static final Field | Basic metabolism (kcal/day). |
static final Field | Water weight (kg). |
static final Field | Water rate (percentage). |
static final Field | Visceral fat (level). |
static final Field | Bone salt amount (kg). |
static final Field | Protein ratio (percentage). |
static final Field | Body age. |
static final Field | Body score (score). |
static final Field | Skeletal muscle (kg). |
static final Field | Impedance (ohm). |
static final Field | Circumference of a body part (such as the hip, chest, and waist) in centimeters. |
static final Field | Speed (m/s). |
static final Field | Rotations per minute or rate per minute. |
static final Field | Step cadence. |
static final Field | Rotations. |
static final Field | Calories (kcal). |
static final Field | Calories (kcal). |
static final Field | Power (Watt). |
static final Field | Volume (liter). |
static final Field | Total volume (liter). |
static final Field | Meal type. |
static final Field | Food type. |
static final Field | Nutrition facts. |
static final Field | Nutrition facts. |
static final Field | Fragments. |
static final Field | Average value. |
static final Field | Maximum value. |
static final Field | Minimum value. |
static final Field | Low latitude (degree). |
static final Field | Low longitude (degree). |
static final Field | High latitude (degree). |
static final Field | High longitude (degree). |
static final Field | Number of occurrences within a period of time. |
static final Field | Activity intensity. |
static final Field | Time when the user falls asleep, expressed as a UTC timestamp. |
static final Field | Time when the user wakes up, expressed as a UTC timestamp. |
static final Field | Bedtime. |
static final Field | Light sleep duration. |
static final Field | Deep sleep duration. |
static final Field | REM sleep duration. |
static final Field | Duration when staying awake. |
static final Field | Total sleep duration. |
static final Field | Number of times the user wakes up. |
static final Field | Deep sleep continuity. |
static final Field | Sleep state. |
static final Field | Sleep type. |
static final Field | Time when the user prepares for sleep. |
static final Field | Time when the user is out of bed for the last time. |
static final Field | Stress score. |
static final Field | Stress grade. |
static final Field | Stress measurement type: active or passive. |
static final Field | Average stress score. |
static final Field | Highest stress score. |
static final Field | Lowest stress score. |
static final Field | Latest stress score. |
static final Field | Number of stress measurement times. |
static final Field | Medium- and high-intensity activity type. |
static final Field | Mapping between medium- and high-intensity statistics and activities. |
static final Field | Latest value. |
static final Field | Jump height. |
static final Field | Hang time. |
static final Field | Number of jumps. |
static final Field | Minimum jump height. |
static final Field | Average jump height. |
static final Field | Maximum jump height. |
static final Field | Minimum hang time. |
static final Field | Average hang time. |
static final Field | Maximum hang time. |
static final Field | Altitude. |
static final Field | Rope jumping speed. |
static final Field | Average value (int type). |
static final Field | Maximum value (int type). |
static final Field | Minimum value (int type). |
static final Field | Latest value (int type). |
static final Field | Number of jumps. |
static final Field | Number of failed jumps. |
static final Field | Maximum number of consecutive jumps. |
static final Field | Number of double-unders. |
static final Field | Number of triple-unders. |
static final Field | Overall score. |
static final Field | Muscle power score. |
static final Field | Hang time score. |
static final Field | Running score. |
static final Field | Dribble breakthrough score. |
static final Field | Activity strength score. |
static final Field | Underwater time. |
static final Field | Number of dives. |
static final Field | Maximum depth of diving. |
static final Field | Average depth of diving. |
static final Field | Maximum duration of a single dive. |
static final Field | No-fly time. |
static final Field | Water type. |
static final Field | Latitude of the entry location on the water surface. |
static final Field | Longitude of the entry location on the water surface. |
static final Field | Latitude of the exit location on the water surface. |
static final Field | Longitude of the exit location on the water surface. |
static final Field | Breathing duration. |
static final Field | Breath holding time. |
static final Field | Number of training sessions. |
static final Field | Diaphragm contraction. |
static final Field | Ground contact time. |
static final Field | Landing impact. |
static final Field | Swing angle. |
static final Field | Foot eversion. |
static final Field | Hang time. |
static final Field | Flight ratio. |
static final Field | Number of times that the front sole contacts the ground of the ground contact pattern. |
static final Field | Number of times that the rear sole contacts the ground of the ground contact pattern. |
static final Field | Number of times that the whole sole contacts the ground of the ground contact pattern. |
static final Field | Active peak. |
static final Field | Vertical oscillation. |
static final Field | Vertical stride ratio. |
static final Field | Left and right ground contact balance. |
static final Field | Average ground contact time. |
static final Field | AVG_GROUND_IMPACT_ACCELERATION Average landing impact. |
static final Field | Average swing angle. |
static final Field | Average foot eversion. |
static final Field | Average hang time. |
static final Field | Average flight ratio. |
static final Field | Average active peak. |
static final Field | Average impact loading rate. |
static final Field | Average left and right ground contact balance. |
static final Field | Average vertical oscillation. |
static final Field | Average vertical stride ratio. |
static final Field | Total altitude ascent. |
static final Field | Total altitude descent. |
static final Field | Resistance level. |
static final Field | Maximum resistance level supported by the device. |
static final Field | Minimum resistance level supported by the device. |
static final Field | RESISTANCE_LEVEL_ONE_LOWER_LIMIT Lower limit of resistance level 1. |
static final Field | RESISTANCE_LEVEL_TWO_LOWER_LIMIT Lower limit of resistance level 2. |
static final Field | RESISTANCE_LEVEL_THREE_LOWER_LIMIT Lower limit of resistance level 3. |
static final Field | RESISTANCE_LEVEL_FOUR_LOWER_LIMIT Lower limit of resistance level 4. |
static final Field | RESISTANCE_LEVEL_FIVE_LOWER_LIMIT Lower limit of resistance level 5. |
static final Field | RESISTANCE_LEVEL_FIVE_UPPER_LIMIT Upper limit of resistance level 5. |
static final Field | Activity duration at resistance level 1. |
static final Field | Activity duration at resistance level 2. |
static final Field | Activity duration at resistance level 3. |
static final Field | Activity duration at resistance level 4. |
static final Field | Activity duration at resistance level 5. |
static final Field | Cumulative number of strokes. |
static final Field | Rowing stroke rate. |
static final Field | Pedaling rate. |
static final Field | SWOLF. |
static final Field | Stroke count. |
static final Field | Main swimming stroke. |
static final Field | Swimming pool length. |
static final Field | Number of trips. |
static final Field | Maximum slope (in percentages). |
static final Field | Maximum slope angle. |
static final Field | Ski duration. |
static final Field | Ski distance. |
static final Field | Maximum oxygen uptake. |
static final Field | Sampling event type. |
static final Field | Sampling value. |
static final Field | Event name. |
static final Field | Depth. |
static final Field | Temperature. |
Constructor Name |
|---|
Field(String name, int format) Constructs a Field object. |
Qualifier and Type | Method Name and Description |
|---|---|
int | Obtains the attribute type. |
String | getName() Obtains the attribute name. |
final Boolean | Indicates whether it is optional. |
static Field | newDoubleField(String name) Creates an attribute that contains double-precision floating-point values. |
static Field | newIntField(String name) Creates an attribute that contains integer values. |
static Field | newLongField(String name) Creates an attribute of the long integer type. |
static Field | newMapField(String name) Creates an attribute of the mapping type. |
static Field | newStringField(String name) Creates an attribute of the string type. |
Constructor |
|---|
public Field(String name, int format) Constructs a Field object. |
Parameters
Name | Description |
|---|---|
name | Field name. |
format | Attribute type. |
Field |
|---|
public static final int FORMAT_INT32 Field that contains integer values. Constant value: 1 |
Field |
|---|
public static final int FORMAT_STRING Field that contains string values. Constant value: 3 |
Field |
|---|
public static final int FORMAT_MAP Field that contains mapped values. Constant value: 4 |
Field |
|---|
public static final int FORMAT_LONG Field that contains long integer values. Constant value: 5 |
Field |
|---|
public static final int FORMAT_DOUBLE Field that contains double-precision floating-point values. Constant value: 2 |
Field |
|---|
public static final Field FIELD_POSSIBILITY_OF_ACTIVITY Activity type confidence. |
Field |
|---|
public static final Field FIELD_POSSIBILITY Confidence, with a value ranging from 0.0 to 100.0. |
Field |
|---|
public static final Field FIELD_DISTANCE_DELTA Distance covered since the last reading. |
Field |
|---|
public static final Field FIELD_STEPS_DELTA Steps taken since the last reading. |
Field |
|---|
public static final Field FIELD_COORDINATE Coordinate system, which is of the enum type. The options are as follows: 1: WGS84 (World Geodetic System) 2: GCJ02 (coordinate system of Chinese State Bureau of Surveying and Mapping) 3: BD09 (Baidu coordinate system) |
Field |
|---|
public static final Field FIELD_BMI Body mass index. It is calculated via dividing the weight kilograms by the square meter of height. Value range: [1.0, 200.0]. |
Field |
|---|
public static final Field FIELD_BODY_FAT Body fat (kg). Accurate to the first decimal place. Value range: (1, 560). |
Field |
|---|
public static final Field FIELD_BODY_FAT_RATE Body fat percentage. Value range in percentage: [0.0, 100.0]. |
Field |
|---|
public static final Field FIELD_MUSCLE_MASS Muscle mass (kg). Value range: (0.1, 150) |
Field |
|---|
public static final Field FIELD_BASAL_METABOLISM Basic metabolism (kcal/day). Value range: (0, 10000). |
Field |
|---|
public static final Field FIELD_MOISTURE Water weight (kg). Accurate to the first decimal place. Value range: (0, 500). |
Field |
|---|
public static final Field FIELD_MOISTURE_RATE Water rate (percentage). Accurate to the first decimal place. Value range: [0.0, 100.0]. |
Field |
|---|
public static final Field FIELD_VISCERAL_FAT_LEVEL Visceral fat (level). Accurate to the first decimal place. Value range: [1.0, 59.0]. |
Field |
|---|
public static final Field FIELD_BONE_SALT Bone salt amount (kg). Value range: [0.5, 5.0]. |
Field |
|---|
public static final Field FIELD_PROTEIN_RATE Protein ratio (percentage). Accurate to the first decimal place. Value range: [0.0, 100.0]. |
Field |
|---|
public static final Field FIELD_BODY_SCORE Body score (score). Accurate to the first decimal place. Value range: [0.0, 100.0]. |
Field |
|---|
public static final Field FIELD_SKELETAL_MUSCLEL_MASS Skeletal muscle (kg). Value range: (1.0, 150) |
Field |
|---|
public static final Field FIELD_IMPEDANCE Impedance (ohm). Value range: (0.1, 100000.0). |
Field |
|---|
public static final Field FIELD_CIRCUMFERENCE Circumference of a body part (such as the hip, chest, and waist) in centimeters. |
Field |
|---|
public static final Field FIELD_MAX_LONGITUDE High longitude (degree). |
Field |
|---|
public static final Field FIELD_APPEARANCE Number of occurrences within a period of time. |
Field |
|---|
public static final Field FALL_ASLEEP_TIME Time when the user falls asleep, expressed as a UTC timestamp. |
Field |
|---|
public static final Field WAKE_UP_TIME Time when the user wakes up, expressed as a UTC timestamp. |
Field |
|---|
public static final Field MEASURE_TYPE Stress measurement type: active or passive. Value range: [1, 2]. |
Field |
|---|
public static final Field STRESS_AVG Average stress score. Value range: [1, 99]. |
Field |
|---|
public static final Field STRESS_MAX Highest stress score. Value range: [1, 99]. |
Field |
|---|
public static final Field STRESS_MIN Lowest stress score. Value range: [1, 99]. |
Field |
|---|
public static final Field STRESS_LAST Latest stress score. Value range: [1, 99]. |
Field |
|---|
public static final Field MEASURE_COUNT Number of stress measurement times. Value range: [1, 2147483647]. |
Field |
|---|
public static final Field EXERCISE_TYPE Medium- and high-intensity activity type. Value range: [1, 8]. |
Field |
|---|
public static final Field INTENSITY_MAP Mapping between medium- and high-intensity statistics and activities. |
Field |
|---|
public static final Field FIELD_MIN_JUMP_HEIGHT Minimum jump height. |
Field |
|---|
public static final Field FIELD_AVG_JUMP_HEIGHT Average jump height. |
Field |
|---|
public static final Field FIELD_MAX_JUMP_HEIGHT Maximum jump height. |
Field |
|---|
public static final Field FIELD_MIN_PASSAGE_DURATION Minimum hang time. |
Field |
|---|
public static final Field FIELD_AVG_PASSAGE_DURATION Average hang time. |
Field |
|---|
public static final Field FIELD_MAX_PASSAGE_DURATION Maximum hang time. |
Field |
|---|
public static final Field MAX_SKIPPING_TIMES Maximum number of consecutive jumps. |
Field |
|---|
public static final Field BREAKTHROUGH_SCORE Dribble breakthrough score. |
Field |
|---|
public static final Field SPORT_INTENSITY_SCORE Activity strength score. |
Field |
|---|
public static final Field MAX_UNDERWATER_TIME Maximum duration of a single dive. |
Field |
|---|
public static final Field START_LAT Latitude of the entry location on the water surface. |
Field |
|---|
public static final Field START_LON Longitude of the entry location on the water surface. |
Field |
|---|
public static final Field END_LAT Latitude of the exit location on the water surface. |
Field |
|---|
public static final Field END_LON Longitude of the exit location on the water surface. |
Field |
|---|
public static final Field BREATH_HOLDING_TRAIN_RHYTHM Number of training sessions. |
Field |
|---|
public static final Field GROUND_IMPACT_ACCELERATION Landing impact. |
Field |
|---|
public static final Field FORE_FOOT_STRIKE_PATTERN Number of times that the front sole contacts the ground of the ground contact pattern. |
Field |
|---|
public static final Field HIND_FOOT_STRIKE_PATTERN Number of times that the rear sole contacts the ground of the ground contact pattern. |
Field |
|---|
public static final Field WHOLE_FOOT_STRIKE_PATTERN Number of times that the whole sole contacts the ground of the ground contact pattern. |
Field |
|---|
public static final Field GC_TIME_BALANCE Left and right ground contact balance. |
Field |
|---|
public static final Field AVG_VERTICAL_IMPACT_RATE Average impact loading rate. |
Field |
|---|
public static final Field AVG_GC_TIME_BALANCE Average left and right ground contact balance. |
Field |
|---|
public static final Field AVG_VERTICAL_OSCILLATION Average vertical oscillation. |
Field |
|---|
public static final Field AVG_VERTICAL_RATIO Average vertical stride ratio. |
Field |
|---|
public static final Field AVG_GROUND_CONTACT_TIME Average ground contact time. |
Field |
|---|
public static final Field AVG_GROUND_IMPACT_ACCELERATION Average landing impact. |
Field |
|---|
public static final Field AVG_EVERSION_EXCURSION Average foot eversion. |
Field |
|---|
public static final Field AVG_GROUND_HANG_TIME_RATE Average flight ratio. |
Field |
|---|
public static final Field MAX_RES Maximum resistance level supported by the device. |
Field |
|---|
public static final Field MIN_RES Minimum resistance level supported by the device. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_ONE_LOWER_LIMIT Lower limit of resistance level 1. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_TWO_LOWER_LIMIT Lower limit of resistance level 2. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_THREE_LOWER_LIMIT Lower limit of resistance level 3. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_FOUR_LOWER_LIMIT Lower limit of resistance level 4. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_FIVE_LOWER_LIMIT Lower limit of resistance level 5. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_FIVE_UPPER_LIMIT Upper limit of resistance level 5. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_ONE_TIME Activity duration at resistance level 1. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_TWO_TIME Activity duration at resistance level 2. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_THREE_TIME Activity duration at resistance level 3. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_FOUR_TIME Activity duration at resistance level 4. |
Field |
|---|
public static final Field RESISTANCE_LEVEL_FIVE_TIME Activity duration at resistance level 5. |
Field |
|---|
public static final Field MAX_SLOPE_PERCENT Maximum slope (in percentages). |
Field |
|---|
public static final Field PREPARE_SLEEP_TIME Time when the user prepares for sleep. |
Field |
|---|
public static final Field OFF_BED_TIME Time when the user is out of bed for the last time. |
Field |
|---|
public static final Field SLEEP_RESPIRATORY_TYPE Sampling event type. |
Method |
|---|
public int getFormat() Obtains the attribute type. |
Returns
Type | Description |
|---|---|
int | Attribute type. |
Method |
|---|
public String getName() Obtains the attribute name. |
Returns
Type | Description |
|---|---|
String | Attribute name. |
Method |
|---|
public final Boolean isOptional() Indicates whether it is optional. |
Returns
Type | Description |
|---|---|
Boolean | Indicates whether it is optional. |
Method |
|---|
public static Field newFloatField(String name) Creates an attribute that contains float values. |
Parameters
Name | Description |
|---|---|
name | Name. |
Returns
Type | Description |
|---|---|
Field | Field to contain float values. |
Method |
|---|
public static Field newDoubleField(String name) Creates an attribute that contains double-precision floating-point values. |
Parameters
Name | Description |
|---|---|
name | Name. |
Returns
Type | Description |
|---|---|
Field | Attribute that contains double-precision floating-point values. |
Method |
|---|
public static Field newIntField(String name) Creates an attribute that contains integer values. |
Parameters
Name | Description |
|---|---|
name | Name. |
Returns
Type | Description |
|---|---|
Field | Field to contain integer values. |
Method |
|---|
public static Field newMapField(String name) Creates an attribute of the mapping type. |
Parameters
Name | Description |
|---|---|
name | Name. |
Returns
Type | Description |
|---|---|
Field | Attribute of the mapping type. |