Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BeginFrameRequest(val frameTimeTicks: Double? = null, val interval: Double? = null, val noDisplayUpdates: Boolean? = null, val screenshot: ScreenshotParams? = null)

Request object containing input parameters for the HeadlessExperimentalDomain.beginFrame command.

Link copied to clipboard
@Serializable
data class BeginFrameResponse(val hasDamage: Boolean, val screenshotData: String? = null)

Response type for the HeadlessExperimentalDomain.beginFrame command.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the HeadlessExperimentalDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the HeadlessExperimentalDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

This domain provides experimental commands only supported in headless mode.

Link copied to clipboard
@Serializable
enum ImageFormat : Enum<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:

Link copied to clipboard
@Serializable
data class ScreenshotParams(val format: ImageFormat? = null, val quality: Int? = null, val optimizeForSpeed: Boolean? = null)

Encoding options for a screenshot.