chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / ScreencastFrameMetadata

ScreencastFrameMetadata

data class ScreencastFrameMetadata

Screencast frame metadata.

Official doc

Constructors

<init>

Screencast frame metadata.

ScreencastFrameMetadata(offsetTop: Double, pageScaleFactor: Double, deviceWidth: Double, deviceHeight: Double, scrollOffsetX: Double, scrollOffsetY: Double, timestamp: TimeSinceEpoch? = null)

Properties

deviceHeight

Device screen height in DIP.

val deviceHeight: Double

deviceWidth

Device screen width in DIP.

val deviceWidth: Double

offsetTop

Top offset in DIP.

val offsetTop: Double

pageScaleFactor

Page scale factor.

val pageScaleFactor: Double

scrollOffsetX

Position of horizontal scroll in CSS pixels.

val scrollOffsetX: Double

scrollOffsetY

Position of vertical scroll in CSS pixels.

val scrollOffsetY: Double

timestamp

Frame swap timestamp.

val timestamp: TimeSinceEpoch?