:right-sidebar: True UserMediaPermissionRequest =================================================================== .. currentmodule:: gi.repository.WebKit .. versionadded:: 2.8 .. class:: UserMediaPermissionRequest(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.WebKit.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 ---------- .. rst-class:: interim-class .. class:: UserMediaPermissionRequest :no-index: .. attribute:: props.is_for_audio_device :type: bool The type of the None singleton. .. versionadded:: 2.8 .. attribute:: props.is_for_video_device :type: bool The type of the None singleton. .. versionadded:: 2.8