Z T Activity Service Impl
class ZTActivityServiceImpl(retrofit: Retrofit) : ZTApiService<ZTActivityServiceDefinition> , ZTActivityService
Content copied to clipboard
ZTActivityServiceImpl
Author
Alexandre Lemoult <a.lemoult@zhortech.com>
Constructors
ZTActivityServiceImpl
Link copied to clipboard
Functions
addComment
Link copied to clipboard
open override fun addComment(activityId: String, text: String, mediaFileTemplates: Array<ZTMediaFileTemplate>?): Observable<ZTActivityComment>
Content copied to clipboard
addData
Link copied to clipboard
addMediaFileToComment
Link copied to clipboard
open override fun addMediaFileToComment(commentId: String, mediaFileTemplate: ZTMediaFileTemplate): Observable<ZTMediaFile>
Content copied to clipboard
addSegment
Link copied to clipboard
open override fun addSegment(activityId: String, segment: ZTSegment): Completable
Content copied to clipboard
addSegments
Link copied to clipboard
open override fun addSegments(activityId: String, segments: List<ZTSegment>): Completable
Content copied to clipboard
deleteActivity
Link copied to clipboard
deleteComment
Link copied to clipboard
deleteMediaFileFromComment
Link copied to clipboard
open override fun deleteMediaFileFromComment(mediaFileId: String): Completable
Content copied to clipboard
editComment
Link copied to clipboard
open override fun editComment(commentId: String, newText: String): Observable<ZTActivityComment>
Content copied to clipboard
getComment
Link copied to clipboard
open override fun getComment(commentId: String): Observable<ZTActivityComment>
Content copied to clipboard
getComments
Link copied to clipboard
open override fun getComments(activityId: String): Observable<Array<ZTActivityComment>>
Content copied to clipboard
getStatus
Link copied to clipboard
open override fun getStatus(activityId: String): Observable<ZTActivitySummary<Any>>
Content copied to clipboard
start
Link copied to clipboard
syncStoppedActivity
Link copied to clipboard
open override fun syncStoppedActivity(activity: ZTActivity): Single<ZTActivity>
Content copied to clipboard
updateAttributes
Link copied to clipboard
open override fun updateAttributes(activityId: String, attributes: Map<String, Any>): Completable
Content copied to clipboard