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

PropertyTypeDescription
externalURL?stringThe URL of the openExternal request.
isMainFramebooleanWhether the frame making the request is the main frame.
mediaTypes?Array<'audio' | 'video'>The types of media access being requested.
requestingUrlstringThe last URL the requesting frame loaded.
securityOrigin?stringThe security origin of the media request.