ZTSportApi

class ZTSportApi(algorithmType: ZTAlgorithmType)

ZTSportApi

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTSportApi
Link copied to clipboard
fun ZTSportApi(algorithmType: ZTAlgorithmType)

Functions

getActivitiesSummary
Link copied to clipboard
fun getActivitiesSummary(offset: Int, limit: Int, fields: Array<ZTSportActivitySummary.Fields>?, include: Array<String>?): Observable<Array<ZTActivitySummary<ZTSportActivitySummary>>>
getActivityRealtime
Link copied to clipboard
fun getActivityRealtime(activityId: String, realtimeFields: List<String>?): Single<String?>
getActivityRunAnalysis
Link copied to clipboard
fun getActivityRunAnalysis(activityId: String): Observable<ZTSportActivityRunAnalysis>
getActivitySummary
Link copied to clipboard
fun getActivitySummary(activityId: String, fields: Array<ZTSportActivitySummary.Fields>?, include: Array<String>?): Single<ZTActivitySummary<ZTSportActivitySummary>>
getActivityWalkAnalysis
Link copied to clipboard
fun getActivityWalkAnalysis(activityId: String): Observable<ZTSportActivityWalkAnalysis>
getBasicRunAnalysis
Link copied to clipboard
fun getBasicRunAnalysis(deviceIdentifier: String?, period: ZTApiBodyParameter.PeriodParameter): Observable<ZTSportBasicRunAnalysis>
getBasicWalkAnalysis
Link copied to clipboard
fun getBasicWalkAnalysis(deviceIdentifier: String?, period: ZTApiBodyParameter.PeriodParameter): Observable<ZTSportBasicWalkAnalysis>
getMapRouteData
Link copied to clipboard
fun getMapRouteData(activityId: String): Single<JSONObject>
getSegmentDetailRun
Link copied to clipboard
fun getSegmentDetailRun(activityId: String, segmentId: String): Observable<ZTSportActivityRunAnalysis>
getSegmentDetailWalk
Link copied to clipboard
fun getSegmentDetailWalk(activityId: String, segmentId: String): Observable<ZTSportActivityWalkAnalysis>
getTimelineRollup
Link copied to clipboard
fun getTimelineRollup(deviceIdentifier: String?, start: Date, end: Date): Single<ZTSportTimelineRollup>
fun getTimelineRollup(deviceIdentifier: String?, start: Long, end: Long): Single<ZTSportTimelineRollup>
range
Link copied to clipboard
fun range(start: Date, end: Date): Observable<Array<ZTActivity>>
fun range(start: Long, end: Long): Observable<Array<ZTActivity>>