public class DeviceSettingsMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
static int |
ActiveTimeZoneFieldNum |
static int |
ActivityTrackerEnabledFieldNum |
static int |
AutoActivityDetectFieldNum |
static int |
AutoSyncFrequencyFieldNum |
static int |
AutosyncMinStepsFieldNum |
static int |
AutosyncMinTimeFieldNum |
static int |
BacklightModeFieldNum |
static int |
BleAutoUploadEnabledFieldNum |
static int |
ClockTimeFieldNum |
static int |
DateModeFieldNum |
static int |
DefaultPageFieldNum |
protected static Mesg |
deviceSettingsMesg |
static int |
DisplayOrientationFieldNum |
static int |
LactateThresholdAutodetectEnabledFieldNum |
static int |
MountingSideFieldNum |
static int |
MoveAlertEnabledFieldNum |
static int |
NumberOfScreensFieldNum |
static int |
PagesEnabledFieldNum |
static int |
SmartNotificationDisplayOrientationFieldNum |
static int |
TapInterfaceFieldNum |
static int |
TapSensitivityFieldNum |
static int |
TimeModeFieldNum |
static int |
TimeOffsetFieldNum |
static int |
TimeZoneOffsetFieldNum |
static int |
UtcOffsetFieldNum |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
DeviceSettingsMesg() |
DeviceSettingsMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getActiveTimeZone()
Get active_time_zone field
Comment: Index into time zone arrays.
|
Bool |
getActivityTrackerEnabled()
Get activity_tracker_enabled field
Comment: Enabled state of the activity tracker functionality
|
java.lang.Long |
getAutoActivityDetect()
Get auto_activity_detect field
Comment: Allows setting specific activities auto-activity detect enabled/disabled settings
|
AutoSyncFrequency |
getAutoSyncFrequency()
Get auto_sync_frequency field
Comment: Helps to conserve battery by changing modes
|
java.lang.Integer |
getAutosyncMinSteps()
Get autosync_min_steps field
Units: steps
Comment: Minimum steps before an autosync can occur
|
java.lang.Integer |
getAutosyncMinTime()
Get autosync_min_time field
Units: minutes
Comment: Minimum minutes before an autosync can occur
|
BacklightMode |
getBacklightMode()
Get backlight_mode field
Comment: Mode for backlight
|
Bool |
getBleAutoUploadEnabled()
Get ble_auto_upload_enabled field
Comment: Automatically upload using BLE
|
DateTime |
getClockTime()
Get clock_time field
Comment: UTC timestamp used to set the devices clock and date
|
DateMode |
getDateMode()
Get date_mode field
Comment: Display mode for the date
|
java.lang.Integer[] |
getDefaultPage() |
java.lang.Integer |
getDefaultPage(int index)
Get default_page field
Comment: Bitfield to indicate one page as default for each supported loop
|
DisplayOrientation |
getDisplayOrientation()
Get display_orientation field
|
Bool |
getLactateThresholdAutodetectEnabled()
Get lactate_threshold_autodetect_enabled field
Comment: Enable auto-detect setting for the lactate threshold feature.
|
Side |
getMountingSide()
Get mounting_side field
|
Bool |
getMoveAlertEnabled()
Get move_alert_enabled field
Comment: Enabled state of the move alert
|
java.lang.Short |
getNumberOfScreens()
Get number_of_screens field
Comment: Number of screens configured to display
|
int |
getNumDefaultPage() |
int |
getNumPagesEnabled() |
int |
getNumTimeMode() |
int |
getNumTimeOffset() |
int |
getNumTimeZoneOffset() |
java.lang.Integer[] |
getPagesEnabled() |
java.lang.Integer |
getPagesEnabled(int index)
Get pages_enabled field
Comment: Bitfield to configure enabled screens for each supported loop
|
DisplayOrientation |
getSmartNotificationDisplayOrientation()
Get smart_notification_display_orientation field
Comment: Smart Notification display orientation
|
Switch |
getTapInterface()
Get tap_interface field
|
TapSensitivity |
getTapSensitivity()
Get tap_sensitivity field
Comment: Used to hold the tap threshold setting
|
TimeMode[] |
getTimeMode() |
TimeMode |
getTimeMode(int index)
Get time_mode field
Comment: Display mode for the time
|
java.lang.Long[] |
getTimeOffset() |
java.lang.Long |
getTimeOffset(int index)
Get time_offset field
Units: s
Comment: Offset from system time.
|
java.lang.Float[] |
getTimeZoneOffset() |
java.lang.Float |
getTimeZoneOffset(int index)
Get time_zone_offset field
Units: hr
Comment: timezone offset in 1/4 hour increments
|
java.lang.Long |
getUtcOffset()
Get utc_offset field
Comment: Offset from system time.
|
void |
setActiveTimeZone(java.lang.Short activeTimeZone)
Set active_time_zone field
Comment: Index into time zone arrays.
|
void |
setActivityTrackerEnabled(Bool activityTrackerEnabled)
Set activity_tracker_enabled field
Comment: Enabled state of the activity tracker functionality
|
void |
setAutoActivityDetect(java.lang.Long autoActivityDetect)
Set auto_activity_detect field
Comment: Allows setting specific activities auto-activity detect enabled/disabled settings
|
void |
setAutoSyncFrequency(AutoSyncFrequency autoSyncFrequency)
Set auto_sync_frequency field
Comment: Helps to conserve battery by changing modes
|
void |
setAutosyncMinSteps(java.lang.Integer autosyncMinSteps)
Set autosync_min_steps field
Units: steps
Comment: Minimum steps before an autosync can occur
|
void |
setAutosyncMinTime(java.lang.Integer autosyncMinTime)
Set autosync_min_time field
Units: minutes
Comment: Minimum minutes before an autosync can occur
|
void |
setBacklightMode(BacklightMode backlightMode)
Set backlight_mode field
Comment: Mode for backlight
|
void |
setBleAutoUploadEnabled(Bool bleAutoUploadEnabled)
Set ble_auto_upload_enabled field
Comment: Automatically upload using BLE
|
void |
setClockTime(DateTime clockTime)
Set clock_time field
Comment: UTC timestamp used to set the devices clock and date
|
void |
setDateMode(DateMode dateMode)
Set date_mode field
Comment: Display mode for the date
|
void |
setDefaultPage(int index,
java.lang.Integer defaultPage)
Set default_page field
Comment: Bitfield to indicate one page as default for each supported loop
|
void |
setDisplayOrientation(DisplayOrientation displayOrientation)
Set display_orientation field
|
void |
setLactateThresholdAutodetectEnabled(Bool lactateThresholdAutodetectEnabled)
Set lactate_threshold_autodetect_enabled field
Comment: Enable auto-detect setting for the lactate threshold feature.
|
void |
setMountingSide(Side mountingSide)
Set mounting_side field
|
void |
setMoveAlertEnabled(Bool moveAlertEnabled)
Set move_alert_enabled field
Comment: Enabled state of the move alert
|
void |
setNumberOfScreens(java.lang.Short numberOfScreens)
Set number_of_screens field
Comment: Number of screens configured to display
|
void |
setPagesEnabled(int index,
java.lang.Integer pagesEnabled)
Set pages_enabled field
Comment: Bitfield to configure enabled screens for each supported loop
|
void |
setSmartNotificationDisplayOrientation(DisplayOrientation smartNotificationDisplayOrientation)
Set smart_notification_display_orientation field
Comment: Smart Notification display orientation
|
void |
setTapInterface(Switch tapInterface)
Set tap_interface field
|
void |
setTapSensitivity(TapSensitivity tapSensitivity)
Set tap_sensitivity field
Comment: Used to hold the tap threshold setting
|
void |
setTimeMode(int index,
TimeMode timeMode)
Set time_mode field
Comment: Display mode for the time
|
void |
setTimeOffset(int index,
java.lang.Long timeOffset)
Set time_offset field
Units: s
Comment: Offset from system time.
|
void |
setTimeZoneOffset(int index,
java.lang.Float timeZoneOffset)
Set time_zone_offset field
Units: hr
Comment: timezone offset in 1/4 hour increments
|
void |
setUtcOffset(java.lang.Long utcOffset)
Set utc_offset field
Comment: Offset from system time.
|
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
public static final int ActiveTimeZoneFieldNum
public static final int UtcOffsetFieldNum
public static final int TimeOffsetFieldNum
public static final int TimeModeFieldNum
public static final int TimeZoneOffsetFieldNum
public static final int BacklightModeFieldNum
public static final int ActivityTrackerEnabledFieldNum
public static final int ClockTimeFieldNum
public static final int PagesEnabledFieldNum
public static final int MoveAlertEnabledFieldNum
public static final int DateModeFieldNum
public static final int DisplayOrientationFieldNum
public static final int MountingSideFieldNum
public static final int DefaultPageFieldNum
public static final int AutosyncMinStepsFieldNum
public static final int AutosyncMinTimeFieldNum
public static final int LactateThresholdAutodetectEnabledFieldNum
public static final int BleAutoUploadEnabledFieldNum
public static final int AutoSyncFrequencyFieldNum
public static final int AutoActivityDetectFieldNum
public static final int NumberOfScreensFieldNum
public static final int SmartNotificationDisplayOrientationFieldNum
public static final int TapInterfaceFieldNum
public static final int TapSensitivityFieldNum
protected static final Mesg deviceSettingsMesg
public DeviceSettingsMesg()
public DeviceSettingsMesg(Mesg mesg)
public java.lang.Short getActiveTimeZone()
public void setActiveTimeZone(java.lang.Short activeTimeZone)
activeTimeZone
- public java.lang.Long getUtcOffset()
public void setUtcOffset(java.lang.Long utcOffset)
utcOffset
- public java.lang.Long[] getTimeOffset()
public int getNumTimeOffset()
public java.lang.Long getTimeOffset(int index)
index
- of time_offsetpublic void setTimeOffset(int index, java.lang.Long timeOffset)
index
- of time_offsettimeOffset
- public TimeMode[] getTimeMode()
public int getNumTimeMode()
public TimeMode getTimeMode(int index)
index
- of time_modepublic void setTimeMode(int index, TimeMode timeMode)
index
- of time_modetimeMode
- public java.lang.Float[] getTimeZoneOffset()
public int getNumTimeZoneOffset()
public java.lang.Float getTimeZoneOffset(int index)
index
- of time_zone_offsetpublic void setTimeZoneOffset(int index, java.lang.Float timeZoneOffset)
index
- of time_zone_offsettimeZoneOffset
- public BacklightMode getBacklightMode()
public void setBacklightMode(BacklightMode backlightMode)
backlightMode
- public Bool getActivityTrackerEnabled()
public void setActivityTrackerEnabled(Bool activityTrackerEnabled)
activityTrackerEnabled
- public DateTime getClockTime()
public void setClockTime(DateTime clockTime)
clockTime
- public java.lang.Integer[] getPagesEnabled()
public int getNumPagesEnabled()
public java.lang.Integer getPagesEnabled(int index)
index
- of pages_enabledpublic void setPagesEnabled(int index, java.lang.Integer pagesEnabled)
index
- of pages_enabledpagesEnabled
- public Bool getMoveAlertEnabled()
public void setMoveAlertEnabled(Bool moveAlertEnabled)
moveAlertEnabled
- public DateMode getDateMode()
public void setDateMode(DateMode dateMode)
dateMode
- public DisplayOrientation getDisplayOrientation()
public void setDisplayOrientation(DisplayOrientation displayOrientation)
displayOrientation
- public Side getMountingSide()
public void setMountingSide(Side mountingSide)
mountingSide
- public java.lang.Integer[] getDefaultPage()
public int getNumDefaultPage()
public java.lang.Integer getDefaultPage(int index)
index
- of default_pagepublic void setDefaultPage(int index, java.lang.Integer defaultPage)
index
- of default_pagedefaultPage
- public java.lang.Integer getAutosyncMinSteps()
public void setAutosyncMinSteps(java.lang.Integer autosyncMinSteps)
autosyncMinSteps
- public java.lang.Integer getAutosyncMinTime()
public void setAutosyncMinTime(java.lang.Integer autosyncMinTime)
autosyncMinTime
- public Bool getLactateThresholdAutodetectEnabled()
public void setLactateThresholdAutodetectEnabled(Bool lactateThresholdAutodetectEnabled)
lactateThresholdAutodetectEnabled
- public Bool getBleAutoUploadEnabled()
public void setBleAutoUploadEnabled(Bool bleAutoUploadEnabled)
bleAutoUploadEnabled
- public AutoSyncFrequency getAutoSyncFrequency()
public void setAutoSyncFrequency(AutoSyncFrequency autoSyncFrequency)
autoSyncFrequency
- public java.lang.Long getAutoActivityDetect()
public void setAutoActivityDetect(java.lang.Long autoActivityDetect)
autoActivityDetect
- public java.lang.Short getNumberOfScreens()
public void setNumberOfScreens(java.lang.Short numberOfScreens)
numberOfScreens
- public DisplayOrientation getSmartNotificationDisplayOrientation()
public void setSmartNotificationDisplayOrientation(DisplayOrientation smartNotificationDisplayOrientation)
smartNotificationDisplayOrientation
- public Switch getTapInterface()
public void setTapInterface(Switch tapInterface)
tapInterface
- public TapSensitivity getTapSensitivity()
public void setTapSensitivity(TapSensitivity tapSensitivity)
tapSensitivity
-