Package Torello.Browser.BrowserAPI
Class Page.ScreencastFrameMetadata
- java.lang.Object
-
- Torello.Browser.BaseType<Page.ScreencastFrameMetadata>
-
- Torello.Browser.BrowserAPI.Page.ScreencastFrameMetadata
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Page
public static class Page.ScreencastFrameMetadata extends BaseType<Page.ScreencastFrameMetadata> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in thePagedomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Screencast frame metadata.
EXPERIMENTAL- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Page.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Page.java
File Size: 2,794 Bytes Line Count: 72 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Page$$ScreencastFrameMetadata$$.java
- Open New Browser-Tab: Page$$ScreencastFrameMetadata$$.java
File Size: 11,011 Bytes Line Count: 255 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description NumberdeviceHeightDevice screen height in DIP.NumberdeviceWidthDevice screen width in DIP.NumberoffsetTopTop offset in DIP.NumberpageScaleFactorPage scale factor.NumberscrollOffsetXPosition of horizontal scroll in CSS pixels.NumberscrollOffsetYPosition of vertical scroll in CSS pixels.NumbertimestampFrame swap timestamp.
-
Constructor Summary
Constructors Constructor Description ScreencastFrameMetadata(ReadOnlyList<Boolean> isPresent, Number offsetTop, Number pageScaleFactor, Number deviceWidth, Number deviceHeight, Number scrollOffsetX, Number scrollOffsetY, Number timestamp)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Page.ScreencastFrameMetadatafromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Page.ScreencastFrameMetadata>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
offsetTop
public final java.lang.Number offsetTop
Top offset in DIP.
-
pageScaleFactor
public final java.lang.Number pageScaleFactor
Page scale factor.
-
deviceWidth
public final java.lang.Number deviceWidth
Device screen width in DIP.
-
deviceHeight
public final java.lang.Number deviceHeight
Device screen height in DIP.
-
scrollOffsetX
public final java.lang.Number scrollOffsetX
Position of horizontal scroll in CSS pixels.
-
scrollOffsetY
public final java.lang.Number scrollOffsetY
Position of vertical scroll in CSS pixels.
-
timestamp
public final java.lang.Number timestamp
Frame swap timestamp.
OPTIONAL
-
-
Constructor Detail
-
ScreencastFrameMetadata
public ScreencastFrameMetadata(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.Number offsetTop, java.lang.Number pageScaleFactor, java.lang.Number deviceWidth, java.lang.Number deviceHeight, java.lang.Number scrollOffsetX, java.lang.Number scrollOffsetY, java.lang.Number timestamp)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Page.ScreencastFrameMetadata fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Page.ScreencastFrameMetadata> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-