Details Type
Constructors
| Constructor |
Description
|
Full Usage:
Details(isMainFrame, ?embeddingOrigin, ?securityOrigin, ?mediaType, ?requestingUrl, ?filePath, ?isDirectory, ?fileAccessType)
Parameters:
bool
-
Whether the frame making the request is the main frame.
?embeddingOrigin : string
-
The origin of the frame embedding the frame that made the permission check. Only set for cross-origin sub
frames making permission checks.
?securityOrigin : string
-
The security origin of the media check.
?mediaType : MediaType
-
The type of media access being requested, can be video, audio or unknown.
?requestingUrl : string
-
The last URL the requesting frame loaded. This is not provided for cross-origin sub frames making permission checks.
?filePath : string
-
The path of a fileSystem request.
?isDirectory : bool
-
Whether a fileSystem request is a directory.
?fileAccessType : FileAccessType
-
The access type of a fileSystem request. Can be writable or readable.
Returns: Details
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.embeddingOrigin
|
The origin of the frame embedding the frame that made the permission check. Only set for cross-origin sub frames making permission checks. |
Full Usage:
this.fileAccessType
|
The access type of a fileSystem request. Can be writable or readable. |
Full Usage:
this.filePath
|
The path of a fileSystem request. |
Full Usage:
this.isDirectory
|
Whether a fileSystem request is a directory. |
Full Usage:
this.isMainFrame
|
Whether the frame making the request is the main frame. |
Full Usage:
this.mediaType
|
The type of media access being requested, can be video, audio or unknown. |
Full Usage:
this.requestingUrl
|
The last URL the requesting frame loaded. This is not provided for cross-origin sub frames making permission checks. |
Full Usage:
this.securityOrigin
|
The security origin of the media check. |
fable-electron-docs-api