ZTSegmentData
Activity segment data
-
Raw data of chunk
-
segment chunk id
-
Activity Id to which chunk belongs
-
Activity type to which chunk belongs
-
Timestamp for chunk
-
Duration of chunk
-
Status of chunk
-
Timestamp type
-
BM Timestamp type
-
Chunk type
-
originalTimestamp from chunk data in ms
-
Number of packets
-
Chunk textual descriptions
-
Firmware version
-
Coding keys
See more -
Initializer
-
Initializer
- ZTParameters:
- data: raw data
- activityId: activity id
- ZTParameters:
-
-
Get saved segments count for activity
-
Load saved unsent segments data from local storage for activity
-
Load all segments data from local storage for activity
-
-
-
Load all segments data from local storage for activity till last segment id
-
Load all segments data from local storage for activity till last segment id
-
Clear saved segments data in local storage
-
Check missed chunks. If sequqnce has missed elements like 0,1,2,5,6 .. - this method will return true if there are missed elenemts in sequence
-
Check missed chunks and return 1st missed chunk id. If sequqnce has missed elements like 0,1,2,5,6 .. - this method will return true if there are missed elenemts in sequence
-
Check if previous chunk is missed
-
Check missed chunks using range (startIndex…endIndex) If sequqnce has missed elements - this method will return true
-
Get maximum id of missed chunk in sequence
-
-
Chunk status
See more -
Timestamp type
See more -
Timestamp type
See more -
Chunk type
See more -
Save segment data to local storage
-
Save segment data to local storage and return result
-
Upload all saved chunks with status .new or .error to ZCloud