EnumerateDevicesAndRequestAccessOptions constructor

EnumerateDevicesAndRequestAccessOptions({
  1. required int vendorId,
  2. required int productId,
  3. int? interfaceId,
})

Implementation

EnumerateDevicesAndRequestAccessOptions({
  /// The device vendor ID.
  required int vendorId,

  /// The product ID.
  required int productId,

  /// The interface ID to request access to.
  /// Only available on Chrome OS. It has no effect on other platforms.
  int? interfaceId,
}) : _wrapped = $js.EnumerateDevicesAndRequestAccessOptions(
        vendorId: vendorId,
        productId: productId,
        interfaceId: interfaceId,
      );