Skip to content

ElectronPermissionCheckHandlerHandlerDetails

Unofficial

Details passed to a permission check handler.

Import:

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

Signature:

export interface ElectronPermissionCheckHandlerHandlerDetails

Properties

Property Type Description
embeddingOrigin? string The origin of the frame embedding the frame that made the permission check. Only set for cross-origin sub frames.
isMainFrame boolean Whether the frame making the request is the main frame.
mediaType? 'audio' | 'unknown' | 'video' The type of media access being requested.
requestingUrl? string The last URL the requesting frame loaded. Not provided for cross-origin sub frames.
securityOrigin? string The security origin of the media check.