AvatarQueryOptions

data class AvatarQueryOptions(val preferredSize: Int? = null, val defaultAvatarOption: DefaultAvatarOption? = null, val rating: ImageRating? = null, val forceDefaultAvatar: Boolean? = null)

Data class that represents the query options for an avatar.

Constructors

Link copied to clipboard
constructor(preferredSize: Int? = null, defaultAvatarOption: DefaultAvatarOption? = null, rating: ImageRating? = null, forceDefaultAvatar: Boolean? = null)

Properties

Link copied to clipboard

Default avatar image. Optional: default to Gravatar logo

Link copied to clipboard

Force default avatar image. Optional: default to false

Link copied to clipboard
val preferredSize: Int? = null

Size of the avatar, must be between 1 and 2048. Optional: default to 80

Link copied to clipboard
val rating: ImageRating? = null

Image rating. Optional: default to General, suitable for display on all websites with any audience