com.garmin.fit
Class DeviceSettingsMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.DeviceSettingsMesg

public class DeviceSettingsMesg
extends Mesg


Field Summary
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 TimeModeFieldNum
           
static int TimeOffsetFieldNum
           
static int TimeZoneOffsetFieldNum
           
static int UtcOffsetFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
DeviceSettingsMesg()
           
DeviceSettingsMesg(Mesg mesg)
           
 
Method Summary
 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
 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 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.
 
Methods inherited from class com.garmin.fit.Mesg
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ActiveTimeZoneFieldNum

public static final int ActiveTimeZoneFieldNum
See Also:
Constant Field Values

UtcOffsetFieldNum

public static final int UtcOffsetFieldNum
See Also:
Constant Field Values

TimeOffsetFieldNum

public static final int TimeOffsetFieldNum
See Also:
Constant Field Values

TimeModeFieldNum

public static final int TimeModeFieldNum
See Also:
Constant Field Values

TimeZoneOffsetFieldNum

public static final int TimeZoneOffsetFieldNum
See Also:
Constant Field Values

BacklightModeFieldNum

public static final int BacklightModeFieldNum
See Also:
Constant Field Values

ActivityTrackerEnabledFieldNum

public static final int ActivityTrackerEnabledFieldNum
See Also:
Constant Field Values

ClockTimeFieldNum

public static final int ClockTimeFieldNum
See Also:
Constant Field Values

PagesEnabledFieldNum

public static final int PagesEnabledFieldNum
See Also:
Constant Field Values

MoveAlertEnabledFieldNum

public static final int MoveAlertEnabledFieldNum
See Also:
Constant Field Values

DateModeFieldNum

public static final int DateModeFieldNum
See Also:
Constant Field Values

DisplayOrientationFieldNum

public static final int DisplayOrientationFieldNum
See Also:
Constant Field Values

MountingSideFieldNum

public static final int MountingSideFieldNum
See Also:
Constant Field Values

DefaultPageFieldNum

public static final int DefaultPageFieldNum
See Also:
Constant Field Values

AutosyncMinStepsFieldNum

public static final int AutosyncMinStepsFieldNum
See Also:
Constant Field Values

AutosyncMinTimeFieldNum

public static final int AutosyncMinTimeFieldNum
See Also:
Constant Field Values

LactateThresholdAutodetectEnabledFieldNum

public static final int LactateThresholdAutodetectEnabledFieldNum
See Also:
Constant Field Values

BleAutoUploadEnabledFieldNum

public static final int BleAutoUploadEnabledFieldNum
See Also:
Constant Field Values

AutoSyncFrequencyFieldNum

public static final int AutoSyncFrequencyFieldNum
See Also:
Constant Field Values

AutoActivityDetectFieldNum

public static final int AutoActivityDetectFieldNum
See Also:
Constant Field Values

NumberOfScreensFieldNum

public static final int NumberOfScreensFieldNum
See Also:
Constant Field Values

SmartNotificationDisplayOrientationFieldNum

public static final int SmartNotificationDisplayOrientationFieldNum
See Also:
Constant Field Values

TapInterfaceFieldNum

public static final int TapInterfaceFieldNum
See Also:
Constant Field Values

deviceSettingsMesg

protected static final Mesg deviceSettingsMesg
Constructor Detail

DeviceSettingsMesg

public DeviceSettingsMesg()

DeviceSettingsMesg

public DeviceSettingsMesg(Mesg mesg)
Method Detail

getActiveTimeZone

public java.lang.Short getActiveTimeZone()
Get active_time_zone field Comment: Index into time zone arrays.

Returns:
active_time_zone

setActiveTimeZone

public void setActiveTimeZone(java.lang.Short activeTimeZone)
Set active_time_zone field Comment: Index into time zone arrays.

Parameters:
activeTimeZone -

getUtcOffset

public java.lang.Long getUtcOffset()
Get utc_offset field Comment: Offset from system time. Required to convert timestamp from system time to UTC.

Returns:
utc_offset

setUtcOffset

public void setUtcOffset(java.lang.Long utcOffset)
Set utc_offset field Comment: Offset from system time. Required to convert timestamp from system time to UTC.

Parameters:
utcOffset -

getTimeOffset

public java.lang.Long[] getTimeOffset()

getNumTimeOffset

public int getNumTimeOffset()
Returns:
number of time_offset

getTimeOffset

public java.lang.Long getTimeOffset(int index)
Get time_offset field Units: s Comment: Offset from system time.

Parameters:
index - of time_offset
Returns:
time_offset

setTimeOffset

public void setTimeOffset(int index,
                          java.lang.Long timeOffset)
Set time_offset field Units: s Comment: Offset from system time.

Parameters:
index - of time_offset
timeOffset -

getTimeMode

public TimeMode[] getTimeMode()

getNumTimeMode

public int getNumTimeMode()
Returns:
number of time_mode

getTimeMode

public TimeMode getTimeMode(int index)
Get time_mode field Comment: Display mode for the time

Parameters:
index - of time_mode
Returns:
time_mode

setTimeMode

public void setTimeMode(int index,
                        TimeMode timeMode)
Set time_mode field Comment: Display mode for the time

Parameters:
index - of time_mode
timeMode -

getTimeZoneOffset

public java.lang.Float[] getTimeZoneOffset()

getNumTimeZoneOffset

public int getNumTimeZoneOffset()
Returns:
number of time_zone_offset

getTimeZoneOffset

public java.lang.Float getTimeZoneOffset(int index)
Get time_zone_offset field Units: hr Comment: timezone offset in 1/4 hour increments

Parameters:
index - of time_zone_offset
Returns:
time_zone_offset

setTimeZoneOffset

public void setTimeZoneOffset(int index,
                              java.lang.Float timeZoneOffset)
Set time_zone_offset field Units: hr Comment: timezone offset in 1/4 hour increments

Parameters:
index - of time_zone_offset
timeZoneOffset -

getBacklightMode

public BacklightMode getBacklightMode()
Get backlight_mode field Comment: Mode for backlight

Returns:
backlight_mode

setBacklightMode

public void setBacklightMode(BacklightMode backlightMode)
Set backlight_mode field Comment: Mode for backlight

Parameters:
backlightMode -

getActivityTrackerEnabled

public Bool getActivityTrackerEnabled()
Get activity_tracker_enabled field Comment: Enabled state of the activity tracker functionality

Returns:
activity_tracker_enabled

setActivityTrackerEnabled

public void setActivityTrackerEnabled(Bool activityTrackerEnabled)
Set activity_tracker_enabled field Comment: Enabled state of the activity tracker functionality

Parameters:
activityTrackerEnabled -

getClockTime

public DateTime getClockTime()
Get clock_time field Comment: UTC timestamp used to set the devices clock and date

Returns:
clock_time

setClockTime

public void setClockTime(DateTime clockTime)
Set clock_time field Comment: UTC timestamp used to set the devices clock and date

Parameters:
clockTime -

getPagesEnabled

public java.lang.Integer[] getPagesEnabled()

getNumPagesEnabled

public int getNumPagesEnabled()
Returns:
number of pages_enabled

getPagesEnabled

public java.lang.Integer getPagesEnabled(int index)
Get pages_enabled field Comment: Bitfield to configure enabled screens for each supported loop

Parameters:
index - of pages_enabled
Returns:
pages_enabled

setPagesEnabled

public void setPagesEnabled(int index,
                            java.lang.Integer pagesEnabled)
Set pages_enabled field Comment: Bitfield to configure enabled screens for each supported loop

Parameters:
index - of pages_enabled
pagesEnabled -

getMoveAlertEnabled

public Bool getMoveAlertEnabled()
Get move_alert_enabled field Comment: Enabled state of the move alert

Returns:
move_alert_enabled

setMoveAlertEnabled

public void setMoveAlertEnabled(Bool moveAlertEnabled)
Set move_alert_enabled field Comment: Enabled state of the move alert

Parameters:
moveAlertEnabled -

getDateMode

public DateMode getDateMode()
Get date_mode field Comment: Display mode for the date

Returns:
date_mode

setDateMode

public void setDateMode(DateMode dateMode)
Set date_mode field Comment: Display mode for the date

Parameters:
dateMode -

getDisplayOrientation

public DisplayOrientation getDisplayOrientation()
Get display_orientation field

Returns:
display_orientation

setDisplayOrientation

public void setDisplayOrientation(DisplayOrientation displayOrientation)
Set display_orientation field

Parameters:
displayOrientation -

getMountingSide

public Side getMountingSide()
Get mounting_side field

Returns:
mounting_side

setMountingSide

public void setMountingSide(Side mountingSide)
Set mounting_side field

Parameters:
mountingSide -

getDefaultPage

public java.lang.Integer[] getDefaultPage()

getNumDefaultPage

public int getNumDefaultPage()
Returns:
number of default_page

getDefaultPage

public java.lang.Integer getDefaultPage(int index)
Get default_page field Comment: Bitfield to indicate one page as default for each supported loop

Parameters:
index - of default_page
Returns:
default_page

setDefaultPage

public void setDefaultPage(int index,
                           java.lang.Integer defaultPage)
Set default_page field Comment: Bitfield to indicate one page as default for each supported loop

Parameters:
index - of default_page
defaultPage -

getAutosyncMinSteps

public java.lang.Integer getAutosyncMinSteps()
Get autosync_min_steps field Units: steps Comment: Minimum steps before an autosync can occur

Returns:
autosync_min_steps

setAutosyncMinSteps

public void setAutosyncMinSteps(java.lang.Integer autosyncMinSteps)
Set autosync_min_steps field Units: steps Comment: Minimum steps before an autosync can occur

Parameters:
autosyncMinSteps -

getAutosyncMinTime

public java.lang.Integer getAutosyncMinTime()
Get autosync_min_time field Units: minutes Comment: Minimum minutes before an autosync can occur

Returns:
autosync_min_time

setAutosyncMinTime

public void setAutosyncMinTime(java.lang.Integer autosyncMinTime)
Set autosync_min_time field Units: minutes Comment: Minimum minutes before an autosync can occur

Parameters:
autosyncMinTime -

getLactateThresholdAutodetectEnabled

public Bool getLactateThresholdAutodetectEnabled()
Get lactate_threshold_autodetect_enabled field Comment: Enable auto-detect setting for the lactate threshold feature.

Returns:
lactate_threshold_autodetect_enabled

setLactateThresholdAutodetectEnabled

public void setLactateThresholdAutodetectEnabled(Bool lactateThresholdAutodetectEnabled)
Set lactate_threshold_autodetect_enabled field Comment: Enable auto-detect setting for the lactate threshold feature.

Parameters:
lactateThresholdAutodetectEnabled -

getBleAutoUploadEnabled

public Bool getBleAutoUploadEnabled()
Get ble_auto_upload_enabled field Comment: Automatically upload using BLE

Returns:
ble_auto_upload_enabled

setBleAutoUploadEnabled

public void setBleAutoUploadEnabled(Bool bleAutoUploadEnabled)
Set ble_auto_upload_enabled field Comment: Automatically upload using BLE

Parameters:
bleAutoUploadEnabled -

getAutoSyncFrequency

public AutoSyncFrequency getAutoSyncFrequency()
Get auto_sync_frequency field Comment: Helps to conserve battery by changing modes

Returns:
auto_sync_frequency

setAutoSyncFrequency

public void setAutoSyncFrequency(AutoSyncFrequency autoSyncFrequency)
Set auto_sync_frequency field Comment: Helps to conserve battery by changing modes

Parameters:
autoSyncFrequency -

getAutoActivityDetect

public java.lang.Long getAutoActivityDetect()
Get auto_activity_detect field Comment: Allows setting specific activities auto-activity detect enabled/disabled settings

Returns:
auto_activity_detect

setAutoActivityDetect

public void setAutoActivityDetect(java.lang.Long autoActivityDetect)
Set auto_activity_detect field Comment: Allows setting specific activities auto-activity detect enabled/disabled settings

Parameters:
autoActivityDetect -

getNumberOfScreens

public java.lang.Short getNumberOfScreens()
Get number_of_screens field Comment: Number of screens configured to display

Returns:
number_of_screens

setNumberOfScreens

public void setNumberOfScreens(java.lang.Short numberOfScreens)
Set number_of_screens field Comment: Number of screens configured to display

Parameters:
numberOfScreens -

getSmartNotificationDisplayOrientation

public DisplayOrientation getSmartNotificationDisplayOrientation()
Get smart_notification_display_orientation field Comment: Smart Notification display orientation

Returns:
smart_notification_display_orientation

setSmartNotificationDisplayOrientation

public void setSmartNotificationDisplayOrientation(DisplayOrientation smartNotificationDisplayOrientation)
Set smart_notification_display_orientation field Comment: Smart Notification display orientation

Parameters:
smartNotificationDisplayOrientation -

getTapInterface

public Switch getTapInterface()
Get tap_interface field

Returns:
tap_interface

setTapInterface

public void setTapInterface(Switch tapInterface)
Set tap_interface field

Parameters:
tapInterface -