DownloadBehavior

@Serializable(with = DownloadBehaviorSerializer::class)
sealed interface DownloadBehavior

Deprecated

Deprecated in the Chrome DevTools protocol

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 'behavior' of the command 'Page.setDownloadBehavior'

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = DownloadBehaviorSerializer::class)
data object allow : DownloadBehavior
Link copied to clipboard
@Serializable(with = DownloadBehaviorSerializer::class)
data object default : DownloadBehavior
Link copied to clipboard
@Serializable(with = DownloadBehaviorSerializer::class)
data object deny : DownloadBehavior
Link copied to clipboard
@Serializable(with = DownloadBehaviorSerializer::class)
data class NotDefinedInProtocol(val value: String) : DownloadBehavior

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