ZTActivityService

interface ZTActivityService

ZTActivityService

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Functions

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

Inheritors

ZTActivityServiceImpl
Link copied to clipboard