Package-level declarations

This package includes the UI components provided with the Gravatar SDK.

Types

Link copied to clipboard

Listener for GravatarImagePickerWrapper that provides a way be informed about the avatar upload status.

Link copied to clipboard
interface GravatarTheme

GravatarTheme contains the colors, typography, and shapes to be used in the Gravatar UI components. Those values follow the Gravatar style guide but can be customized by the user. In order to customize the theme, the user can provide a custom GravatarTheme using Composition Local

Link copied to clipboard
data class ImageEditionStyling(val statusBarColor: Int? = null, val toolbarColor: Int? = null, val toolbarWidgetColor: Int? = null)

Options to customize the image edition screen.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun GravatarImagePickerWrapper(content: @Composable () -> Unit, email: String, wordpressBearerToken: String, listener: GravatarImagePickerWrapperListener, modifier: Modifier = Modifier, imageEditionOptions: ImageEditionStyling = ImageEditionStyling())

UI component that wraps the received @Composable, allowing the user to pick an image from the gallery and upload it to Gravatar.

Link copied to clipboard
fun GravatarTheme(content: @Composable () -> Unit)

GravatarTheme is a composable that wraps the content of the application with the Gravatar theme.