getGPUInfo

abstract fun getGPUInfo(infoType: AppGetGPUInfoInfoType): Promise<Any?>(source)

For infoType equal to complete: Promise is fulfilled with Object containing all the GPU Information as in chromium's GPUInfo object. This includes the version and driver information that's shown on chrome://gpu page.

For infoType equal to basic: Promise is fulfilled with Object containing fewer attributes than when requested with complete. Here's an example of basic response:

Using basic should be preferred if only basic information like vendorId or deviceId is needed.