Header menu logo fable-electron-docs-api

IOnSelectHidDevice Type

Emitted when a HID device needs to be selected when a call to navigator.hid.requestDevice is made. callback should be called with deviceId to be selected; passing no arguments to callback will cancel the request. Additionally, permissioning on navigator.hid can be further managed by using ses.setPermissionCheckHandler(handler) and ses.setDevicePermissionHandler(handler).

Instance members

Instance member Description

this.callback arg1

Full Usage: this.callback arg1

Returns: Option<Option<string>>
Modifiers: abstract
Returns: Option<Option<string>>

this.details

Full Usage: this.details

Modifiers: abstract

this.event

Full Usage: this.event

Modifiers: abstract

Type something to start searching.