updatePhoto

abstract fun updatePhoto(photo: File, listener: IAvatarProxy.IAvatarListener? = null)

Update the photo of the connected user by providing a File object.

Parameters

photo

The new file photo

listener

IAvatarListener optional callback(onAvatarSuccess, onAvatarFailure)