UserMediaPermissionRequest#

Added in version 2.8.

class UserMediaPermissionRequest(**properties: Any)#

Superclasses: Object

Implemented Interfaces: 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.

Properties#

class UserMediaPermissionRequest
props.is_for_audio_device: bool#

The type of the None singleton.

Added in version 2.8.

props.is_for_video_device: bool#

The type of the None singleton.

Added in version 2.8.