Header menu logo fable-electron-docs-api

Details Type

Constructors

Constructor Description

Details(isMainFrame, ?embeddingOrigin, ?securityOrigin, ?mediaType, ?requestingUrl, ?filePath, ?isDirectory, ?fileAccessType)

Full Usage: Details(isMainFrame, ?embeddingOrigin, ?securityOrigin, ?mediaType, ?requestingUrl, ?filePath, ?isDirectory, ?fileAccessType)

Parameters:
    isMainFrame : 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
isMainFrame : 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

this.embeddingOrigin

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.

this.fileAccessType

Full Usage: this.fileAccessType

The access type of a fileSystem request. Can be writable or readable.

this.filePath

Full Usage: this.filePath

The path of a fileSystem request.

this.isDirectory

Full Usage: this.isDirectory

Whether a fileSystem request is a directory.

this.isMainFrame

Full Usage: this.isMainFrame

Whether the frame making the request is the main frame.

this.mediaType

Full Usage: this.mediaType

The type of media access being requested, can be video, audio or unknown.

this.requestingUrl

Full Usage: this.requestingUrl

The last URL the requesting frame loaded. This is not provided for cross-origin sub frames making permission checks.

this.securityOrigin

Full Usage: this.securityOrigin

The security origin of the media check.

Type something to start searching.