net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSApplicationDelegate", WrapperType = typeof(NSApplicationDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenFiles", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string[]) }, Selector = "application:openFiles:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillFinishLaunching", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillFinishLaunching:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidFinishLaunching", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidFinishLaunching:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillHide", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillHide:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidHide", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidHide:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillUnhide", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillUnhide:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidUnhide", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidUnhide:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillBecomeActive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillBecomeActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidBecomeActive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidBecomeActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillResignActive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillResignActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidResignActive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidResignActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillUpdate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillUpdate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidUpdate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidUpdate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillTerminate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationWillTerminate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ScreenParametersChanged", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationDidChangeScreenParameters:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegisteredForRemoteNotifications", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSData) }, Selector = "application:didRegisterForRemoteNotificationsWithDeviceToken:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedToRegisterForRemoteNotifications", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSError) }, Selector = "application:didFailToRegisterForRemoteNotificationsWithError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedRemoteNotification", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSDictionary) }, Selector = "application:didReceiveRemoteNotification:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEncodeRestorableState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSCoder) }, Selector = "application:willEncodeRestorableState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DecodedRestorableState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSCoder) }, Selector = "application:didDecodeRestorableState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedToContinueUserActivity", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string), typeof(NSError) }, Selector = "application:didFailToContinueUserActivityWithType:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UpdatedUserActivity", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSUserActivity) }, Selector = "application:didUpdateUserActivity:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UserDidAcceptCloudKitShare", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(CKShareMetadata) }, Selector = "application:userDidAcceptCloudKitShareWithMetadata:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenUrls", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSUrl[]) }, Selector = "application:openURLs:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ProtectedDataWillBecomeUnavailable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationProtectedDataWillBecomeUnavailable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ProtectedDataDidBecomeAvailable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "applicationProtectedDataDidBecomeAvailable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationShouldTerminate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(NSApplicationTerminateReply), Selector = "applicationShouldTerminate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenFile", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:openFile:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenTempFile", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:openTempFile:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationShouldOpenUntitledFile", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(bool), Selector = "applicationShouldOpenUntitledFile:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationOpenUntitledFile", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(bool), Selector = "applicationOpenUntitledFile:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenFileWithoutUI", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSObject), typeof(string) }, ReturnType = typeof(bool), Selector = "application:openFileWithoutUI:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PrintFile", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:printFile:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PrintFiles", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string[]), typeof(NSDictionary), typeof(bool) }, ReturnType = typeof(NSApplicationPrintReply), Selector = "application:printFiles:withSettings:showPrintPanels:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationShouldTerminateAfterLastWindowClosed", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(bool), Selector = "applicationShouldTerminateAfterLastWindowClosed:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationShouldHandleReopen", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(bool) }, ReturnType = typeof(bool), Selector = "applicationShouldHandleReopen:hasVisibleWindows:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationDockMenu", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(NSMenu), Selector = "applicationDockMenu:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPresentError", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSError) }, ReturnType = typeof(NSError), Selector = "application:willPresentError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillContinueUserActivity", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:willContinueUserActivityWithType:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandlesKey", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:delegateHandlesKey:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SupportsSecureRestorableState", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(bool), Selector = "applicationSupportsSecureRestorableState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetHandler", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSApplication), typeof(INIntent) }, ReturnType = typeof(NSObject), Selector = "application:handlerForIntent:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldAutomaticallyLocalizeKeyEquivalents", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSApplication) }, ReturnType = typeof(bool), Selector = "applicationShouldAutomaticallyLocalizeKeyEquivalents:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContinueUserActivity", ParameterBlockProxy = new[] { null, null, typeof(NIDContinueUserActivityRestorationHandler) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSApplication), typeof(NSUserActivity), typeof(ContinueUserActivityRestorationHandler) }, ReturnType = typeof(bool), Selector = "application:continueUserActivity:restorationHandler:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSApplicationDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

11/11/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙