ZTUserService

interface ZTUserService

ZTUserService

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Functions

attributes
Link copied to clipboard
abstract fun attributes(): Completable
abstract fun attributes(userId: String? = null, attributes: Map<String, Any>): Completable
deleteUser
Link copied to clipboard
abstract fun deleteUser(): Completable
exist
Link copied to clipboard
abstract fun exist(attributeName: String, attributeValue: String): Observable<ApiResponseModel.ExistResponse>
firmwareUpdated
Link copied to clipboard
abstract fun firmwareUpdated(code: String, arch: String, version: String): Completable
getAchievements
Link copied to clipboard
abstract fun getAchievements(): Observable<Array<ZTAchievement>>
getAppAttributes
Link copied to clipboard
abstract fun getAppAttributes(): Observable<Map<String, Any>>
getProfileImage
Link copied to clipboard
abstract fun getProfileImage(): Observable<Bitmap?>
getPublicUserIpAddress
Link copied to clipboard
abstract fun getPublicUserIpAddress(): Observable<String>
orgCodeExist
Link copied to clipboard
abstract fun orgCodeExist(orgCode: String): Single<ApiResponseModel.OrgCodeExistResponse>
postProfileImage
Link copied to clipboard
abstract fun postProfileImage(base64String: String): Completable
recoverByAttribute
Link copied to clipboard
abstract fun recoverByAttribute(attributeName: String, attributeValue: String): Completable
testRetry
Link copied to clipboard
abstract fun testRetry(ms: Long, attempts: Int, code: Int): Observable<ResponseBody>
updatePushNotificationToken
Link copied to clipboard
abstract fun updatePushNotificationToken(token: String): Completable

Inheritors

ZTUserServiceImpl
Link copied to clipboard