Class UserMediaPermissionRequest

All Implemented Interfaces:
Proxy, PermissionRequest

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

A permission request for accessing user's audio/video devices.

WebKitUserMediaPermissionRequest represents a request for permission to decide whether WebKit should be allowed to access the user's audio and video source devices when requested through the getUserMedia API.

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

Since:
2.8
  • Constructor Details

    • UserMediaPermissionRequest

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

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