webkit.user_media_permission_request

Module for [UserMediaPermissionRequest] class

Types 3

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.

Methods
GType _gType() @property
UserMediaPermissionRequest self()Returns `this`, for use in `with` statements.
UserMediaPermissionRequestGidBuilder builder()Get builder for [webkit.usermediapermission_request.UserMediaPermissionRequest] Returns: New builder object
bool isForAudioDevice() @propertyGet `isForAudioDevice` property. Returns: Whether the media device to which the permission was requested has a microphone or not.
bool isForVideoDevice() @propertyGet `isForVideoDevice` property. Returns: Whether the media device to which the permission was requested has a video capture capability or not.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkit.user_media_permission_request.UserMediaPermissionRequest]