public static class AntPlusFitnessEquipmentPcc.Settings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AntPlusFitnessEquipmentPcc.Settings.Gender
Gender
|
Constructor and Description |
---|
AntPlusFitnessEquipmentPcc.Settings(java.lang.String friendlyName,
AntPlusFitnessEquipmentPcc.Settings.Gender gender,
short age,
float height,
float weight)
Creates a Settings object with the minimum required fields
|
Modifier and Type | Method and Description |
---|---|
void |
setPairedHrmId(int deviceNumber,
short transType)
Configures paired ANT+ HRM sensor.
|
FitFileCommon.FitFile |
toFitFile()
Creates a FIT settings file, based in the configured settings
|
public AntPlusFitnessEquipmentPcc.Settings(java.lang.String friendlyName, AntPlusFitnessEquipmentPcc.Settings.Gender gender, short age, float height, float weight)
friendlyName
- Name or nickname for this usergender
- User AntPlusFitnessEquipmentPcc.Settings.Gender
.age
- User age. Units: yearsheight
- User height. Units: m. Resolution 0.01 mweight
- User weight. Units: kg Resolution 0.1 kgpublic void setPairedHrmId(int deviceNumber, short transType)
deviceNumber
- ANT device ID of the paired HRM sensor. Valid values: 1 - 65534.transType
- ANT transmission type of the paired HRM sensor. 0 = no sensor pairedpublic FitFileCommon.FitFile toFitFile()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.