Skip to content

ElectronPermissionRequestHandlerHandlerDetails

Unofficial

Details passed to a permission request handler.

Import:

import type { ElectronPermissionRequestHandlerHandlerDetails } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronPermissionRequestHandlerHandlerDetails

Properties

Property Type Description
externalURL? string The URL of the openExternal request.
isMainFrame boolean Whether the frame making the request is the main frame.
mediaTypes? Array<'audio' | 'video'> The types of media access being requested.
requestingUrl string The last URL the requesting frame loaded.
securityOrigin? string The security origin of the media request.