ZTUserServiceImpl

class ZTUserServiceImpl(retrofit: Retrofit) : ZTApiService<ZTUserServiceDefinition> , ZTUserService

ZTUserServiceImpl

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

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

Functions

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