AvatarService
Service for managing Gravatar avatars.
Parameters
The OkHttp client to use for making network requests. This client will be extended with Gravatar interceptors to set either API key or OAuth token.
Functions
Deletes the avatar with the given ID.
Deletes the avatar with the given ID. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Retrieves a list of available avatars for the authenticated user. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Sets the avatar for the given email (hash). This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Updates the avatar rating and/or alt text.
Updates the avatar rating and/or alt text. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Uploads an image to be used as Gravatar avatar. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.