ElectronSystemPreferences.isTrustedAccessibilityClient method
ElectronSystemPreferences › isTrustedAccessibilityClient
Unofficial
Returnstrue if the current process is a trusted accessibility client and false if it is not. Signature:
isTrustedAccessibilityClient(prompt: boolean): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| prompt | boolean | Whether to prompt the user with a system dialog if the process is not trusted. |
Returns: boolean — Whether the current process is a trusted accessibility client.
Platform: darwin.