Skip to content

ElectronPermissionCheckHandlerHandlerDetails

Unofficial

Details passed to a permission check handler.

Import:

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

Signature:

export interface ElectronPermissionCheckHandlerHandlerDetails

Properties

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