Top |
WebKitUserMediaPermissionRequestWebKitUserMediaPermissionRequest — 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.
gboolean
webkit_user_media_permission_is_for_audio_device
(WebKitUserMediaPermissionRequest *request
);
Since: 2.8
gboolean
webkit_user_media_permission_is_for_video_device
(WebKitUserMediaPermissionRequest *request
);
Since: 2.8
gboolean
webkit_user_media_permission_is_for_display_device
(WebKitUserMediaPermissionRequest *request
);
Since: 2.34
“is-for-audio-device”
property“is-for-audio-device” gboolean
Whether the media device to which the permission was requested has a microphone or not.
Owner: WebKitUserMediaPermissionRequest
Flags: Read
Default value: FALSE
“is-for-video-device”
property“is-for-video-device” gboolean
Whether the media device to which the permission was requested has a video capture capability or not.
Owner: WebKitUserMediaPermissionRequest
Flags: Read
Default value: FALSE