public class Tracker extends Object
Modifier and Type | Class and Description |
---|---|
class |
Tracker.HeartRateRecord
This class represents a record containing the heart rate info
|
class |
Tracker.TrackedDataRecord
This class represents a record containing the tracked data.
|
Constructor and Description |
---|
Tracker()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
appendFromData(byte[] data)
Appends the tracker data from the data presented
|
void |
clear()
Clears all the data stored.
|
void |
convertToHourly()
Convert the data to hourly data.
|
int |
getFitnessPointCounter(hirondelle.date4j.DateTime dateTime)
Return the fitness point counter value at given date time.
|
String |
heartRatesToString()
Returns the tracked heart rates as a table in a String.
|
String |
sleepingPeriodsToString()
Returns the sleeping periods as a table in a String.
|
String |
trackedActivityToString()
Returns the tracked activity as a table in a String.
|
public int getFitnessPointCounter(hirondelle.date4j.DateTime dateTime)
dateTime
- Date timepublic void clear()
public void convertToHourly()
public boolean appendFromData(byte[] data)
data
- Protobuffer encoded datapublic String trackedActivityToString()
public String heartRatesToString()
public String sleepingPeriodsToString()
Copyright © 2020. All rights reserved.