Session.on('select-hid-device') method
Session › on(‘select-hid-device’)
Unofficial
Emitted when a HID device needs to be selected.Signature:
on(event: "select-hid-device", listener: (event: ElectronEvent, details: ElectronSelectHidDeviceDetails, callback: (deviceId?: string | null | undefined) => void) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "select-hid-device" | |
| listener | (event: ElectronEvent, details: ElectronSelectHidDeviceDetails, callback: (deviceId?: string | null | undefined) => void) => void |
Returns: this