setGeolocationPermissionAllowed
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / main/state/appState / setGeolocationPermissionAllowed
Function: setGeolocationPermissionAllowed()
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?β
StateUpdateOptions
Additional metadata forwarded to the state manager.
Returnsβ
void