WebKit2.UserMediaPermissionRequest

g GObject.GInterface GObject.GInterface WebKit2.PermissionRequest WebKit2.PermissionRequest GObject.GInterface->WebKit2.PermissionRequest GObject.Object GObject.Object WebKit2.UserMediaPermissionRequest WebKit2.UserMediaPermissionRequest GObject.Object->WebKit2.UserMediaPermissionRequest WebKit2.PermissionRequest->WebKit2.UserMediaPermissionRequest

Subclasses:

None

Methods

Inherited:

GObject.Object (37), WebKit2.PermissionRequest (2)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GObject.Object (7), WebKit2.PermissionRequest (2)

Properties

Name

Type

Flags

Short Description

is-for-audio-device

bool

r

is-for-video-device

bool

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class WebKit2.UserMediaPermissionRequest(**kwargs)
Bases:

GObject.Object, WebKit2.PermissionRequest

Abstract:

No

Structure:

WebKit2.UserMediaPermissionRequestClass

A permission request for accessing user’s audio/video devices.

WebKit2.UserMediaPermissionRequest 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 WebKit2.UserMediaPermissionRequest is not handled by the user, it is denied by default.

New in version 2.8.

Property Details

WebKit2.UserMediaPermissionRequest.props.is_for_audio_device
Name:

is-for-audio-device

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the media device to which the permission was requested has a microphone or not.

New in version 2.8.

WebKit2.UserMediaPermissionRequest.props.is_for_video_device
Name:

is-for-video-device

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the media device to which the permission was requested has a video capture capability or not.

New in version 2.8.