AvatarService

class AvatarService(okHttpClient: OkHttpClient? = null)

Service for managing Gravatar avatars.

Constructors

Link copied to clipboard
constructor(okHttpClient: OkHttpClient? = null)

Functions

Link copied to clipboard
fun upload(file: File, email: Email, accessToken: String, gravatarUploadListener: GravatarListener<Unit, ErrorType>)

Uploads a Gravatar image for the given email address.