UserMediaPermissionRequest

class UserMediaPermissionRequest(    val webkitUserMediaPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>) : PermissionRequest(source)

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.

Skipped during bindings generation

  • method is-for-audio-device: Property has no getter nor setter

  • method is-for-video-device: Property has no getter nor setter

Since

2.8

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val webkitPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val webkitUserMediaPermissionRequestPointer: <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.