WebKit.UserMediaPermissionRequest

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GObject.Object (7), WebKit.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)

Class Details

class WebKit.UserMediaPermissionRequest(**kwargs)
Bases:

GObject.Object, WebKit.PermissionRequest

Abstract:

No

Structure:

WebKit.UserMediaPermissionRequestClass

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

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

New in version 2.8.

Property Details

WebKit.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.

WebKit.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.