Class
WPEWebKitUserMediaPermissionRequest
Description [src]
final class WPEWebKit.UserMediaPermissionRequest : GObject.Object {
/* No available fields */
}
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.
Available since: | 2.8 |
Instance methods
Methods inherited from WebKitPermissionRequest (2)
webkit_permission_request_allow
Allow the action which triggered this request.
webkit_permission_request_deny
Deny the action which triggered this request.
Properties
WPEWebKit.UserMediaPermissionRequest:is-for-audio-device
Whether the media device to which the permission was requested has a microphone or not.
Available since: 2.8
WPEWebKit.UserMediaPermissionRequest:is-for-video-device
Whether the media device to which the permission was requested has a video capture capability or not.
Available since: 2.8
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.