Table of Contents

Method CheckPermission

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

CheckPermission(MacOSPermission)

Checks if the specified macOS permission is granted.

bool CheckPermission(MacOSPermission permission)

Parameters

permission MacOSPermission

The permission to check.

Returns

bool

true if the permission is granted; otherwise, false.