Class DeviceInfoPermissionRequest

All Implemented Interfaces:
Proxy, PermissionRequest

@Generated("org.javagi.JavaGI") public final class DeviceInfoPermissionRequest extends GObject implements PermissionRequest

A permission request for enumerating the user's media devices

WebKitDeviceInfoPermissionRequest represents a request for permission to whether WebKit should be allowed to access the user's devices information when requested through the MediaDevices.enumerateDevices API.

When a WebKitDeviceInfoPermissionRequest is not handled by the user, it is denied by default.

Since:
2.24
  • Constructor Details

    • DeviceInfoPermissionRequest

      public DeviceInfoPermissionRequest(MemorySegment address)
      Create a DeviceInfoPermissionRequest instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • DeviceInfoPermissionRequest

      public DeviceInfoPermissionRequest()
      Create a new DeviceInfoPermissionRequest.
  • Method Details