Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion src/automaticassessmentconfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<NSUrl> AllowedDirectoriesAndFiles { get; set; }
Expand Down Expand Up @@ -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; }
Expand Down Expand Up @@ -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<AEAssessmentBinaryExecutable, AEAssessmentBinaryExecutableConfiguration> 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; }
Expand Down Expand Up @@ -391,21 +411,56 @@ 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);
Comment thread
dalexsoto marked this conversation as resolved.

[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; }

[Export ("requiresSignatureValidation")]
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 {
Expand Down
14 changes: 14 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading