Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSWorkspaceMBS class.
NSWorkspaceMBS.requestAuthorizationCompleted(type as Integer, authorization as NSWorkspaceAuthorizationMBS, error as NSErrorMBS, tag as variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacCocoa Plugin | 19.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
type: The type of file operation requested.
authorization: The authorization granted for this app. Use it when creating a new NSFileManagerMBS with fileManagerWithAuthorization function.
error: nil if the app is authorized; otherwise, a pointer to the authorization error.
The completion event to call when the authorization request is completed.
The items on this page are in the following plugins: MBS MacCocoa Plugin.