Function: setGeolocationPermissionAllowed()
function setGeolocationPermissionAllowed(
allowed: boolean | null,
options?: StateUpdateOptions
): void;
Defined in: main/state/appState.ts:325
Caches the geolocation permission decision for this app session.
Parametersβ
allowedβ
boolean | null
Allow/deny decision, or null to clear the cached decision.
options?β
Additional metadata forwarded to the state manager.
Returnsβ
void