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 _getGType() static nothrow
GType _gType() @property nothrow
UserMediaPermissionRequest self() nothrowReturns `this`, for use in `with` statements.
UserMediaPermissionRequestGidBuilder builder() static nothrowGet builder for [webkit.user_media_permission_request.UserMediaPermissionRequest] Returns: New builder object
bool isForAudioDevice() @property nothrowGet `isForAudioDevice` property. Returns: Whether the media device to which the permission was requested has a microphone or not.
bool isForVideoDevice() @property nothrowGet `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)