updateAvatar

abstract fun updateAvatar(avatarPath: String): Single<String>

Update user avatar.

Return

Single what emits new avatar url for user, saved in sdk user store

See also

ResponseCodesConstants

Parameters

avatarPath

locale path to avatar

Throws

ServerWrongCodeException

emitted by Single.onError() with server response code or network exceptions for transport errors