Header menu logo fable-electron-docs-api

Details Type

Constructors

Constructor Description

Details(deviceType, origin, device)

Full Usage: Details(deviceType, origin, device)

Parameters:
    deviceType : DeviceType - The type of device that permission is being requested on, can be hid, serial, or usb.
    origin : string - The origin URL of the device permission check.
    device : U3<HIDDevice, SerialPort, USBDevice> - the device that permission is being requested for.

Returns: Details
deviceType : DeviceType

The type of device that permission is being requested on, can be hid, serial, or usb.

origin : string

The origin URL of the device permission check.

device : U3<HIDDevice, SerialPort, USBDevice>

the device that permission is being requested for.

Returns: Details

Instance members

Instance member Description

this.device

Full Usage: this.device

the device that permission is being requested for.

this.deviceType

Full Usage: this.deviceType

The type of device that permission is being requested on, can be hid, serial, or usb.

this.origin

Full Usage: this.origin

The origin URL of the device permission check.

Type something to start searching.