public class

PlatformHealthSources.Keys

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.PlatformHealthSources.Keys

Overview

Data sources keys for platform health sources.

Summary

Fields
public static final PlatformDataKey<DynamicBuilders.DynamicFloat>DAILY_CALORIES

The data source key for daily calories (kcal) data from platform health sources.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat>DAILY_DISTANCE_METERS

The data source key for daily distance data (in meters) from platform health sources.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat>DAILY_FLOORS

The data source key for daily floors data from platform health sources.

public static final PlatformDataKey<DynamicBuilders.DynamicInt32>DAILY_STEPS

The data source key for daily step count data from platform health sources.

public static final PlatformDataKey<PlatformHealthSources.DynamicHeartRateAccuracy>HEART_RATE_ACCURACY

The data source key for heart rate sensor accuracy data from platform health sources.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat>HEART_RATE_BPM

The data source key for heart rate bpm data from platform health sources.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final PlatformDataKey<DynamicBuilders.DynamicFloat> HEART_RATE_BPM

The data source key for heart rate bpm data from platform health sources.

public static final PlatformDataKey<PlatformHealthSources.DynamicHeartRateAccuracy> HEART_RATE_ACCURACY

The data source key for heart rate sensor accuracy data from platform health sources. The accuracy value is one of HEART_RATE_ACCURACY_* constants.

public static final PlatformDataKey<DynamicBuilders.DynamicInt32> DAILY_STEPS

The data source key for daily step count data from platform health sources. This is the total step count over a day and it resets when 00:00 is reached (in whatever is the timezone set at that time). This can result in the DAILY period being greater than or less than 24 hours when the timezone of the device is changed.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat> DAILY_DISTANCE_METERS

The data source key for daily distance data (in meters) from platform health sources. This is the total distance over a day and it resets when 00:00 is reached (in whatever is the timezone set at that time). This can result in the DAILY period being greater than or less than 24 hours when the timezone of the device is changed.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat> DAILY_CALORIES

The data source key for daily calories (kcal) data from platform health sources. This is the total number of kilocalories over a day (including both BMR and active calories) and it resets when 00:00 is reached (in whatever is the timezone set at that time). This can result in the DAILY period being greater than or less than 24 hours when the timezone of the device is changed.

public static final PlatformDataKey<DynamicBuilders.DynamicFloat> DAILY_FLOORS

The data source key for daily floors data from platform health sources. This is the total number of floors climbed over a day and it resets when 00:00 is reached (in whatever is the timezone set at that time). This can result in the DAILY period being greater than or less than 24 hours when the timezone of the device is changed.