Class GPUDevice
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.systeminfo.model.GPUDevice
-
public class GPUDevice extends java.lang.ObjectDescribes a single graphics processor (GPU).
-
-
Constructor Summary
Constructors Constructor Description GPUDevice(java.lang.Number vendorId, java.lang.Number deviceId, java.util.Optional<java.lang.Number> subSysId, java.util.Optional<java.lang.Number> revision, java.lang.String vendorString, java.lang.String deviceString, java.lang.String driverVendor, java.lang.String driverVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.NumbergetDeviceId()PCI ID of the GPU device, if available; 0 otherwise.java.lang.StringgetDeviceString()String description of the GPU device, if the PCI ID is not available.java.lang.StringgetDriverVendor()String description of the GPU driver vendor.java.lang.StringgetDriverVersion()String description of the GPU driver version.java.util.Optional<java.lang.Number>getRevision()Revision of the GPU, only available on Windows.java.util.Optional<java.lang.Number>getSubSysId()Sub sys ID of the GPU, only available on Windows.java.lang.NumbergetVendorId()PCI ID of the GPU vendor, if available; 0 otherwise.java.lang.StringgetVendorString()String description of the GPU vendor, if the PCI ID is not available.
-
-
-
Constructor Detail
-
GPUDevice
public GPUDevice(java.lang.Number vendorId, java.lang.Number deviceId, java.util.Optional<java.lang.Number> subSysId, java.util.Optional<java.lang.Number> revision, java.lang.String vendorString, java.lang.String deviceString, java.lang.String driverVendor, java.lang.String driverVersion)
-
-
Method Detail
-
getVendorId
public java.lang.Number getVendorId()
PCI ID of the GPU vendor, if available; 0 otherwise.
-
getDeviceId
public java.lang.Number getDeviceId()
PCI ID of the GPU device, if available; 0 otherwise.
-
getSubSysId
public java.util.Optional<java.lang.Number> getSubSysId()
Sub sys ID of the GPU, only available on Windows.
-
getRevision
public java.util.Optional<java.lang.Number> getRevision()
Revision of the GPU, only available on Windows.
-
getVendorString
public java.lang.String getVendorString()
String description of the GPU vendor, if the PCI ID is not available.
-
getDeviceString
public java.lang.String getDeviceString()
String description of the GPU device, if the PCI ID is not available.
-
getDriverVendor
public java.lang.String getDriverVendor()
String description of the GPU driver vendor.
-
getDriverVersion
public java.lang.String getDriverVersion()
String description of the GPU driver version.
-
-