Open tarun180990 opened 5 years ago
SportTime refers to the movement which day data.
Can you please elaborate on what this means? There is already SportDate which specifies the date. Is SportTime the number of minutes of a continuous count of steps?
We are using Below method to get Steps from the SDK:
let readData = ReadDataTimeModel() readData.year = 2000 readData.month = 1; readData.day = 1; readData.hour = 1; readData.minutes = 1;
MKUserDataInterface.readStepData(withTimeStamp: readData, sucBlock: { (data) in print("STEP DATA FROM DEVICE == ",data) }) { (error) in DispatchQueue.main.async { self.synchToDevice() }
How can we fetch Time from the SDK as we can see the response data object as shown below : { "burnCalories": 21, "distance": "0.2", "sportDate": "2019-07-22", "sportTime": 2, "stepCount": 417 } Can you please help in understanding the "SportTime".
Thanks in advance. Tarun