Skip to content

ElectronSystemPreferences.isTrustedAccessibilityClient method

ElectronSystemPreferences › isTrustedAccessibilityClient

Unofficial

Returns true if the current process is a trusted accessibility client and false if it is not.

Signature:

isTrustedAccessibilityClient(prompt: boolean): boolean

Parameters:

Parameter Type Description
prompt boolean Whether to prompt the user with a system dialog if the process is not trusted.

Returns: booleanWhether the current process is a trusted accessibility client.

Platform: darwin.