ZTActivityServiceImpl

class ZTActivityServiceImpl(retrofit: Retrofit) : ZTApiService<ZTActivityServiceDefinition> , ZTActivityService

ZTActivityServiceImpl

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

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

Functions

addComment
Link copied to clipboard
open override fun addComment(activityId: String, text: String, mediaFileTemplates: Array<ZTMediaFileTemplate>?): Observable<ZTActivityComment>
addData
Link copied to clipboard
open override fun addData(data: List<ZTActivityData>): Completable
addMediaFileToComment
Link copied to clipboard
open override fun addMediaFileToComment(commentId: String, mediaFileTemplate: ZTMediaFileTemplate): Observable<ZTMediaFile>
addSegment
Link copied to clipboard
open override fun addSegment(activityId: String, segment: ZTSegment): Completable
addSegments
Link copied to clipboard
open override fun addSegments(activityId: String, segments: List<ZTSegment>): Completable
deleteActivity
Link copied to clipboard
open override fun deleteActivity(activityId: String): Completable
deleteComment
Link copied to clipboard
open override fun deleteComment(commentId: String): Completable
deleteMediaFileFromComment
Link copied to clipboard
open override fun deleteMediaFileFromComment(mediaFileId: String): Completable
editComment
Link copied to clipboard
open override fun editComment(commentId: String, newText: String): Observable<ZTActivityComment>
getComment
Link copied to clipboard
open override fun getComment(commentId: String): Observable<ZTActivityComment>
getComments
Link copied to clipboard
open override fun getComments(activityId: String): Observable<Array<ZTActivityComment>>
getStatus
Link copied to clipboard
open override fun getStatus(activityId: String): Observable<ZTActivitySummary<Any>>
start
Link copied to clipboard
open override fun start(activity: ZTActivity): Observable<String>
syncStoppedActivity
Link copied to clipboard
open override fun syncStoppedActivity(activity: ZTActivity): Single<ZTActivity>
updateAttributes
Link copied to clipboard
open override fun updateAttributes(activityId: String, attributes: Map<String, Any>): Completable