Enum PermissionType
- Namespace
- DotNetBrowser.Permissions
- Assembly
- DotNetBrowser.dll
Represents the permission types.
public enum PermissionType
Fields
AudioCapture = 8The permission associated with the access to the audio capture devices.
AutomaticFullscreen = 31The permission to enter fullscreen mode without a prior user gesture.
BackgroundFetch = 13The permission for a service worker to download large resources in the background after the user leaves the page.
BackgroundSync = 10The permission associated with the usage of Background Sync web API.
CameraPanTiltZoom = 22The permission to control camera pan, tilt, and zoom (PTZ) when capturing video.
CapturedSurfaceControl = 27The permission to scroll or zoom a surface captured via
getDisplayMedia().ClipboardReadWrite = 18The permission associated with the usage of the asynchronous methods in the Clipboard API.
ClipboardSanitizedWrite = 19The permission associated with the
Clipboard.writeText()method in the Clipboard API.DisplayCapture = 25The permission to capture display, window, or tab contents via
getDisplayMedia().Geolocation = 4The permission associated with the access to precise geographic location.
GeolocationApproximate = 36The permission associated with the access to approximate (city-level) geographic location.
HandTracking = 32The permission to access hand/finger-tracking data during a WebXR session.
IdleDetection = 14The permission to detect when the user is idle (inactive or screen locked).
KeyboardLock = 29The permission to capture system-level keyboard shortcuts (e.g. Escape, Alt+Tab) via the Keyboard Lock API.
LocalFonts = 24The permission associated with the usage of the Local Font Access API. This permission allows accessing the locally installed fonts and obtaining low-level details about them.
LocalNetwork = 34The permission for a page to access local network addresses (e.g. 192.168.x.x). Part of Private Network Access.
LocalNetworkAccess = 33The permission associated with the usage of the Local Network Access API. This permission prevents undesired requests to insecure devices on the local network.
LoopbackNetwork = 35The permission for a page to access localhost / 127.0.0.1. Part of Private Network Access.
Midi = 6The permission associated with the usage of Web MIDI API (without SysEx).
MidiSysex = 2The permission associated with the usage of Web MIDI API (with SysEx messages support).
Notifications = 3The permission associated with the usage of the Notifications API.
PaymentHandler = 12The permission for a service worker to handle payment requests via the Payment Handler API.
PeriodicBackgroundSync = 15The permission for a service worker to periodically wake up and sync data in the background.
PersistentStorage = 7The Persistent Storage permission (Durable Storage).
PointerLock = 30The permission to lock the mouse pointer to the page via the Pointer Lock API.
ProtectedMediaIdentifier = 5The protected media identifier permission.
Sensors = 11The permission to use motion and light sensors.
SpeakerSelection = 28The permission to select a specific audio output device (speaker/headphones).
StorageAccessGrant = 21The permission for a cross-origin iframe to access its first-party cookies via the Storage Access API.
TopLevelStorageAccess = 26The permission for a top-level document to access unpartitioned cookies via the Storage Access API.
Unknown = 1The unknown permission type.
VideoCapture = 9The permission associated with the access to the video capture devices.
Vr = 20The permission to create immersive VR sessions via the WebXR Device API.
WakeLockScreen = 16The permission associated with the usage of the Screen Wake Lock API. This permission prevents the screen from turning off or dimming. Only visible documents can acquire the screen wake lock.
WakeLockSystem = 17The permission associated with the usage of the System Wake Lock API. This permission prevents the system from suspending.
WindowManagement = 23The permission to enumerate connected screens and place windows on them via the Multi-Screen Window Placement API.