Request Type
Constructors
| Constructor |
Description
|
Full Usage:
Request(frame, securityOrigin, videoRequested, audioRequested, userGesture)
Parameters:
Option<WebFrameMain>
-
Frame that is requesting access to media. May be null if accessed after the frame has either navigated or
been destroyed.
securityOrigin : string
-
Origin of the page making the request.
videoRequested : bool
-
true if the web content requested a video stream.
audioRequested : bool
-
true if the web content requested an audio stream.
userGesture : bool
-
Whether a user gesture was active when this request was triggered.
Returns: Request
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.audioRequested
|
true if the web content requested an audio stream. |
Full Usage:
this.frame
|
Frame that is requesting access to media. May be null if accessed after the frame has either navigated or been destroyed. |
Full Usage:
this.securityOrigin
|
Origin of the page making the request. |
Full Usage:
this.userGesture
|
Whether a user gesture was active when this request was triggered. |
Full Usage:
this.videoRequested
|
true if the web content requested a video stream. |
fable-electron-docs-api