ElectronApp.startAccessingSecurityScopedResource method
ElectronApp › startAccessingSecurityScopedResource
Unofficial
Starts accessing a security scoped resource. Must be balanced by calling the returned function once finished. macOS (MAS) only.Signature:
startAccessingSecurityScopedResource(bookmarkData: string): () => voidParameters:
| Parameter | Type | Description |
|---|---|---|
| bookmarkData | string | The base64-encoded security scoped bookmark data. |
Returns: () => void — A function that stops accessing the security scoped resource.