Table of Contents

Method RequestPermission

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

RequestPermission(MacOSPermission)

Requests the specified macOS permission.

bool RequestPermission(MacOSPermission permission)

Parameters

permission MacOSPermission

The permission to request.

Returns

bool

true if the permission was granted; otherwise, false.