WindowState

@Serializable(with = WindowStateSerializer::class)
sealed interface WindowState

The state of the target window.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = WindowStateSerializer::class)
data object fullscreen : WindowState
Link copied to clipboard
@Serializable(with = WindowStateSerializer::class)
data object maximized : WindowState
Link copied to clipboard
@Serializable(with = WindowStateSerializer::class)
data object minimized : WindowState
Link copied to clipboard
@Serializable(with = WindowStateSerializer::class)
data object normal : WindowState
Link copied to clipboard
@Serializable(with = WindowStateSerializer::class)
data class NotDefinedInProtocol(val value: String) : WindowState

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