updatePhoto

abstract fun updatePhoto(photo: File, listener: RainbowListener<Unit, Unit>? = null)

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

Parameters

photo

The new file photo.

listener

RainbowListener? (optional) callback invoked upon completion of the operation. Set to null if not required.