ImageFormat

@Serializable(with = ImageFormatSerializer::class)
sealed interface ImageFormat

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

  • the property 'format' of the type 'ScreenshotParams'

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ImageFormatSerializer::class)
data object jpeg : ImageFormat
Link copied to clipboard
@Serializable(with = ImageFormatSerializer::class)
data class NotDefinedInProtocol(val value: String) : ImageFormat

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = ImageFormatSerializer::class)
data object png : ImageFormat
Link copied to clipboard
@Serializable(with = ImageFormatSerializer::class)
data object webp : ImageFormat