-
public final class ViewEvent.DdClsAdditional information of the reported Cumulative Layout Shift
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.DdCls.Companion
-
Field Summary
Fields Modifier and Type Field Description private final NumberdevicePixelRatio
-
Constructor Summary
Constructors Constructor Description ViewEvent.DdCls(Number devicePixelRatio)
-
Method Summary
Modifier and Type Method Description final NumbergetDevicePixelRatio()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.DdCls
ViewEvent.DdCls(Number devicePixelRatio)
- Parameters:
devicePixelRatio- Pixel ratio of the device where the layout shift was reported
-
-
Method Detail
-
getDevicePixelRatio
final Number getDevicePixelRatio()
-
toJson
final JsonElement toJson()
-
-
-
-