Enum CoreWebView2PermissionKind
Indicates the kind of a permission request.
public enum CoreWebView2PermissionKind
  Fields
Autoplay = 9Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the Autoplay guide for media and Web Audio APIs for details.
Camera = 2Indicates permission to capture video.
ClipboardRead = 6Indicates permission to read the system clipboard without a user gesture.
FileReadWrite = 8Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the File System Access API to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.
Geolocation = 3Indicates permission to access geolocation.
LocalFonts = 10Indicates permission to use fonts on the device. Permission is requested when developers use the Local Font Access API to query the system fonts available for styling web content.
Microphone = 1Indicates permission to capture audio.
MidiSystemExclusiveMessages = 11Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the Web MIDI API to request access to system exclusive MIDI messages.
MultipleAutomaticDownloads = 7Indicates permission to automatically download multiple files. Permission is requested when multiple downloads are triggered in quick succession.
Notifications = 4Indicates permission to send web notifications. Apps that would like to show notifications should handle PermissionRequested and/or PermissionRequested events and no browser permission prompt will be shown for notification requests. Note that push notifications are currently unavailable in WebView2.
OtherSensors = 5Indicates permission to access generic sensor. Generic Sensor covers ambient-light-sensor, accelerometer, gyroscope, and magnetometer.
UnknownPermission = 0Indicates an unknown permission.
WindowManagement = 12Indicates permission to open and place windows on the screen. Permission is requested when developers use the Multi-Screen Window Placement API to get screen details.