ZTSportActivityServiceImpl

class ZTSportActivityServiceImpl(retrofit: Retrofit) : ZTApiService<ZTSportActivityServiceDefinition> , ZTSportActivityService

ZTSportActivityServiceImpl

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTSportActivityServiceImpl
Link copied to clipboard
fun ZTSportActivityServiceImpl(retrofit: Retrofit)

Functions

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