IOnSelectSerialPort Type
Emitted when a serial port needs to be selected when a call to navigator.serial.requestPort is made. callback should be called with portId to be selected, passing an empty string to callback will cancel the request. Additionally, permissioning on navigator.serial can be managed by using ses.setPermissionCheckHandler(handler) with the serial permission.
Instance members
| Instance member |
Description
|
Full Usage:
this.callback arg1
Returns: string
Modifiers: abstract |
|
Full Usage:
this.event
Modifiers: abstract |
|
Full Usage:
this.portList
Modifiers: abstract |
|
Full Usage:
this.webContents
Modifiers: abstract |
|
fable-electron-docs-api