From b6f4e3156fa75967c8a7d38792dba12bab35e3a7 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 01:59:27 +0100 Subject: [PATCH 01/36] [docs] Document ATTrackingManagerAuthorizationStatus Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/apptrackingtransparency.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/apptrackingtransparency.cs b/src/apptrackingtransparency.cs index af612aaaf9e2..388b20ecf74a 100644 --- a/src/apptrackingtransparency.cs +++ b/src/apptrackingtransparency.cs @@ -7,13 +7,18 @@ namespace AppTrackingTransparency { + /// Enumerates the user's tracking authorization status for the app. [iOS (14, 0), TV (14, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [Native] public enum ATTrackingManagerAuthorizationStatus : ulong { + /// The app hasn't asked the user for tracking authorization yet. NotDetermined = 0, + /// Tracking authorization is restricted on this device, and the user can't change it. Restricted = 1, + /// The user denied tracking authorization. Denied = 2, + /// The user authorized tracking. Authorized = 3, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 3549d1377a51..f472bae02a78 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -353,10 +353,6 @@ F:AppKit.NSWritingToolsResultOptions.PlainText F:AppKit.NSWritingToolsResultOptions.PresentationIntent F:AppKit.NSWritingToolsResultOptions.RichText F:AppKit.NSWritingToolsResultOptions.Table -F:AppTrackingTransparency.ATTrackingManagerAuthorizationStatus.Authorized -F:AppTrackingTransparency.ATTrackingManagerAuthorizationStatus.Denied -F:AppTrackingTransparency.ATTrackingManagerAuthorizationStatus.NotDetermined -F:AppTrackingTransparency.ATTrackingManagerAuthorizationStatus.Restricted F:ARKit.ARAltitudeSource.Coarse F:ARKit.ARAltitudeSource.Precise F:ARKit.ARAltitudeSource.Unknown @@ -53991,7 +53987,6 @@ T:AppKit.NSWritingToolsCoordinatorTextReplacementReason T:AppKit.NSWritingToolsCoordinatorTextUpdateReason T:AppKit.NSWritingToolsResultOptions T:AppTrackingTransparency.ATTrackingManager -T:AppTrackingTransparency.ATTrackingManagerAuthorizationStatus T:ARKit.ARAltitudeSource T:ARKit.ARAppClipCodeAnchor T:ARKit.ARAppClipCodeUrlDecodingState From 2847a6597966193da0fbf3e804d03c24504fd3e4 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:00:41 +0100 Subject: [PATCH 02/36] [docs] Document BGContinuedProcessingTaskRequestSubmissionStrategy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/backgroundtasks.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backgroundtasks.cs b/src/backgroundtasks.cs index 640562d17c14..ad7095cccce9 100644 --- a/src/backgroundtasks.cs +++ b/src/backgroundtasks.cs @@ -169,10 +169,13 @@ interface BGContinuedProcessingTaskRequest { NativeHandle Constructor (string identifier, string title, string subtitle); } + /// Enumerates how the scheduler handles a continued processing task request that can't run immediately. [NoTV, NoMacCatalyst, NoMac, iOS (26, 0)] [Native] public enum BGContinuedProcessingTaskRequestSubmissionStrategy : long { + /// Fail the submission if there is no room for the request, or if the system is under heavy load and can't run it immediately. Fail, + /// Add the request to the back of a queue if it can't run immediately. The system cancels queued requests when the user removes the app from the app switcher. Queue, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index f472bae02a78..698f7ee0b84a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1370,8 +1370,6 @@ F:BackgroundAssets.BAManagedErrorCode.AssetPackNotFound F:BackgroundAssets.BAManagedErrorCode.FileNotFound F:BackgroundTasks.BGContinuedProcessingTaskRequestResources.Default F:BackgroundTasks.BGContinuedProcessingTaskRequestResources.Gpu -F:BackgroundTasks.BGContinuedProcessingTaskRequestSubmissionStrategy.Fail -F:BackgroundTasks.BGContinuedProcessingTaskRequestSubmissionStrategy.Queue F:BackgroundTasks.BGTaskSchedulerErrorCode.ImmediateRunIneligible F:BackgroundTasks.BGTaskSchedulerErrorCode.NotPermitted F:BackgroundTasks.BGTaskSchedulerErrorCode.TooManyPendingTaskRequests @@ -54765,7 +54763,6 @@ T:BackgroundTasks.BGAppRefreshTaskRequest T:BackgroundTasks.BGContinuedProcessingTask T:BackgroundTasks.BGContinuedProcessingTaskRequest T:BackgroundTasks.BGContinuedProcessingTaskRequestResources -T:BackgroundTasks.BGContinuedProcessingTaskRequestSubmissionStrategy T:BackgroundTasks.BGHealthResearchTask T:BackgroundTasks.BGHealthResearchTaskRequest T:BackgroundTasks.BGProcessingTask From 3f847ab18df0cfd0d6f9b37cb55de12da87ebdac Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:00:42 +0100 Subject: [PATCH 03/36] [docs] Document BGContinuedProcessingTaskRequestResources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/backgroundtasks.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backgroundtasks.cs b/src/backgroundtasks.cs index ad7095cccce9..6f517fb17963 100644 --- a/src/backgroundtasks.cs +++ b/src/backgroundtasks.cs @@ -179,11 +179,14 @@ public enum BGContinuedProcessingTaskRequestSubmissionStrategy : long { Queue, } + /// Enumerates the extra system resources a continued processing task request can ask for. [NoTV, NoMacCatalyst, NoMac, iOS (26, 0)] [Native] [Flags] public enum BGContinuedProcessingTaskRequestResources : long { + /// No special system resources are required. The scheduler assumes the default resources, which allow background CPU and network access. Default = 0x0, + /// The task needs background GPU access. The system rejects the request if the app lacks the required entitlement. Not all devices support background GPU execution, and the system doesn't guarantee runtime under heavy GPU contention. Gpu = (1L << 0), } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 698f7ee0b84a..b146de277214 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1368,8 +1368,6 @@ F:BackgroundAssets.BAErrorCode.SessionDownloadDisallowedByDomain F:BackgroundAssets.BAErrorCode.SessionDownloadNotPermittedBeforeAppLaunch F:BackgroundAssets.BAManagedErrorCode.AssetPackNotFound F:BackgroundAssets.BAManagedErrorCode.FileNotFound -F:BackgroundTasks.BGContinuedProcessingTaskRequestResources.Default -F:BackgroundTasks.BGContinuedProcessingTaskRequestResources.Gpu F:BackgroundTasks.BGTaskSchedulerErrorCode.ImmediateRunIneligible F:BackgroundTasks.BGTaskSchedulerErrorCode.NotPermitted F:BackgroundTasks.BGTaskSchedulerErrorCode.TooManyPendingTaskRequests @@ -54762,7 +54760,6 @@ T:BackgroundTasks.BGAppRefreshTask T:BackgroundTasks.BGAppRefreshTaskRequest T:BackgroundTasks.BGContinuedProcessingTask T:BackgroundTasks.BGContinuedProcessingTaskRequest -T:BackgroundTasks.BGContinuedProcessingTaskRequestResources T:BackgroundTasks.BGHealthResearchTask T:BackgroundTasks.BGHealthResearchTaskRequest T:BackgroundTasks.BGProcessingTask From e1cbcbb8dc3010e910f43858c60ed09c62f5559c Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:00:43 +0100 Subject: [PATCH 04/36] [docs] Document BGTaskSchedulerErrorCode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/BackgroundTasks/Enums.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/BackgroundTasks/Enums.cs b/src/BackgroundTasks/Enums.cs index 6761e12b9209..64c040e1f970 100644 --- a/src/BackgroundTasks/Enums.cs +++ b/src/BackgroundTasks/Enums.cs @@ -11,14 +11,19 @@ namespace BackgroundTasks { + /// Enumerates the errors that can occur when scheduling a background task. [NoMac] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("BGTaskSchedulerErrorDomain")] public enum BGTaskSchedulerErrorCode : long { + /// The app or extension can't schedule background work. For example, the user disabled background refresh, the app runs in the simulator, or the extension type can't schedule background tasks. Unavailable = 1, + /// There are too many pending tasks of the requested type. Cancel some existing requests and submit the request again. TooManyPendingTaskRequests = 2, + /// The app isn't permitted to schedule the task. For example, the app doesn't declare the required background mode or the task identifier in its Info.plist, the task asks for unavailable resources, or the user denied background launches for the app. NotPermitted = 3, + /// The system couldn't run a continued processing task request immediately. The system only returns this error when the request uses the strategy. ImmediateRunIneligible = 4, } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index b146de277214..7d7567892650 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1368,10 +1368,6 @@ F:BackgroundAssets.BAErrorCode.SessionDownloadDisallowedByDomain F:BackgroundAssets.BAErrorCode.SessionDownloadNotPermittedBeforeAppLaunch F:BackgroundAssets.BAManagedErrorCode.AssetPackNotFound F:BackgroundAssets.BAManagedErrorCode.FileNotFound -F:BackgroundTasks.BGTaskSchedulerErrorCode.ImmediateRunIneligible -F:BackgroundTasks.BGTaskSchedulerErrorCode.NotPermitted -F:BackgroundTasks.BGTaskSchedulerErrorCode.TooManyPendingTaskRequests -F:BackgroundTasks.BGTaskSchedulerErrorCode.Unavailable F:BrowserEngineKit.BEAccessibilityContainerType.Alert F:BrowserEngineKit.BEAccessibilityContainerType.Article F:BrowserEngineKit.BEAccessibilityContainerType.DescriptionList @@ -54767,7 +54763,6 @@ T:BackgroundTasks.BGProcessingTaskRequest T:BackgroundTasks.BGTask T:BackgroundTasks.BGTaskRequest T:BackgroundTasks.BGTaskScheduler -T:BackgroundTasks.BGTaskSchedulerErrorCode T:BackgroundTasks.BGTaskSchedulerSubmitCompletionHandler T:BrowserEngineCore.BEAudioSession T:BrowserEngineKit.BEAccessibilityContainerType From ca9cf23beff2395ee45412b6d15a7bd206d75c39 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:00:55 +0100 Subject: [PATCH 05/36] [docs] Document CXErrorCodeNotificationServiceExtensionError Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/callkit.cs | 4 ++++ tests/cecil-tests/Documentation.KnownFailures.txt | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/callkit.cs b/src/callkit.cs index 2ffc411d8033..cd1793c6ffd0 100644 --- a/src/callkit.cs +++ b/src/callkit.cs @@ -109,13 +109,17 @@ public enum CXErrorCodeCallDirectoryManagerError : long { UnexpectedIncrementalRemoval = 8, } + /// Enumerates the errors that CallKit reports to a notification service extension. [iOS (14, 5), NoTV, NoMac] [Introduced (PlatformName.MacCatalyst, 14, 5)] [ErrorDomain ("CXErrorDomainNotificationServiceExtension")] [Native] public enum CXErrorCodeNotificationServiceExtensionError : long { + /// An unknown error occurred. Unknown = 0, + /// The request came from a process that isn't a valid client, such as one that isn't a notification service extension. InvalidClientProcess = 1, + /// The extension doesn't have the notification filtering entitlement. MissingNotificationFilteringEntitlement = 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 7d7567892650..61223bbc822e 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1444,9 +1444,6 @@ F:CallKit.CXErrorCode.Unentitled F:CallKit.CXErrorCodeIncomingCallError.CallIsProtected F:CallKit.CXErrorCodeIncomingCallError.FilteredBySensitiveParticipants F:CallKit.CXErrorCodeIncomingCallError.FilteredDuringRestrictedSharingMode -F:CallKit.CXErrorCodeNotificationServiceExtensionError.InvalidClientProcess -F:CallKit.CXErrorCodeNotificationServiceExtensionError.MissingNotificationFilteringEntitlement -F:CallKit.CXErrorCodeNotificationServiceExtensionError.Unknown F:CallKit.CXErrorCodeRequestTransactionError.CallIsProtected F:CallKit.CXTranslationEngine.Custom F:CallKit.CXTranslationEngine.Default @@ -54830,7 +54827,6 @@ T:BrowserEngineKit.NSObject_BEAccessibility T:BusinessChat.BCChatButton T:BusinessChat.BCChatButtonStyle T:BusinessChat.BCParameterName -T:CallKit.CXErrorCodeNotificationServiceExtensionError T:CallKit.CXSetTranslatingCallAction T:CallKit.CXTranslationEngine T:CarPlay.CPActionSheetTemplate From 5f6687a2adad06f8358f1f791055af1a24955cff Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:00:55 +0100 Subject: [PATCH 06/36] [docs] Document CXTranslationEngine Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/callkit.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/callkit.cs b/src/callkit.cs index cd1793c6ffd0..c23fbc6acfd0 100644 --- a/src/callkit.cs +++ b/src/callkit.cs @@ -938,10 +938,13 @@ interface CXSetTranslatingCallAction : NSSecureCoding { void Fulfill (CXTranslationEngine translationEngine); } + /// Enumerates the translation engines that can translate a call. [iOS (26, 0), NoMacCatalyst, NoMac] [Native] public enum CXTranslationEngine : long { + /// The system's translation engine translates the call. Default, + /// The app's own translation engine translates the call. Custom, } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 61223bbc822e..32534a007f0f 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1445,8 +1445,6 @@ F:CallKit.CXErrorCodeIncomingCallError.CallIsProtected F:CallKit.CXErrorCodeIncomingCallError.FilteredBySensitiveParticipants F:CallKit.CXErrorCodeIncomingCallError.FilteredDuringRestrictedSharingMode F:CallKit.CXErrorCodeRequestTransactionError.CallIsProtected -F:CallKit.CXTranslationEngine.Custom -F:CallKit.CXTranslationEngine.Default F:CarPlay.CPAssistantCellActionType.PlayMedia F:CarPlay.CPAssistantCellActionType.StartCall F:CarPlay.CPAssistantCellPosition.Bottom @@ -54828,7 +54826,6 @@ T:BusinessChat.BCChatButton T:BusinessChat.BCChatButtonStyle T:BusinessChat.BCParameterName T:CallKit.CXSetTranslatingCallAction -T:CallKit.CXTranslationEngine T:CarPlay.CPActionSheetTemplate T:CarPlay.CPAlertTemplate T:CarPlay.CPAssistantCellActionType From a5cd0048c59b4a54533e5947e8b623a06da1c40e Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:01 +0100 Subject: [PATCH 07/36] [docs] Document CLSProgressReportingCapabilityKind Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/classkit.cs | 6 ++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/classkit.cs b/src/classkit.cs index 0bded3971fd6..7dc8f213a6b6 100644 --- a/src/classkit.cs +++ b/src/classkit.cs @@ -137,14 +137,20 @@ enum CLSContextTopic { } + /// Enumerates the kinds of progress an app can report. [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV, iOS (14, 0)] [Native] public enum CLSProgressReportingCapabilityKind : long { + /// The app reports the time spent. Every context has this capability by default. Duration = 0, + /// The app reports a progress percentage. Percent, + /// The app reports a binary value, such as true or false, pass or fail, or correct or incorrect. Binary, + /// The app reports a discrete value. Quantity, + /// The app reports a score. Score, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 32534a007f0f..83717db75d7b 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1624,11 +1624,6 @@ F:ClassKit.CLSContextTopic.None F:ClassKit.CLSContextType.Course F:ClassKit.CLSContextType.Custom F:ClassKit.CLSErrorCode.InvalidAccountCredentials -F:ClassKit.CLSProgressReportingCapabilityKind.Binary -F:ClassKit.CLSProgressReportingCapabilityKind.Duration -F:ClassKit.CLSProgressReportingCapabilityKind.Percent -F:ClassKit.CLSProgressReportingCapabilityKind.Quantity -F:ClassKit.CLSProgressReportingCapabilityKind.Score F:Contacts.CNAuthorizationStatus.Limited F:Contacts.CNErrorCode.ChangeHistoryExpired F:Contacts.CNErrorCode.ChangeHistoryInvalidAnchor @@ -54966,7 +54961,6 @@ T:Cinematic.CNSpatialAudioContentType T:Cinematic.CNSpatialAudioRenderingStyle T:ClassKit.CLSBinaryItem T:ClassKit.CLSProgressReportingCapability -T:ClassKit.CLSProgressReportingCapabilityKind T:CloudKit.CKAcceptPerShareCompletionHandler T:CloudKit.CKAcceptSharesOperation T:CloudKit.CKAllowedSharingOptions From 1d2e09a1d44585b2af0c6b643f8562c520ca0b45 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:10 +0100 Subject: [PATCH 08/36] [docs] Document CBConnectionEvent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/CoreBluetooth/Enums.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CoreBluetooth/Enums.cs b/src/CoreBluetooth/Enums.cs index db43134a4f60..09bb19fc3de0 100644 --- a/src/CoreBluetooth/Enums.cs +++ b/src/CoreBluetooth/Enums.cs @@ -255,10 +255,13 @@ public enum CBPeripheralManagerConnectionLatency : long { High, } + /// Enumerates the connection events of a peripheral. [MacCatalyst (13, 1)] [Native] public enum CBConnectionEvent : long { + /// The peripheral disconnected. Disconnected = 0, + /// The peripheral connected. Connected = 1, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 83717db75d7b..d3739e1ed0ff 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1664,8 +1664,6 @@ F:CoreAnimation.CATransform3D.M42 F:CoreAnimation.CATransform3D.M43 F:CoreAnimation.CATransform3D.M44 F:CoreBluetooth.CBCentralManagerFeature.ExtendedScanAndConnect -F:CoreBluetooth.CBConnectionEvent.Connected -F:CoreBluetooth.CBConnectionEvent.Disconnected F:CoreBluetooth.CBError.EncryptionTimedOut F:CoreBluetooth.CBError.LEGattExceededBackgroundNotificationLimit F:CoreBluetooth.CBError.LEGattNearBackgroundNotificationLimit @@ -55112,7 +55110,6 @@ T:CoreAudioKit.CAInterDeviceAudioViewController T:CoreAudioKit.CANetworkBrowserWindowController T:CoreBluetooth.AdvertisementData T:CoreBluetooth.CBCentralManagerFeature -T:CoreBluetooth.CBConnectionEvent T:CoreBluetooth.CBConnectionEventMatchingOptions T:CoreBluetooth.CBConnectPeripheralOptions T:CoreBluetooth.CBL2CapChannel From 130aaf56a4522b10e950152aa84732fbb6b5ec05 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:11 +0100 Subject: [PATCH 09/36] [docs] Document CBCentralManagerFeature Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/CoreBluetooth/Enums.cs | 2 ++ tests/cecil-tests/Documentation.KnownFailures.txt | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CoreBluetooth/Enums.cs b/src/CoreBluetooth/Enums.cs index 09bb19fc3de0..919c47a8f406 100644 --- a/src/CoreBluetooth/Enums.cs +++ b/src/CoreBluetooth/Enums.cs @@ -265,10 +265,12 @@ public enum CBConnectionEvent : long { Connected = 1, } + /// Enumerates the device-specific features of a central manager. [Flags, NoMac] [MacCatalyst (13, 1)] [Native] public enum CBCentralManagerFeature : ulong { + /// The hardware supports extended scans and enhanced connection creation. ExtendedScanAndConnect = 1uL << 0, /// The hardware and region support channel sounding. [NoTV, iOS (27, 0), MacCatalyst (27, 0)] diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index d3739e1ed0ff..00a5dc6f1472 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1663,7 +1663,6 @@ F:CoreAnimation.CATransform3D.M41 F:CoreAnimation.CATransform3D.M42 F:CoreAnimation.CATransform3D.M43 F:CoreAnimation.CATransform3D.M44 -F:CoreBluetooth.CBCentralManagerFeature.ExtendedScanAndConnect F:CoreBluetooth.CBError.EncryptionTimedOut F:CoreBluetooth.CBError.LEGattExceededBackgroundNotificationLimit F:CoreBluetooth.CBError.LEGattNearBackgroundNotificationLimit @@ -55109,7 +55108,6 @@ T:CoreAudioKit.CABtleMidiWindowController T:CoreAudioKit.CAInterDeviceAudioViewController T:CoreAudioKit.CANetworkBrowserWindowController T:CoreBluetooth.AdvertisementData -T:CoreBluetooth.CBCentralManagerFeature T:CoreBluetooth.CBConnectionEventMatchingOptions T:CoreBluetooth.CBConnectPeripheralOptions T:CoreBluetooth.CBL2CapChannel From e5b31bc5853ff232d437d887e184bdcf260e0919 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:11 +0100 Subject: [PATCH 10/36] [docs] Document CBManagerAuthorization Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/CoreBluetooth/Enums.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CoreBluetooth/Enums.cs b/src/CoreBluetooth/Enums.cs index 919c47a8f406..da47a428af2d 100644 --- a/src/CoreBluetooth/Enums.cs +++ b/src/CoreBluetooth/Enums.cs @@ -277,12 +277,17 @@ public enum CBCentralManagerFeature : ulong { ChannelSounding = 1uL << 10, } + /// Enumerates the user's Bluetooth authorization status for the app. [MacCatalyst (13, 1)] [Native] public enum CBManagerAuthorization : long { + /// The user hasn't made a choice about this app using Bluetooth yet. NotDetermined = 0, + /// The app isn't authorized to use Bluetooth, and the user can't change that. For example, parental controls might be active. Restricted, + /// The user denied this app the use of Bluetooth. Denied, + /// The user authorized this app to always use Bluetooth. AllowedAlways, } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 00a5dc6f1472..5e5bea909ee7 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -1668,10 +1668,6 @@ F:CoreBluetooth.CBError.LEGattExceededBackgroundNotificationLimit F:CoreBluetooth.CBError.LEGattNearBackgroundNotificationLimit F:CoreBluetooth.CBError.PeerRemovedPairingInformation F:CoreBluetooth.CBError.TooManyLEPairedDevices -F:CoreBluetooth.CBManagerAuthorization.AllowedAlways -F:CoreBluetooth.CBManagerAuthorization.Denied -F:CoreBluetooth.CBManagerAuthorization.NotDetermined -F:CoreBluetooth.CBManagerAuthorization.Restricted F:CoreData.NSAttributeType.CompositeAttributeType F:CoreData.NSBatchInsertRequestResultType.Count F:CoreData.NSBatchInsertRequestResultType.ObjectIds @@ -55111,7 +55107,6 @@ T:CoreBluetooth.AdvertisementData T:CoreBluetooth.CBConnectionEventMatchingOptions T:CoreBluetooth.CBConnectPeripheralOptions T:CoreBluetooth.CBL2CapChannel -T:CoreBluetooth.CBManagerAuthorization T:CoreBluetooth.RestoredState T:CoreData.NSBatchInsertRequest T:CoreData.NSBatchInsertRequestDictionaryHandler From 74891a71ecbd99478e8bbecfd2b03057f9463576 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:19 +0100 Subject: [PATCH 11/36] [docs] Document EPDeveloperToolStatus Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/executionpolicy.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/executionpolicy.cs b/src/executionpolicy.cs index d54428a5eee2..c42eb56a15f4 100644 --- a/src/executionpolicy.cs +++ b/src/executionpolicy.cs @@ -4,12 +4,17 @@ namespace ExecutionPolicy { + /// Enumerates whether a process has developer tool privileges. [MacCatalyst (16, 0)] [Native] public enum EPDeveloperToolStatus : long { + /// The user hasn't decided whether the process gets developer tool privileges. NotDetermined = 0, + /// The process can't get developer tool privileges, and the user can't change that. Restricted, + /// The user denied developer tool privileges to the process. Denied, + /// The process has developer tool privileges. Authorized, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 5e5bea909ee7..3bc04594d5ac 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -2558,10 +2558,6 @@ F:EventKit.EKErrorCode.NotificationSavedWithoutCollection F:EventKit.EKErrorCode.NotificationsCollectionFlagNotSet F:EventKit.EKErrorCode.ReminderAlarmContainsEmailOrUrl F:EventKit.EKErrorCode.SourceMismatch -F:ExecutionPolicy.EPDeveloperToolStatus.Authorized -F:ExecutionPolicy.EPDeveloperToolStatus.Denied -F:ExecutionPolicy.EPDeveloperToolStatus.NotDetermined -F:ExecutionPolicy.EPDeveloperToolStatus.Restricted F:ExecutionPolicy.EPError.Generic F:ExecutionPolicy.EPError.NotADeveloperTool F:FileProvider.NSFileProviderContentPolicy.DownloadEagerlyAndKeepDownloaded @@ -55634,7 +55630,6 @@ T:EventKit.VirtualConferenceHandler T:EventKit.VirtualConferenceRoomTypeHandler T:EventKitUI.EKEventEditController T:ExecutionPolicy.EPDeveloperTool -T:ExecutionPolicy.EPDeveloperToolStatus T:ExecutionPolicy.EPError T:ExecutionPolicy.EPExecutionPolicy T:ExtensionKit.EXAppExtensionBrowserViewController From 6724c988edaafd2bc88c68d111e57411691f358a Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:19 +0100 Subject: [PATCH 12/36] [docs] Document EPError Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/executionpolicy.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/executionpolicy.cs b/src/executionpolicy.cs index c42eb56a15f4..7ce1f50c458b 100644 --- a/src/executionpolicy.cs +++ b/src/executionpolicy.cs @@ -18,11 +18,14 @@ public enum EPDeveloperToolStatus : long { Authorized, } + /// Enumerates the errors that the ExecutionPolicy framework reports. [MacCatalyst (16, 0)] [Native] [ErrorDomain ("EPErrorDomain")] public enum EPError : long { + /// A general error occurred. Generic = 1, + /// The process isn't a developer tool. NotADeveloperTool, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 3bc04594d5ac..a4ef1c3329f0 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -2558,8 +2558,6 @@ F:EventKit.EKErrorCode.NotificationSavedWithoutCollection F:EventKit.EKErrorCode.NotificationsCollectionFlagNotSet F:EventKit.EKErrorCode.ReminderAlarmContainsEmailOrUrl F:EventKit.EKErrorCode.SourceMismatch -F:ExecutionPolicy.EPError.Generic -F:ExecutionPolicy.EPError.NotADeveloperTool F:FileProvider.NSFileProviderContentPolicy.DownloadEagerlyAndKeepDownloaded F:FileProvider.NSFileProviderContentPolicy.DownloadLazily F:FileProvider.NSFileProviderContentPolicy.DownloadLazilyAndEvictOnRemoteUpdate @@ -55630,7 +55628,6 @@ T:EventKit.VirtualConferenceHandler T:EventKit.VirtualConferenceRoomTypeHandler T:EventKitUI.EKEventEditController T:ExecutionPolicy.EPDeveloperTool -T:ExecutionPolicy.EPError T:ExecutionPolicy.EPExecutionPolicy T:ExtensionKit.EXAppExtensionBrowserViewController T:ExtensionKit.EXHostViewController From 82a5f4e2faebaf9d242315dafebf86502c902058 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:28 +0100 Subject: [PATCH 13/36] [docs] Document GSSyncState Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/gamesave.cs | 8 ++++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gamesave.cs b/src/gamesave.cs index 28e4e9484f06..29f9bf06dfcf 100644 --- a/src/gamesave.cs +++ b/src/gamesave.cs @@ -10,15 +10,23 @@ #endif namespace GameSave { + /// Enumerates the sync states of a synced directory. [iOS (26, 0), Mac (26, 0), MacCatalyst (26, 0)] [Native] public enum GSSyncState : long { + /// The directory is fully synced and ready to use. Ready, + /// The directory is available locally, but it isn't fully synced because the device is offline. Offline, + /// The directory is local-only and isn't synced to iCloud. Local, + /// The directory is syncing and isn't ready yet. Syncing, + /// The directory has conflicts with the cloud that the game needs to resolve. Conflicted, + /// The directory is in an error state and can't be used. Error, + /// The directory is closed. Closed, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index a4ef1c3329f0..14814603e755 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -3123,13 +3123,6 @@ F:GameKit.GKPeerConnectionState.ConnectedRelay F:GameKit.GKReleaseState.Prereleased F:GameKit.GKReleaseState.Released F:GameKit.GKReleaseState.Unknown -F:GameSave.GSSyncState.Closed -F:GameSave.GSSyncState.Conflicted -F:GameSave.GSSyncState.Error -F:GameSave.GSSyncState.Local -F:GameSave.GSSyncState.Offline -F:GameSave.GSSyncState.Ready -F:GameSave.GSSyncState.Syncing F:HealthKit.HKActivityMoveMode.ActiveEnergy F:HealthKit.HKActivityMoveMode.AppleMoveTime F:HealthKit.HKAppleEcgAlgorithmVersion.Version1 @@ -56252,7 +56245,6 @@ T:GameplayKit.SKNode_GameplayKit T:GameSave.GSSyncedDirectory T:GameSave.GSSyncedDirectoryState T:GameSave.GSSyncedDirectoryVersion -T:GameSave.GSSyncState T:HealthKit.HKActivityMoveMode T:HealthKit.HKActivityMoveModeObject T:HealthKit.HKAnchoredObjectUpdateHandler From e178176891726f4eaee6d76d75b366878de14c1d Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:28 +0100 Subject: [PATCH 14/36] [docs] Document HMHomeManagerAuthorizationStatus Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/HomeKit/HMEnums.cs | 4 ++++ tests/cecil-tests/Documentation.KnownFailures.txt | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index aaa00ea64b24..2d930515df73 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -1628,12 +1628,16 @@ public enum HMSignificantEvent { Sunset, } + /// Enumerates the authorization status of an app to access home data. [NoMac, MacCatalyst (14, 0)] [Flags] [Native] public enum HMHomeManagerAuthorizationStatus : ulong { + /// The user has made a choice about the app accessing home data. Determined = 1 << 0, + /// The system currently restricts access to home data. Restricted = 1 << 1, + /// The app is authorized to access home data. Authorized = 1 << 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 14814603e755..e0925de63a55 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -3521,9 +3521,6 @@ F:HomeKit.HMError.PartialCommunicationFailure F:HomeKit.HMError.QuotaExceeded F:HomeKit.HMError.TimedOutWaitingForAccessory F:HomeKit.HMError.WiFiCredentialGenerationFailed -F:HomeKit.HMHomeManagerAuthorizationStatus.Authorized -F:HomeKit.HMHomeManagerAuthorizationStatus.Determined -F:HomeKit.HMHomeManagerAuthorizationStatus.Restricted F:HomeKit.HMServiceType.InputSource F:HomeKit.HMServiceType.Television F:HomeKit.HMServiceType.WiFiRouter @@ -56411,7 +56408,6 @@ T:HomeKit.HMFetchRoomHandler T:HomeKit.HMHome T:HomeKit.HMHomeAccessControl T:HomeKit.HMHomeManager -T:HomeKit.HMHomeManagerAuthorizationStatus T:HomeKit.HMHomeManagerFindVendorAccessoryCallback T:HomeKit.HMLocationEvent T:HomeKit.HMMutableCalendarEvent From 4361515bffc319f8ce60374e63f0866c139fa0c4 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:39 +0100 Subject: [PATCH 15/36] [docs] Document LPErrorCode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/linkpresentation.cs | 6 ++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/linkpresentation.cs b/src/linkpresentation.cs index 6c33467175dd..414a1d80c427 100644 --- a/src/linkpresentation.cs +++ b/src/linkpresentation.cs @@ -18,15 +18,21 @@ namespace LinkPresentation { + /// Enumerates the errors that can occur when fetching link metadata. [ErrorDomain ("LPErrorDomain")] [TV (14, 0)] [MacCatalyst (13, 1)] [Native] public enum LPErrorCode : long { + /// An unknown error occurred. Unknown = 1, + /// Fetching the metadata failed. MetadataFetchFailed, + /// The client canceled the metadata fetch. MetadataFetchCancelled, + /// The metadata fetch took longer than allowed. MetadataFetchTimedOut, + /// System policies don't allow the metadata fetch. MetadataFetchNotAllowed, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index e0925de63a55..95d36f0d5745 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -4028,11 +4028,6 @@ F:Intents.INVocabularyStringType.MediaAudiobookTitle F:Intents.INVocabularyStringType.MediaMusicArtistName F:Intents.INVocabularyStringType.MediaPlaylistTitle F:Intents.INVocabularyStringType.MediaShowTitle -F:LinkPresentation.LPErrorCode.MetadataFetchCancelled -F:LinkPresentation.LPErrorCode.MetadataFetchFailed -F:LinkPresentation.LPErrorCode.MetadataFetchNotAllowed -F:LinkPresentation.LPErrorCode.MetadataFetchTimedOut -F:LinkPresentation.LPErrorCode.Unknown F:LocalAuthentication.LABiometryType.OpticId F:LocalAuthentication.LACompanionType.Mac F:LocalAuthentication.LACompanionType.None @@ -56726,7 +56721,6 @@ T:iTunesLibrary.ITLibrary T:iTunesLibrary.ITLibraryNotifications T:iTunesLibrary.MediaItemProperty T:JavaScriptCore.JSPromiseCreationExecutor -T:LinkPresentation.LPErrorCode T:LinkPresentation.LPLinkMetadata T:LinkPresentation.LPLinkView T:LinkPresentation.LPMetadataProvider From 1b61bd03ae2e1d1323273096b163b807c5c36ef8 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:39 +0100 Subject: [PATCH 16/36] [docs] Document LARightState Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/LocalAuthentication/LAEnums.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/LocalAuthentication/LAEnums.cs b/src/LocalAuthentication/LAEnums.cs index c869dc30c764..6d5d12d13b40 100644 --- a/src/LocalAuthentication/LAEnums.cs +++ b/src/LocalAuthentication/LAEnums.cs @@ -128,12 +128,17 @@ public enum LAAccessControlOperation : long { UseKeyKeyExchange, } + /// Enumerates the states of a right. [iOS (16, 0), MacCatalyst (16, 0), NoTV] [Native] public enum LARightState : long { + /// The right hasn't been evaluated yet. This is the initial state of a right. Unknown = 0, + /// The system is evaluating the requirements. This happens after the app requests authorization, but before the user grants the right. Authorizing = 1, + /// The right was authorized. Authorized = 2, + /// The right wasn't authorized. For example, the requirements weren't met or the user rejected the request. NotAuthorized = 3, } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 95d36f0d5745..a6f416a4feb0 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -4037,10 +4037,6 @@ F:LocalAuthentication.LACredentialType.SmartCardPin F:LocalAuthentication.LAPolicy.DeviceOwnerAuthenticationWithBiometricsOrWatch F:LocalAuthentication.LAPolicy.DeviceOwnerAuthenticationWithWatch F:LocalAuthentication.LAPolicy.DeviceOwnerAuthenticationWithWristDetection -F:LocalAuthentication.LARightState.Authorized -F:LocalAuthentication.LARightState.Authorizing -F:LocalAuthentication.LARightState.NotAuthorized -F:LocalAuthentication.LARightState.Unknown F:LocalAuthentication.LAStatus.BiometryDisconnected F:LocalAuthentication.LAStatus.BiometryNotPaired F:LocalAuthentication.LAStatus.CompanionNotAvailable @@ -56744,7 +56740,6 @@ T:LocalAuthentication.LAPublicKeyCompletionHandler T:LocalAuthentication.LAPublicKeyVerifyDataCompletionHandler T:LocalAuthentication.LARight T:LocalAuthentication.LARightAuthorizeCompletionHandler -T:LocalAuthentication.LARightState T:LocalAuthentication.LARightStore T:LocalAuthentication.LARightStoreCompletionHandler T:LocalAuthentication.LARightStoreRemoveRightCompletionHandler From 74f75ee148b2a6d7d7b2af73f51836bbeeed0180 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:45 +0100 Subject: [PATCH 17/36] [docs] Document MXErrorCode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/MetricKit/MXEnums.cs | 7 +++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/MetricKit/MXEnums.cs b/src/MetricKit/MXEnums.cs index 8a604b7d25c7..fdf796c6327c 100644 --- a/src/MetricKit/MXEnums.cs +++ b/src/MetricKit/MXEnums.cs @@ -8,15 +8,22 @@ using CoreFoundation; namespace MetricKit { + /// Enumerates the errors that MetricKit reports for launch tasks. [NoMac, iOS (16, 0), MacCatalyst (16, 0), NoTV] [ErrorDomain ("MXErrorDomain")] [Native] public enum MXErrorCode : long { + /// The task identifier is null or longer than 128 characters. InvalidId, + /// The app exceeded the maximum number of tasks. MaxCount, + /// The app started the task too late. PastDeadline, + /// A task with the same identifier has already been started. Duplicated, + /// The task hasn't been started, or it has already finished. Unknown, + /// MetricKit failed internally. InternalFailure, } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index a6f416a4feb0..6bf34bce80f7 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -4795,12 +4795,6 @@ F:MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout.Ndhwc F:MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout.Nhwc F:MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout.Oidhw F:MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout.Oihw -F:MetricKit.MXErrorCode.Duplicated -F:MetricKit.MXErrorCode.InternalFailure -F:MetricKit.MXErrorCode.InvalidId -F:MetricKit.MXErrorCode.MaxCount -F:MetricKit.MXErrorCode.PastDeadline -F:MetricKit.MXErrorCode.Unknown F:MLCompute.MLCActivationType.Absolute F:MLCompute.MLCActivationType.Celu F:MLCompute.MLCActivationType.Clamp @@ -57584,7 +57578,6 @@ T:MetricKit.MXDiskIOMetric T:MetricKit.MXDiskSpaceUsageMetric T:MetricKit.MXDiskWriteExceptionDiagnostic T:MetricKit.MXDisplayMetric -T:MetricKit.MXErrorCode T:MetricKit.MXForegroundExitData T:MetricKit.MXGpuMetric T:MetricKit.MXHangDiagnostic From 47a2c56300111e7c45118083fe0337797a9dc778 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:54 +0100 Subject: [PATCH 18/36] [docs] Document SCNLightProbeType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/SceneKit/Defs.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index 61c81b5e15bd..dbbe7c38793c 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -622,10 +622,13 @@ public enum SCNNodeFocusBehavior : long { Focusable, } + /// Enumerates the kinds of light probes. [MacCatalyst (13, 1)] [Native] public enum SCNLightProbeType : long { + /// The probe bakes and stores spherical harmonics. This is the default. Irradiance = 0, + /// The probe captures radiance (reflections) in its extents, either by capturing the scene or from a cube texture the app provides. Radiance = 1, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 6bf34bce80f7..adcf446805b1 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5498,8 +5498,6 @@ F:SafetyKit.SAErrorCode.NotAuthorized F:SafetyKit.SAErrorCode.OperationFailed F:SceneKit.SCNLightAreaType.Polygon F:SceneKit.SCNLightAreaType.Rectangle -F:SceneKit.SCNLightProbeType.Irradiance -F:SceneKit.SCNLightProbeType.Radiance F:SceneKit.SCNLightProbeUpdateType.Never F:SceneKit.SCNLightProbeUpdateType.Realtime F:ScreenCaptureKit.SCCaptureDynamicRange.HdrCanonicalDisplay @@ -58264,7 +58262,6 @@ T:SceneKit.SCNInteractionMode T:SceneKit.SCNLayer T:SceneKit.SCNLightAreaType T:SceneKit.SCNLightAttribute -T:SceneKit.SCNLightProbeType T:SceneKit.SCNLightProbeUpdateType T:SceneKit.SCNNodeHandler T:SceneKit.SCNParticleProperty From e40783431b47f746a9e4d4d0463a7240cf1ca432 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:54 +0100 Subject: [PATCH 19/36] [docs] Document SCNLightProbeUpdateType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/SceneKit/Defs.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index dbbe7c38793c..da6af77c36df 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -632,10 +632,13 @@ public enum SCNLightProbeType : long { Radiance = 1, } + /// Enumerates how often a light probe updates. [MacCatalyst (13, 1)] [Native] public enum SCNLightProbeUpdateType : long { + /// SceneKit never updates the probe automatically. For example, the probe was baked in the Xcode scene editor, or it uses a provided environment. Never = 0, + /// SceneKit updates the probe automatically every frame. Realtime = 1, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index adcf446805b1..c4fd81542937 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5498,8 +5498,6 @@ F:SafetyKit.SAErrorCode.NotAuthorized F:SafetyKit.SAErrorCode.OperationFailed F:SceneKit.SCNLightAreaType.Polygon F:SceneKit.SCNLightAreaType.Rectangle -F:SceneKit.SCNLightProbeUpdateType.Never -F:SceneKit.SCNLightProbeUpdateType.Realtime F:ScreenCaptureKit.SCCaptureDynamicRange.HdrCanonicalDisplay F:ScreenCaptureKit.SCCaptureDynamicRange.HdrLocalDisplay F:ScreenCaptureKit.SCCaptureDynamicRange.Sdr @@ -58262,7 +58260,6 @@ T:SceneKit.SCNInteractionMode T:SceneKit.SCNLayer T:SceneKit.SCNLightAreaType T:SceneKit.SCNLightAttribute -T:SceneKit.SCNLightProbeUpdateType T:SceneKit.SCNNodeHandler T:SceneKit.SCNParticleProperty T:SceneKit.SCNPhysicsConeTwistJoint From 7ecbaab0500176fb0696c946c198d401e247a45d Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:01:55 +0100 Subject: [PATCH 20/36] [docs] Document SCNLightAreaType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/SceneKit/Defs.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index da6af77c36df..59a41ef0e414 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -642,10 +642,13 @@ public enum SCNLightProbeUpdateType : long { Realtime = 1, } + /// Enumerates the shapes of an area light. [MacCatalyst (13, 1)] [Native] public enum SCNLightAreaType : long { + /// The light is a rectangle. This is the default. Rectangle = 1, + /// The light is a polygon. Polygon = 4, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index c4fd81542937..0b566d80514d 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5496,8 +5496,6 @@ F:SafetyKit.SAErrorCode.InvalidArgument F:SafetyKit.SAErrorCode.NotAllowed F:SafetyKit.SAErrorCode.NotAuthorized F:SafetyKit.SAErrorCode.OperationFailed -F:SceneKit.SCNLightAreaType.Polygon -F:SceneKit.SCNLightAreaType.Rectangle F:ScreenCaptureKit.SCCaptureDynamicRange.HdrCanonicalDisplay F:ScreenCaptureKit.SCCaptureDynamicRange.HdrLocalDisplay F:ScreenCaptureKit.SCCaptureDynamicRange.Sdr @@ -58258,7 +58256,6 @@ T:SceneKit.SCNGeometryTessellator T:SceneKit.SCNHitTestSearchMode T:SceneKit.SCNInteractionMode T:SceneKit.SCNLayer -T:SceneKit.SCNLightAreaType T:SceneKit.SCNLightAttribute T:SceneKit.SCNNodeHandler T:SceneKit.SCNParticleProperty From 17801c16e2dad17d732434dfd7f64eeb3821973b Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:06 +0100 Subject: [PATCH 21/36] [docs] Document SCSensitiveContentType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/sensitivecontentanalysis.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sensitivecontentanalysis.cs b/src/sensitivecontentanalysis.cs index 204f7b684bf1..56290ecd337c 100644 --- a/src/sensitivecontentanalysis.cs +++ b/src/sensitivecontentanalysis.cs @@ -6,11 +6,14 @@ using VideoToolbox; namespace SensitiveContentAnalysis { + /// Enumerates the types of sensitive content. [NoTV, iOS (27, 0), Mac (27, 0), MacCatalyst (27, 0)] public enum SCSensitiveContentType { + /// The content is sexually explicit. [Field ("SCSensitiveContentTypeSexuallyExplicit")] SexuallyExplicit, + /// The content contains gore or violence. [Field ("SCSensitiveContentTypeGoreOrViolence")] GoreOrViolence, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 0b566d80514d..6e1d2b48a4e6 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5628,8 +5628,6 @@ F:Security.TlsProtocolVersion.Tls10 F:Security.TlsProtocolVersion.Tls11 F:Security.TlsProtocolVersion.Tls12 F:Security.TlsProtocolVersion.Tls13 -F:SensitiveContentAnalysis.SCSensitiveContentType.GoreOrViolence -F:SensitiveContentAnalysis.SCSensitiveContentType.SexuallyExplicit F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.DescriptiveInterventions F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.Disabled F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.SimpleInterventions @@ -58331,7 +58329,6 @@ T:Security.TlsCipherSuite T:Security.TlsCipherSuiteGroup T:Security.TlsProtocolVersion T:SecurityUI.SFCertificatePresentation -T:SensitiveContentAnalysis.SCSensitiveContentType T:SensitiveContentAnalysis.SCSensitivityAnalysis T:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy T:SensitiveContentAnalysis.SCSensitivityAnalyzer From 097ff98fee97dcfaeb2410b70a3a5a1405ba9e2a Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:07 +0100 Subject: [PATCH 22/36] [docs] Document SCSensitivityAnalysisPolicy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/sensitivecontentanalysis.cs | 4 ++++ tests/cecil-tests/Documentation.KnownFailures.txt | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sensitivecontentanalysis.cs b/src/sensitivecontentanalysis.cs index 56290ecd337c..094e6d494470 100644 --- a/src/sensitivecontentanalysis.cs +++ b/src/sensitivecontentanalysis.cs @@ -49,11 +49,15 @@ interface SCSensitivityAnalysis { bool ShouldMuteAudio { get; } } + /// Enumerates the sensitivity analysis policies on the device, which determine the kind of intervention to show. [NoTV, iOS (17, 0), MacCatalyst (17, 0)] [Native] public enum SCSensitivityAnalysisPolicy : long { + /// No feature that requires sensitivity analysis is enabled, so analysis is disabled. Disabled = 0, + /// Sensitivity analysis is enabled through Sensitive Content Warning in Settings. Apps are expected to show brief, inline UI, such as a simple button to show the content. SimpleInterventions = 1, + /// Sensitivity analysis is enabled for children or teens through Communication Safety in Screen Time. Apps are expected to show more descriptive UI that explains the potential risks. DescriptiveInterventions = 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 6e1d2b48a4e6..695e28d66b58 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5628,9 +5628,6 @@ F:Security.TlsProtocolVersion.Tls10 F:Security.TlsProtocolVersion.Tls11 F:Security.TlsProtocolVersion.Tls12 F:Security.TlsProtocolVersion.Tls13 -F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.DescriptiveInterventions -F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.Disabled -F:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy.SimpleInterventions F:SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection.Incoming F:SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection.Outgoing F:SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName.Airplane @@ -58330,7 +58327,6 @@ T:Security.TlsCipherSuiteGroup T:Security.TlsProtocolVersion T:SecurityUI.SFCertificatePresentation T:SensitiveContentAnalysis.SCSensitivityAnalysis -T:SensitiveContentAnalysis.SCSensitivityAnalysisPolicy T:SensitiveContentAnalysis.SCSensitivityAnalyzer T:SensitiveContentAnalysis.SCVideoStreamAnalysisChangeHandler T:SensitiveContentAnalysis.SCVideoStreamAnalyzer From d1abce0e48997fbefb5e72e5ca436fa6369adf77 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:07 +0100 Subject: [PATCH 23/36] [docs] Document SCVideoStreamAnalyzerStreamDirection Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/sensitivecontentanalysis.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sensitivecontentanalysis.cs b/src/sensitivecontentanalysis.cs index 094e6d494470..f205ce557cc6 100644 --- a/src/sensitivecontentanalysis.cs +++ b/src/sensitivecontentanalysis.cs @@ -80,10 +80,13 @@ interface SCSensitivityAnalyzer { NSProgress AnalyzeVideo (NSUrl fileUrl, Action completionHandler); } + /// Enumerates the directions of a video stream that a video stream analyzer analyzes. [NoTV, NoMacCatalyst, NoMac, iOS (26, 0)] [Native] public enum SCVideoStreamAnalyzerStreamDirection : long { + /// The stream is sent to another device, such as the stream from this device's camera. Outgoing = 1, + /// The stream comes from another device, such as one received over the network from another device's camera. Incoming = 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 695e28d66b58..6537053b8c25 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5628,8 +5628,6 @@ F:Security.TlsProtocolVersion.Tls10 F:Security.TlsProtocolVersion.Tls11 F:Security.TlsProtocolVersion.Tls12 F:Security.TlsProtocolVersion.Tls13 -F:SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection.Incoming -F:SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection.Outgoing F:SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName.Airplane F:SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName.Babble F:SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName.BalancedNoise @@ -58330,7 +58328,6 @@ T:SensitiveContentAnalysis.SCSensitivityAnalysis T:SensitiveContentAnalysis.SCSensitivityAnalyzer T:SensitiveContentAnalysis.SCVideoStreamAnalysisChangeHandler T:SensitiveContentAnalysis.SCVideoStreamAnalyzer -T:SensitiveContentAnalysis.SCVideoStreamAnalyzerStreamDirection T:SensorKit.SRAcousticSettings T:SensorKit.SRAcousticSettingsAccessibility T:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds From ff2fb59e602a091698a5efefcdc79808bc8592e3 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:18 +0100 Subject: [PATCH 24/36] [docs] Document SMAppServiceStatus Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/servicemanagement.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/servicemanagement.cs b/src/servicemanagement.cs index 858ef8b54854..1aeb6fd8b50d 100644 --- a/src/servicemanagement.cs +++ b/src/servicemanagement.cs @@ -1,11 +1,16 @@ namespace ServiceManagement { + /// Enumerates the registration status of a service. [Native] [NoTV, NoiOS, MacCatalyst (16, 0)] public enum SMAppServiceStatus : long { + /// The service hasn't been registered, or the app unregistered it. NotRegistered, + /// The service is registered and enabled. Enabled, + /// The service is registered, but the user must approve it in System Settings before it can run. RequiresApproval, + /// An error occurred and the service couldn't be found. NotFound, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 6537053b8c25..343887b30c33 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5810,10 +5810,6 @@ F:SensorKit.SRWristTemperatureCondition.InMotion F:SensorKit.SRWristTemperatureCondition.None F:SensorKit.SRWristTemperatureCondition.OffWrist F:SensorKit.SRWristTemperatureCondition.OnCharger -F:ServiceManagement.SMAppServiceStatus.Enabled -F:ServiceManagement.SMAppServiceStatus.NotFound -F:ServiceManagement.SMAppServiceStatus.NotRegistered -F:ServiceManagement.SMAppServiceStatus.RequiresApproval F:SharedWithYou.SWAttributionViewBackgroundStyle.Color F:SharedWithYou.SWAttributionViewBackgroundStyle.Default F:SharedWithYou.SWAttributionViewBackgroundStyle.Material @@ -58401,7 +58397,6 @@ T:SensorKit.SRWristTemperature T:SensorKit.SRWristTemperatureCondition T:SensorKit.SRWristTemperatureSession T:ServiceManagement.SMAppService -T:ServiceManagement.SMAppServiceStatus T:SharedWithYou.SWAttributionView T:SharedWithYou.SWAttributionViewBackgroundStyle T:SharedWithYou.SWAttributionViewDisplayContext From 48c3a098ce70352d2e94891991c8f7b39dca5403 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:18 +0100 Subject: [PATCH 25/36] [docs] Document SNErrorCode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/soundanalysis.cs | 6 ++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/soundanalysis.cs b/src/soundanalysis.cs index c6dd3e61169d..73a00a2be02b 100644 --- a/src/soundanalysis.cs +++ b/src/soundanalysis.cs @@ -13,14 +13,20 @@ namespace SoundAnalysis { + /// Enumerates the errors that Sound Analysis can report. [ErrorDomain ("SNErrorDomain")] [MacCatalyst (13, 1)] [Native] enum SNErrorCode : long { + /// An unknown error occurred. UnknownError = 1, + /// The operation failed. OperationFailed, + /// The audio format is invalid. InvalidFormat, + /// The model is invalid. InvalidModel, + /// The file is invalid. InvalidFile, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 343887b30c33..aa6ca1482c32 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5860,11 +5860,6 @@ F:ShazamKit.SHMediaItemProperty.Title F:ShazamKit.SHMediaItemProperty.VideoUrl F:ShazamKit.SHMediaItemProperty.WebUrl F:SoundAnalysis.SNClassifierIdentifier.Version1 -F:SoundAnalysis.SNErrorCode.InvalidFile -F:SoundAnalysis.SNErrorCode.InvalidFormat -F:SoundAnalysis.SNErrorCode.InvalidModel -F:SoundAnalysis.SNErrorCode.OperationFailed -F:SoundAnalysis.SNErrorCode.UnknownError F:SoundAnalysis.SNTimeDurationConstraintType.Enumerated F:SoundAnalysis.SNTimeDurationConstraintType.Range F:Speech.SFSpeechErrorCode.AudioReadFailed @@ -58447,7 +58442,6 @@ T:SoundAnalysis.SNClassification T:SoundAnalysis.SNClassificationResult T:SoundAnalysis.SNClassifierIdentifier T:SoundAnalysis.SNClassifySoundRequest -T:SoundAnalysis.SNErrorCode T:SoundAnalysis.SNTimeDurationConstraint T:SoundAnalysis.SNTimeDurationConstraintType T:Speech.SFAcousticFeature From 498c53ac9e3ad1cfff1a597230b71c0c7a6aa946 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:19 +0100 Subject: [PATCH 26/36] [docs] Document SNTimeDurationConstraintType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/soundanalysis.cs | 3 +++ tests/cecil-tests/Documentation.KnownFailures.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soundanalysis.cs b/src/soundanalysis.cs index 73a00a2be02b..3e3e09a821a4 100644 --- a/src/soundanalysis.cs +++ b/src/soundanalysis.cs @@ -30,10 +30,13 @@ enum SNErrorCode : long { InvalidFile, } + /// Enumerates the types of a time duration constraint. [TV (15, 0), iOS (15, 0), MacCatalyst (15, 0)] [Native] public enum SNTimeDurationConstraintType : long { + /// A duration must be one of a set of discrete permitted values. Enumerated = 1, + /// A duration must be within a continuous range of permitted values. Range = 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index aa6ca1482c32..ea6d797e6e7a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5860,8 +5860,6 @@ F:ShazamKit.SHMediaItemProperty.Title F:ShazamKit.SHMediaItemProperty.VideoUrl F:ShazamKit.SHMediaItemProperty.WebUrl F:SoundAnalysis.SNClassifierIdentifier.Version1 -F:SoundAnalysis.SNTimeDurationConstraintType.Enumerated -F:SoundAnalysis.SNTimeDurationConstraintType.Range F:Speech.SFSpeechErrorCode.AudioReadFailed F:Speech.SFSpeechErrorCode.InternalServiceError F:Speech.SFSpeechErrorCode.MalformedSupplementalModel @@ -58443,7 +58441,6 @@ T:SoundAnalysis.SNClassificationResult T:SoundAnalysis.SNClassifierIdentifier T:SoundAnalysis.SNClassifySoundRequest T:SoundAnalysis.SNTimeDurationConstraint -T:SoundAnalysis.SNTimeDurationConstraintType T:Speech.SFAcousticFeature T:Speech.SFSpeechErrorCode T:Speech.SFSpeechLanguageModel From adbcdff727e7223e6bf9d9be77ff1c0f99ccd68a Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:19 +0100 Subject: [PATCH 27/36] [docs] Document SNClassifierIdentifier Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/soundanalysis.cs | 2 ++ tests/cecil-tests/Documentation.KnownFailures.txt | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soundanalysis.cs b/src/soundanalysis.cs index 3e3e09a821a4..164a9e5c297c 100644 --- a/src/soundanalysis.cs +++ b/src/soundanalysis.cs @@ -182,8 +182,10 @@ interface SNResultsObserving { void DidComplete (ISNRequest request); } + /// Enumerates the identifiers of the sound classifiers that Apple provides. [iOS (15, 0), TV (15, 0), MacCatalyst (15, 0)] enum SNClassifierIdentifier { + /// The first edition of the Apple-provided sound classifier. [Field ("SNClassifierIdentifierVersion1")] Version1, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index ea6d797e6e7a..3fedc55b5e04 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5859,7 +5859,6 @@ F:ShazamKit.SHMediaItemProperty.TimeRanges F:ShazamKit.SHMediaItemProperty.Title F:ShazamKit.SHMediaItemProperty.VideoUrl F:ShazamKit.SHMediaItemProperty.WebUrl -F:SoundAnalysis.SNClassifierIdentifier.Version1 F:Speech.SFSpeechErrorCode.AudioReadFailed F:Speech.SFSpeechErrorCode.InternalServiceError F:Speech.SFSpeechErrorCode.MalformedSupplementalModel @@ -58438,7 +58437,6 @@ T:SoundAnalysis.SNAudioFileAnalyzerAnalyzeHandler T:SoundAnalysis.SNAudioStreamAnalyzer T:SoundAnalysis.SNClassification T:SoundAnalysis.SNClassificationResult -T:SoundAnalysis.SNClassifierIdentifier T:SoundAnalysis.SNClassifySoundRequest T:SoundAnalysis.SNTimeDurationConstraint T:Speech.SFAcousticFeature From c8a6303ea1208eba4d7c6ead054a1429221ddbdb Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:26 +0100 Subject: [PATCH 28/36] [docs] Document SFSpeechErrorCode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/speech.cs | 9 +++++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 7 ------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/speech.cs b/src/speech.cs index 157942e6f970..df431ae85725 100644 --- a/src/speech.cs +++ b/src/speech.cs @@ -61,20 +61,29 @@ public enum SFSpeechRecognizerAuthorizationStatus : long { [iOS (17, 0), MacCatalyst (17, 0), TV (18, 0)] [Native] + /// Enumerates the errors that the Speech framework can report. [ErrorDomain ("SFSpeechErrorDomain")] public enum SFSpeechErrorCode : long { + /// An internal error occurred. InternalServiceError = 1, + /// The audio file couldn't be read. AudioReadFailed = 2, + /// The custom language model templates are malformed. UndefinedTemplateClassName = 7, + /// The custom language model file is malformed. MalformedSupplementalModel = 8, #if XAMCORE_5_0 + /// The operation timed out. Timeout = 12, #else // Apple changed the value for 'Timeout' from 10 to 12 in Xcode 26. + /// The operation timed out. Apple changed the native value from 10 to 12; use instead. [Obsolete ("Use 'Timeout2' instead'.")] Timeout = 10, + /// The operation timed out. Timeout2 = 12, #endif + /// A required parameter is missing or null. MissingParameter = 13, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 3fedc55b5e04..ae63ccafd442 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5859,12 +5859,6 @@ F:ShazamKit.SHMediaItemProperty.TimeRanges F:ShazamKit.SHMediaItemProperty.Title F:ShazamKit.SHMediaItemProperty.VideoUrl F:ShazamKit.SHMediaItemProperty.WebUrl -F:Speech.SFSpeechErrorCode.AudioReadFailed -F:Speech.SFSpeechErrorCode.InternalServiceError -F:Speech.SFSpeechErrorCode.MalformedSupplementalModel -F:Speech.SFSpeechErrorCode.MissingParameter -F:Speech.SFSpeechErrorCode.Timeout2 -F:Speech.SFSpeechErrorCode.UndefinedTemplateClassName F:StoreKit.SKAdNetworkCoarseConversionValue.High F:StoreKit.SKAdNetworkCoarseConversionValue.Low F:StoreKit.SKAdNetworkCoarseConversionValue.Medium @@ -58440,7 +58434,6 @@ T:SoundAnalysis.SNClassificationResult T:SoundAnalysis.SNClassifySoundRequest T:SoundAnalysis.SNTimeDurationConstraint T:Speech.SFAcousticFeature -T:Speech.SFSpeechErrorCode T:Speech.SFSpeechLanguageModel T:Speech.SFSpeechLanguageModelConfiguration T:Speech.SFSpeechLanguageModelPrepareCustomModelHandler From 501e87458f9cba7c2bcaa97a5d18120de922c4de Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:36 +0100 Subject: [PATCH 29/36] [docs] Document UNNotificationInterruptionLevel Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/usernotifications.cs | 13 +++++++++++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/usernotifications.cs b/src/usernotifications.cs index 95c8d110df87..b659bf8ebb9e 100644 --- a/src/usernotifications.cs +++ b/src/usernotifications.cs @@ -211,21 +211,30 @@ public enum UNShowPreviewsSetting : long { Never, } + /// Enumerates how much a notification interrupts the user. [iOS (15, 0), MacCatalyst (15, 0), TV (15, 0)] [Native] public enum UNNotificationInterruptionLevel : long { #if XAMCORE_5_0 + /// The system adds the notification to the notification list, without lighting up the screen or playing a sound. Passive, + /// The system presents the notification immediately, lights up the screen, and can play a sound. Active, + /// The system presents the notification immediately, lights up the screen, and can play a sound. The notification can be presented during Do Not Disturb. TimeSensitive, + /// The system presents the notification immediately, lights up the screen, and plays a sound, even during Do Not Disturb or when the mute switch is on. If the notification has no sound, the system plays the default critical alert sound. Critical, #else + /// This value has the wrong native value. Use instead. [Obsolete ("Use 'Active2'.")] Active, + /// This value has the wrong native value. Use instead. [Obsolete ("Use 'Critical2'.")] Critical, + /// This value has the wrong native value. Use instead. [Obsolete ("Use 'Passive2'.")] Passive, + /// This value has the wrong native value. Use instead. [Obsolete ("Use 'TimeSensitive2'.")] TimeSensitive, #endif // XAMCORE_5_0 @@ -233,9 +242,13 @@ public enum UNNotificationInterruptionLevel : long { // Additional enum values to fix reordering - to be at the end of the enum #if !XAMCORE_5_0 #pragma warning disable 0618 // warning CS0618: 'UNNotificationInterruptionLevel.[field]' is obsolete: 'Use '[replacement]'.' + /// The system presents the notification immediately, lights up the screen, and can play a sound. Active2 = Critical, + /// The system presents the notification immediately, lights up the screen, and plays a sound, even during Do Not Disturb or when the mute switch is on. If the notification has no sound, the system plays the default critical alert sound. Critical2 = TimeSensitive, + /// The system adds the notification to the notification list, without lighting up the screen or playing a sound. Passive2 = Active, + /// The system presents the notification immediately, lights up the screen, and can play a sound. The notification can be presented during Do Not Disturb. TimeSensitive2 = Passive, #pragma warning restore #endif // !XAMCORE_5_0 diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index ae63ccafd442..dc692986e43a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -7070,10 +7070,6 @@ F:UserNotifications.UNErrorCode.BadgeInputInvalid F:UserNotifications.UNErrorCode.ContentProvidingInvalid F:UserNotifications.UNErrorCode.ContentProvidingObjectNotAllowed F:UserNotifications.UNNotificationCategoryOptions.AllowAnnouncement -F:UserNotifications.UNNotificationInterruptionLevel.Active2 -F:UserNotifications.UNNotificationInterruptionLevel.Critical2 -F:UserNotifications.UNNotificationInterruptionLevel.Passive2 -F:UserNotifications.UNNotificationInterruptionLevel.TimeSensitive2 F:UserNotifications.UNNotificationPresentationOptions.Banner F:UserNotifications.UNNotificationPresentationOptions.List F:VideoSubscriberAccount.VSAccountProviderAuthenticationScheme.Api @@ -59372,7 +59368,6 @@ T:UniformTypeIdentifiers.UTType T:UniformTypeIdentifiers.UTTypes T:UserNotifications.UNNotificationActionIcon T:UserNotifications.UNNotificationAttributedMessageContext -T:UserNotifications.UNNotificationInterruptionLevel T:VideoSubscriberAccount.VSAccountApplicationProvider T:VideoSubscriberAccount.VSAccountProviderAuthenticationScheme T:VideoSubscriberAccount.VSAccountProviderResponse From d5d74a508d98faa0b40b2e1b726ccdead72c1516 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:49 +0100 Subject: [PATCH 30/36] [docs] Document LACompanionType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/localauthentication.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/localauthentication.cs b/src/localauthentication.cs index 5f242164680c..d14daefcf518 100644 --- a/src/localauthentication.cs +++ b/src/localauthentication.cs @@ -379,13 +379,18 @@ interface LASecret { [Flags] [Native] + /// Enumerates the kinds of companion devices that can authenticate the user. [Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV] enum LACompanionType : long { + /// No companion device. None = 0, + /// A paired Apple Watch. [NoiOS, NoTV, NoMacCatalyst] Watch = 1 << 0, + /// A paired Mac. [NoMac, NoTV] Mac = 1 << 1, + /// A paired Apple Vision Pro. [NoMac, NoTV] Vision = 1 << 2, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index dc692986e43a..79a7ca1dd94a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -4029,10 +4029,6 @@ F:Intents.INVocabularyStringType.MediaMusicArtistName F:Intents.INVocabularyStringType.MediaPlaylistTitle F:Intents.INVocabularyStringType.MediaShowTitle F:LocalAuthentication.LABiometryType.OpticId -F:LocalAuthentication.LACompanionType.Mac -F:LocalAuthentication.LACompanionType.None -F:LocalAuthentication.LACompanionType.Vision -F:LocalAuthentication.LACompanionType.Watch F:LocalAuthentication.LACredentialType.SmartCardPin F:LocalAuthentication.LAPolicy.DeviceOwnerAuthenticationWithBiometricsOrWatch F:LocalAuthentication.LAPolicy.DeviceOwnerAuthenticationWithWatch @@ -56681,7 +56677,6 @@ T:LinkPresentation.LPLinkView T:LinkPresentation.LPMetadataProvider T:LocalAuthentication.LAAuthenticationRequirement T:LocalAuthentication.LABiometryFallbackRequirement -T:LocalAuthentication.LACompanionType T:LocalAuthentication.LADomainState T:LocalAuthentication.LADomainStateBiometry T:LocalAuthentication.LADomainStateCompanion From e2180030ae1cc495181023d59949baaf1ee4ea16 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:50 +0100 Subject: [PATCH 31/36] [docs] Document TVCaptionButtonViewMotionDirection Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/tvuikit.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tvuikit.cs b/src/tvuikit.cs index 0d4eb918bce7..b65926c72e16 100644 --- a/src/tvuikit.cs +++ b/src/tvuikit.cs @@ -6,11 +6,16 @@ namespace TVUIKit { + /// Enumerates the axes along which the floating view of a caption button moves on focus. [Native] public enum TVCaptionButtonViewMotionDirection : long { + /// The floating view doesn't move. None = 0, + /// The floating view slides horizontally. Horizontal, + /// The floating view slides vertically. Vertical, + /// The floating view slides along both axes. All, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 79a7ca1dd94a..16fd1f7fe630 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -6032,10 +6032,6 @@ F:TVServices.TVTopShelfItemImageTraits.Scale2x F:TVServices.TVTopShelfSectionedItemImageShape.Hdtv F:TVServices.TVTopShelfSectionedItemImageShape.Poster F:TVServices.TVTopShelfSectionedItemImageShape.Square -F:TVUIKit.TVCaptionButtonViewMotionDirection.All -F:TVUIKit.TVCaptionButtonViewMotionDirection.Horizontal -F:TVUIKit.TVCaptionButtonViewMotionDirection.None -F:TVUIKit.TVCaptionButtonViewMotionDirection.Vertical F:TVUIKit.TVMediaItemContentTextTransform.Capitalized F:TVUIKit.TVMediaItemContentTextTransform.Lowercase F:TVUIKit.TVMediaItemContentTextTransform.None @@ -58576,7 +58572,6 @@ T:TVServices.TVTopShelfSectionedItemImageShape T:TVServices.TVUserActivityType T:TVServices.TVUserManager T:TVUIKit.TVCaptionButtonView -T:TVUIKit.TVCaptionButtonViewMotionDirection T:TVUIKit.TVCardView T:TVUIKit.TVCollectionViewFullScreenCell T:TVUIKit.TVCollectionViewFullScreenLayout From 1a3d30fa080373f0989138a7ff5a8e652166886f Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:02:50 +0100 Subject: [PATCH 32/36] [docs] Document TVMediaItemContentTextTransform Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/tvuikit.cs | 5 +++++ tests/cecil-tests/Documentation.KnownFailures.txt | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tvuikit.cs b/src/tvuikit.cs index b65926c72e16..fd7c61508fec 100644 --- a/src/tvuikit.cs +++ b/src/tvuikit.cs @@ -19,12 +19,17 @@ public enum TVCaptionButtonViewMotionDirection : long { All, } + /// Enumerates the transformations that can be applied to the text of a media item. [TV (15, 0)] [Native] public enum TVMediaItemContentTextTransform : long { + /// The text isn't transformed. None, + /// The text is shown in uppercase. Uppercase, + /// The text is shown in lowercase. Lowercase, + /// The first letter of each word is shown in uppercase. Capitalized, } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 16fd1f7fe630..1189868731ba 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -6032,10 +6032,6 @@ F:TVServices.TVTopShelfItemImageTraits.Scale2x F:TVServices.TVTopShelfSectionedItemImageShape.Hdtv F:TVServices.TVTopShelfSectionedItemImageShape.Poster F:TVServices.TVTopShelfSectionedItemImageShape.Square -F:TVUIKit.TVMediaItemContentTextTransform.Capitalized -F:TVUIKit.TVMediaItemContentTextTransform.Lowercase -F:TVUIKit.TVMediaItemContentTextTransform.None -F:TVUIKit.TVMediaItemContentTextTransform.Uppercase F:UIKit.NSAttributedStringDocumentType.DocFormat F:UIKit.NSAttributedStringDocumentType.Html F:UIKit.NSAttributedStringDocumentType.MacSimple @@ -58582,7 +58578,6 @@ T:TVUIKit.TVLockupView T:TVUIKit.TVMediaItemContentBadgeProperties T:TVUIKit.TVMediaItemContentConfiguration T:TVUIKit.TVMediaItemContentTextProperties -T:TVUIKit.TVMediaItemContentTextTransform T:TVUIKit.TVMediaItemContentView T:TVUIKit.TVMonogramContentConfiguration T:TVUIKit.TVMonogramContentTextProperties From 6deb27c60e8a49bf7a87847516245df0bbdeaf2f Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:08:21 +0100 Subject: [PATCH 33/36] [docs] Document HMHomeManagerAuthorizationStatus fix Determined Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/HomeKit/HMEnums.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index 2d930515df73..b6e6b64f23ee 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -1633,7 +1633,7 @@ public enum HMSignificantEvent { [Flags] [Native] public enum HMHomeManagerAuthorizationStatus : ulong { - /// The user has made a choice about the app accessing home data. + /// The user hasn't yet decided whether the app can access home data. Determined = 1 << 0, /// The system currently restricts access to home data. Restricted = 1 << 1, From 419e30730ff192e08d73860c263f688094645852 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:08:28 +0100 Subject: [PATCH 34/36] [docs] Address review feedback on enum docs Move type summaries above attributes, fix the HomeKit and Speech summaries and reword one BackgroundTasks summary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/backgroundtasks.cs | 2 +- src/localauthentication.cs | 2 +- src/speech.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backgroundtasks.cs b/src/backgroundtasks.cs index 6f517fb17963..f9a36207ba33 100644 --- a/src/backgroundtasks.cs +++ b/src/backgroundtasks.cs @@ -173,7 +173,7 @@ interface BGContinuedProcessingTaskRequest { [NoTV, NoMacCatalyst, NoMac, iOS (26, 0)] [Native] public enum BGContinuedProcessingTaskRequestSubmissionStrategy : long { - /// Fail the submission if there is no room for the request, or if the system is under heavy load and can't run it immediately. + /// Fail the submission if the scheduler has no capacity for the request, or if the system is under heavy load and can't run it immediately. Fail, /// Add the request to the back of a queue if it can't run immediately. The system cancels queued requests when the user removes the app from the app switcher. Queue, diff --git a/src/localauthentication.cs b/src/localauthentication.cs index d14daefcf518..58b406436832 100644 --- a/src/localauthentication.cs +++ b/src/localauthentication.cs @@ -377,9 +377,9 @@ interface LASecret { void LoadData (LASecretCompletionHandler handler); } + /// Enumerates the kinds of companion devices that can authenticate the user. [Flags] [Native] - /// Enumerates the kinds of companion devices that can authenticate the user. [Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV] enum LACompanionType : long { /// No companion device. diff --git a/src/speech.cs b/src/speech.cs index df431ae85725..173d84dce1cd 100644 --- a/src/speech.cs +++ b/src/speech.cs @@ -59,9 +59,9 @@ public enum SFSpeechRecognizerAuthorizationStatus : long { Authorized, } + /// Enumerates the errors that the Speech framework can report. [iOS (17, 0), MacCatalyst (17, 0), TV (18, 0)] [Native] - /// Enumerates the errors that the Speech framework can report. [ErrorDomain ("SFSpeechErrorDomain")] public enum SFSpeechErrorCode : long { /// An internal error occurred. @@ -77,7 +77,7 @@ public enum SFSpeechErrorCode : long { Timeout = 12, #else // Apple changed the value for 'Timeout' from 10 to 12 in Xcode 26. - /// The operation timed out. Apple changed the native value from 10 to 12; use instead. + /// This is the legacy value for a timeout, which doesn't match the native value. Use instead. [Obsolete ("Use 'Timeout2' instead'.")] Timeout = 10, /// The operation timed out. From cebf820f369633b5e6979e82812dd16ec6e15465 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 02:09:49 +0100 Subject: [PATCH 35/36] [docs] Address second review round on enum docs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/HomeKit/HMEnums.cs | 2 +- src/backgroundtasks.cs | 2 +- src/sensitivecontentanalysis.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index b6e6b64f23ee..d1f1b3882ccc 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -1633,7 +1633,7 @@ public enum HMSignificantEvent { [Flags] [Native] public enum HMHomeManagerAuthorizationStatus : ulong { - /// The user hasn't yet decided whether the app can access home data. + /// The user has decided whether the app can access home data. Determined = 1 << 0, /// The system currently restricts access to home data. Restricted = 1 << 1, diff --git a/src/backgroundtasks.cs b/src/backgroundtasks.cs index f9a36207ba33..40d9668ab8d5 100644 --- a/src/backgroundtasks.cs +++ b/src/backgroundtasks.cs @@ -186,7 +186,7 @@ public enum BGContinuedProcessingTaskRequestSubmissionStrategy : long { public enum BGContinuedProcessingTaskRequestResources : long { /// No special system resources are required. The scheduler assumes the default resources, which allow background CPU and network access. Default = 0x0, - /// The task needs background GPU access. The system rejects the request if the app lacks the required entitlement. Not all devices support background GPU execution, and the system doesn't guarantee runtime under heavy GPU contention. + /// The task needs background GPU access. The system rejects the request if the app lacks the required entitlement. Not all devices support background GPU execution, and the system doesn't guarantee that the task runs when the GPU is heavily contended. Gpu = (1L << 0), } diff --git a/src/sensitivecontentanalysis.cs b/src/sensitivecontentanalysis.cs index f205ce557cc6..e6daf623e887 100644 --- a/src/sensitivecontentanalysis.cs +++ b/src/sensitivecontentanalysis.cs @@ -9,11 +9,11 @@ namespace SensitiveContentAnalysis { /// Enumerates the types of sensitive content. [NoTV, iOS (27, 0), Mac (27, 0), MacCatalyst (27, 0)] public enum SCSensitiveContentType { - /// The content is sexually explicit. + /// The content is nude or sexually explicit. [Field ("SCSensitiveContentTypeSexuallyExplicit")] SexuallyExplicit, - /// The content contains gore or violence. + /// The content contains graphic violence or gore. [Field ("SCSensitiveContentTypeGoreOrViolence")] GoreOrViolence, } From e840bb258f5373930ad8815730c3e18202ffce5d Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 27 Nov 2026 08:41:41 +0100 Subject: [PATCH 36/36] [docs] Clarify ATTrackingManagerAuthorizationStatus.NotDetermined Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f895bf90-b901-443e-b6e4-e012e8d48937 --- src/apptrackingtransparency.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apptrackingtransparency.cs b/src/apptrackingtransparency.cs index 388b20ecf74a..27db39c10869 100644 --- a/src/apptrackingtransparency.cs +++ b/src/apptrackingtransparency.cs @@ -12,7 +12,7 @@ namespace AppTrackingTransparency { [Introduced (PlatformName.MacCatalyst, 14, 0)] [Native] public enum ATTrackingManagerAuthorizationStatus : ulong { - /// The app hasn't asked the user for tracking authorization yet. + /// The user hasn't made a tracking authorization decision. This is the case before the app asks, and also when the user selects the additional-information button in the expanded-consent prompt. NotDetermined = 0, /// Tracking authorization is restricted on this device, and the user can't change it. Restricted = 1,