diff --git a/src/automaticassessmentconfiguration.cs b/src/automaticassessmentconfiguration.cs index 4f0f39fcf61..a4d724f7804 100644 --- a/src/automaticassessmentconfiguration.cs +++ b/src/automaticassessmentconfiguration.cs @@ -199,6 +199,10 @@ interface AEAssessmentConfiguration : NSCopying { [Export ("allowsStructuralInput")] bool AllowsStructuralInput { get; set; } + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [Export ("allowsForceQuit")] + bool AllowsForceQuit { get; set; } + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] [NullAllowed, Export ("allowedDirectoriesAndFiles", ArgumentSemantic.Copy)] NSSet AllowedDirectoriesAndFiles { get; set; } @@ -231,6 +235,10 @@ interface AEAssessmentConfiguration : NSCopying { [Export ("allowPrivateRelay")] bool AllowPrivateRelay { get; set; } + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [Export ("allowVirtualMachine")] + bool AllowVirtualMachine { get; set; } + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] [Export ("requiresManagedDevice")] bool RequiresManagedDevice { get; set; } @@ -297,6 +305,18 @@ interface AEAssessmentConfiguration : NSCopying { [Export ("setConfiguration:forApplication:")] void SetConfiguration (AEAssessmentParticipantConfiguration configuration, AEAssessmentApplication application); + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [Export ("configurationsByBinaryExecutable", ArgumentSemantic.Copy)] + NSDictionary ConfigurationsByBinaryExecutable { get; } + + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [Export ("removeBinaryExecutable:")] + void Remove (AEAssessmentBinaryExecutable binaryExecutable); + + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [Export ("setConfiguration:forBinaryExecutable:")] + void SetConfiguration (AEAssessmentBinaryExecutableConfiguration configuration, AEAssessmentBinaryExecutable binaryExecutable); + [NoiOS, MacCatalyst (26, 1), Mac (26, 1)] [Export ("allowsScreenshots")] bool AllowsScreenshots { get; set; } @@ -391,7 +411,7 @@ interface AEAssessmentApplication : NSCopying { [Export ("initWithBundleIdentifier:")] NativeHandle Constructor (string bundleIdentifier); - [NoiOS] + [iOS (27, 0)] [NoMacCatalyst] // header says it's available in Mac Catalyst, Apple's documentation + xtro says it's not, so don't add it for now. [Export ("initWithBundleIdentifier:teamIdentifier:")] NativeHandle Constructor (string bundleIdentifier, [NullAllowed] string TeamIdentifier); @@ -399,6 +419,27 @@ interface AEAssessmentApplication : NSCopying { [Export ("bundleIdentifier")] string BundleIdentifier { get; } + [iOS (27, 0)] + [NullAllowed, Export ("teamIdentifier")] + string TeamIdentifier { get; } + + [Export ("requiresSignatureValidation")] + bool RequiresSignatureValidation { get; set; } + } + + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface AEAssessmentBinaryExecutable : NSCopying { + [Export ("initWithBinaryExecutableURL:")] + NativeHandle Constructor (NSUrl binaryExecutableUrl); + + [Export ("initWithBinaryExecutableURL:teamIdentifier:")] + NativeHandle Constructor (NSUrl binaryExecutableUrl, [NullAllowed] string teamIdentifier); + + [Export ("binaryExecutableURL", ArgumentSemantic.Copy)] + NSUrl BinaryExecutableUrl { get; } + [NullAllowed, Export ("teamIdentifier")] string TeamIdentifier { get; } @@ -406,6 +447,20 @@ interface AEAssessmentApplication : NSCopying { bool RequiresSignatureValidation { get; set; } } + [NoiOS, MacCatalyst (27, 0), Mac (27, 0)] + [BaseType (typeof (NSObject))] + interface AEAssessmentBinaryExecutableConfiguration : NSCopying { + [Export ("allowsNetworkAccess")] + bool AllowsNetworkAccess { get; set; } + + [Export ("required")] + bool Required { + [Bind ("isRequired")] + get; + set; + } + } + [iOS (17, 5), MacCatalyst (15, 0)] [BaseType (typeof (NSObject))] interface AEAssessmentParticipantConfiguration : NSCopying { diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index db301a7f838..0105e60657a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -12788,7 +12788,11 @@ M:AuthenticationServices.IASWebAuthenticationSessionWebBrowserSessionHandling.Ca M:AuthenticationServices.PublicPrivateKeyAuthentication.GetAllSupportedPublicKeyCredentialDescriptorTransports M:AutomaticAssessmentConfiguration.AEAssessmentApplication.#ctor(System.String,System.String) M:AutomaticAssessmentConfiguration.AEAssessmentApplication.#ctor(System.String) +M:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable.#ctor(Foundation.NSUrl,System.String) +M:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable.#ctor(Foundation.NSUrl) M:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.Remove(AutomaticAssessmentConfiguration.AEAssessmentApplication) +M:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.Remove(AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable) +M:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.SetConfiguration(AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutableConfiguration,AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable) M:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.SetConfiguration(AutomaticAssessmentConfiguration.AEAssessmentParticipantConfiguration,AutomaticAssessmentConfiguration.AEAssessmentApplication) M:AutomaticAssessmentConfiguration.AEAssessmentParticipantConfiguration.GetAllowedMenuItems(System.String) M:AutomaticAssessmentConfiguration.AEAssessmentParticipantConfiguration.SetAllowedMenuItems(Foundation.NSSet{Foundation.NSString},System.String) @@ -34570,6 +34574,11 @@ P:AuthenticationServices.IASPublicKeyCredential.RawClientDataJson P:AutomaticAssessmentConfiguration.AEAssessmentApplication.BundleIdentifier P:AutomaticAssessmentConfiguration.AEAssessmentApplication.RequiresSignatureValidation P:AutomaticAssessmentConfiguration.AEAssessmentApplication.TeamIdentifier +P:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable.BinaryExecutableUrl +P:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable.RequiresSignatureValidation +P:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable.TeamIdentifier +P:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutableConfiguration.AllowsNetworkAccess +P:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutableConfiguration.Required P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowedAppleMenuItems P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowedDirectoriesAndFiles P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowedMenuBarItems @@ -34596,6 +34605,7 @@ P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsAutoFill P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsContinuousPathKeyboard P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsDictation P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsDock +P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsForceQuit P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsKeyboardShortcuts P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsMenuBar P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsPasswordAutoFill @@ -34604,8 +34614,10 @@ P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsScreenshots P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsSpellCheck P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsStructuralInput P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowsUserScriptExecution +P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AllowVirtualMachine P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.AutocorrectMode P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.ConfigurationsByApplication +P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.ConfigurationsByBinaryExecutable P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.MainParticipantConfiguration P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.RequiresManagedDevice P:AutomaticAssessmentConfiguration.AEAssessmentConfiguration.RequiresSingleUser @@ -55198,6 +55210,8 @@ T:AuthenticationServices.ASWebAuthenticationSessionWebBrowserSessionManager T:AuthenticationServices.PublicPrivateKeyAuthentication T:AutomaticAssessmentConfiguration.AEAppleMenuItem T:AutomaticAssessmentConfiguration.AEAssessmentApplication +T:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutable +T:AutomaticAssessmentConfiguration.AEAssessmentBinaryExecutableConfiguration T:AutomaticAssessmentConfiguration.AEAssessmentConfiguration T:AutomaticAssessmentConfiguration.AEAssessmentErrorCode T:AutomaticAssessmentConfiguration.AEAssessmentErrorKeys diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AutomaticAssessmentConfiguration.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AutomaticAssessmentConfiguration.todo deleted file mode 100644 index 49cf600c22e..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AutomaticAssessmentConfiguration.todo +++ /dev/null @@ -1,20 +0,0 @@ -!missing-selector! AEAssessmentBinaryExecutable::binaryExecutableURL not bound -!missing-selector! AEAssessmentBinaryExecutable::initWithBinaryExecutableURL: not bound -!missing-selector! AEAssessmentBinaryExecutable::initWithBinaryExecutableURL:teamIdentifier: not bound -!missing-selector! AEAssessmentBinaryExecutable::requiresSignatureValidation not bound -!missing-selector! AEAssessmentBinaryExecutable::setRequiresSignatureValidation: not bound -!missing-selector! AEAssessmentBinaryExecutable::teamIdentifier not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::allowsNetworkAccess not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::init not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::isRequired not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::setAllowsNetworkAccess: not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::setRequired: not bound -!missing-selector! AEAssessmentConfiguration::allowsForceQuit not bound -!missing-selector! AEAssessmentConfiguration::allowVirtualMachine not bound -!missing-selector! AEAssessmentConfiguration::configurationsByBinaryExecutable not bound -!missing-selector! AEAssessmentConfiguration::removeBinaryExecutable: not bound -!missing-selector! AEAssessmentConfiguration::setAllowsForceQuit: not bound -!missing-selector! AEAssessmentConfiguration::setAllowVirtualMachine: not bound -!missing-selector! AEAssessmentConfiguration::setConfiguration:forBinaryExecutable: not bound -!missing-type! AEAssessmentBinaryExecutable not bound -!missing-type! AEAssessmentBinaryExecutableConfiguration not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AutomaticAssessmentConfiguration.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AutomaticAssessmentConfiguration.todo deleted file mode 100644 index c84c9313562..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AutomaticAssessmentConfiguration.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! AEAssessmentApplication::initWithBundleIdentifier:teamIdentifier: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AutomaticAssessmentConfiguration.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AutomaticAssessmentConfiguration.todo deleted file mode 100644 index 49cf600c22e..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AutomaticAssessmentConfiguration.todo +++ /dev/null @@ -1,20 +0,0 @@ -!missing-selector! AEAssessmentBinaryExecutable::binaryExecutableURL not bound -!missing-selector! AEAssessmentBinaryExecutable::initWithBinaryExecutableURL: not bound -!missing-selector! AEAssessmentBinaryExecutable::initWithBinaryExecutableURL:teamIdentifier: not bound -!missing-selector! AEAssessmentBinaryExecutable::requiresSignatureValidation not bound -!missing-selector! AEAssessmentBinaryExecutable::setRequiresSignatureValidation: not bound -!missing-selector! AEAssessmentBinaryExecutable::teamIdentifier not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::allowsNetworkAccess not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::init not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::isRequired not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::setAllowsNetworkAccess: not bound -!missing-selector! AEAssessmentBinaryExecutableConfiguration::setRequired: not bound -!missing-selector! AEAssessmentConfiguration::allowsForceQuit not bound -!missing-selector! AEAssessmentConfiguration::allowVirtualMachine not bound -!missing-selector! AEAssessmentConfiguration::configurationsByBinaryExecutable not bound -!missing-selector! AEAssessmentConfiguration::removeBinaryExecutable: not bound -!missing-selector! AEAssessmentConfiguration::setAllowsForceQuit: not bound -!missing-selector! AEAssessmentConfiguration::setAllowVirtualMachine: not bound -!missing-selector! AEAssessmentConfiguration::setConfiguration:forBinaryExecutable: not bound -!missing-type! AEAssessmentBinaryExecutable not bound -!missing-type! AEAssessmentBinaryExecutableConfiguration not bound