DeviceInfoPermissionRequest

class DeviceInfoPermissionRequest(pointer: <Error class: unknown class><<Error class: unknown class>>) : PermissionRequest

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

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

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

Since

2.24

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitDeviceInfoPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val webkitPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun allow()

Allow the action which triggered this request.

Link copied to clipboard
open fun deny()

Deny the action which triggered this request.