public static interface HealthConstants.DiscreteMeasurement extends HealthConstants.Common
Modifier and Type | Field and Description |
---|---|
static String |
START_TIME
UTC milliseconds when the measurement is started.
|
static String |
TIME_OFFSET
Time offset in milliseconds which considers the time zone and daylight saving time.
|
CREATE_TIME, CUSTOM, DEVICE_UUID, PACKAGE_NAME, UPDATE_TIME, UUID
static final String START_TIME
TIME_OFFSET
needs to set for showing the data's measured time properly.
long
static final String TIME_OFFSET
START_TIME
to show the measured time properly to the user.
long
public class HeathDataExample { long getTimeOffset(long currentTime) { return TimeZone.getDefault().getOffset(currentTime); } }
Copyright © Samsung Electronics, Co., Ltd. All rights reserved.