ElectronPermissionCheckHandlerHandlerDetails
Unofficial
Details passed to a permission check handler.
Import:
import type { ElectronPermissionCheckHandlerHandlerDetails } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronPermissionCheckHandlerHandlerDetailsProperties
| 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. |