MediaAccessPermissionRequest Type
Constructors
| Constructor |
Description
|
Full Usage:
MediaAccessPermissionRequest(requestingUrl, isMainFrame, ?securityOrigin, ?mediaTypes)
Parameters:
string
-
The last URL the requesting frame loaded.
isMainFrame : bool
-
Whether the frame making the request is the main frame.
?securityOrigin : string
-
The security origin of the request.
?mediaTypes : MediaTypes[]
-
The types of media access being requested - elements can be video or audio.
Returns: MediaAccessPermissionRequest
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.isMainFrame
|
Whether the frame making the request is the main frame. |
Full Usage:
this.mediaTypes
|
The types of media access being requested - elements can be video or audio. |
Full Usage:
this.requestingUrl
|
The last URL the requesting frame loaded. |
Full Usage:
this.securityOrigin
|
The security origin of the request. |
fable-electron-docs-api