TransferMode

@Serializable(with = TransferModeSerializer::class)
sealed interface TransferMode

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 parameter 'transferMode' of the command 'Page.printToPDF'

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = TransferModeSerializer::class)
data class NotDefinedInProtocol(val value: String) : TransferMode

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 = TransferModeSerializer::class)
data object ReturnAsBase64 : TransferMode
Link copied to clipboard
@Serializable(with = TransferModeSerializer::class)
data object ReturnAsStream : TransferMode