diff --git a/src/intents.cs b/src/intents.cs index f8b40a2663e..b6b7ccd8b83 100644 --- a/src/intents.cs +++ b/src/intents.cs @@ -10682,6 +10682,8 @@ interface INAccountTypeResolutionResult { } /// An indicating the user wishes to add a task to a list. + [Deprecated (PlatformName.iOS, 27, 0, message: "INAddTasksIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INAddTasksIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoMac, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -10783,6 +10785,8 @@ interface INAddTasksIntentHandling { /// /// subclass that developers of interface implementations populate with their extension's results. + [Deprecated (PlatformName.iOS, 27, 0, message: "INAddTasksIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INAddTasksIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -11195,6 +11199,8 @@ interface INCancelRideIntentResponse { } /// An indicating the user wishes to create a new note. + [Deprecated (PlatformName.iOS, 27, 0, message: "INCreateNoteIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INCreateNoteIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -11261,6 +11267,8 @@ interface INCreateNoteIntentHandling { /// /// subclass that developers of interface implementations populate with their extension's results. + [Deprecated (PlatformName.iOS, 27, 0, message: "INCreateNoteIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INCreateNoteIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -11368,6 +11376,8 @@ interface INCreateTaskListIntentResponse { INTaskList CreatedTaskList { get; set; } } + [Deprecated (PlatformName.iOS, 27, 0, message: "INDateSearchTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INDateSearchTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -11486,6 +11496,8 @@ interface INGetVisualCodeIntentResponse { } /// Represents an image within a note. + [Deprecated (PlatformName.iOS, 27, 0, message: "INImageNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INImageNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INNoteContent))] @@ -11500,6 +11512,8 @@ interface INImageNoteContent : NSSecureCoding, NSCopying { /// /// for resolving parameters in location search-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INLocationSearchTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INLocationSearchTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -11548,6 +11562,8 @@ interface INLocationSearchTypeResolutionResult { } /// Note content for a single note in an app. + [Deprecated (PlatformName.iOS, 27, 0, message: "INNote is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INNote is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -11577,6 +11593,8 @@ interface INNote : NSCopying, NSSecureCoding { } /// Base class for note content. + [Deprecated (PlatformName.iOS, 27, 0, message: "INNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -11585,6 +11603,8 @@ interface INNoteContent : NSSecureCoding, NSCopying { /// /// for resolving parameters in note content-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INNoteContentResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INNoteContentResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -11688,6 +11708,8 @@ interface INNoteContentTypeResolutionResult { /// /// for resolving parameters in note-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INNoteResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INNoteResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -11740,6 +11762,8 @@ interface INNoteResolutionResult { /// /// for resolving parameters in notebook item type-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INNotebookItemTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INNotebookItemTypeResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -12076,6 +12100,8 @@ interface INSearchForAccountsIntentResponse { } /// An indicating the user wishes to search for notes, tasks, or reminders. + [Deprecated (PlatformName.iOS, 27, 0, message: "INSearchForNotebookItemsIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSearchForNotebookItemsIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -12223,6 +12249,8 @@ interface INSearchForNotebookItemsIntentHandling { /// /// subclass that developers of interface implementations populate with their extension's results. + [Deprecated (PlatformName.iOS, 27, 0, message: "INSearchForNotebookItemsIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSearchForNotebookItemsIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -12486,6 +12514,8 @@ interface INSendRideFeedbackIntentResponse { } /// An indicating the user wishes to modify a task attribute, for example, by marking a task complete. + [Deprecated (PlatformName.iOS, 27, 0, message: "INSetTaskAttributeIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSetTaskAttributeIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -12589,6 +12619,8 @@ interface INSetTaskAttributeIntentHandling { /// /// subclass that developers of interface implementations populate with their extension's results. + [Deprecated (PlatformName.iOS, 27, 0, message: "INSetTaskAttributeIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSetTaskAttributeIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -12677,6 +12709,8 @@ interface INSpatialEventTriggerResolutionResult { } /// A task for the user. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTask is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTask is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -12721,6 +12755,8 @@ interface INTask : NSCopying, NSSecureCoding { } /// A list of tasks for the user. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTaskList is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTaskList is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -12752,6 +12788,8 @@ interface INTaskList : NSCopying, NSSecureCoding { /// /// for resolving parameters in task list-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTaskListResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTaskListResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -12805,6 +12843,8 @@ interface INTaskListResolutionResult { /// /// for resolving parameters in task-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTaskResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTaskResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -12858,6 +12898,8 @@ interface INTaskResolutionResult { /// /// for resolving parameters in task status-related interactions. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTaskStatusResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTaskStatusResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -12974,6 +13016,8 @@ interface INTemporalEventTriggerResolutionResult { } /// The text of a note. + [Deprecated (PlatformName.iOS, 27, 0, message: "INTextNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTextNoteContent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INNoteContent))] @@ -13704,6 +13748,8 @@ interface INAddMediaMediaItemResolutionResult { INAddMediaMediaItemResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } + [Deprecated (PlatformName.iOS, 27, 0)] + [Deprecated (PlatformName.MacCatalyst, 27, 0)] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INTaskListResolutionResult))] @@ -13762,6 +13808,8 @@ interface INAddTasksTargetTaskListResolutionResult { INAddTasksTargetTaskListResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } + [Deprecated (PlatformName.iOS, 27, 0)] + [Deprecated (PlatformName.MacCatalyst, 27, 0)] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INTemporalEventTriggerResolutionResult))] @@ -15275,6 +15323,8 @@ interface INSeat : NSCopying, NSSecureCoding { string SeatingType { get; } } + [Deprecated (PlatformName.iOS, 27, 0)] + [Deprecated (PlatformName.MacCatalyst, 27, 0)] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INTemporalEventTriggerResolutionResult))] @@ -15334,6 +15384,8 @@ interface INSetTaskAttributeTemporalEventTriggerResolutionResult { INSetTaskAttributeTemporalEventTriggerResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } + [Deprecated (PlatformName.iOS, 27, 0, message: "INSnoozeTasksIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSnoozeTasksIntent is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -15374,6 +15426,8 @@ interface INSnoozeTasksIntentHandling { void ResolveNextTriggerTime (INSnoozeTasksIntent intent, Action completion); } + [Deprecated (PlatformName.iOS, 27, 0, message: "INSnoozeTasksIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INSnoozeTasksIntentResponse is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -15391,6 +15445,8 @@ interface INSnoozeTasksIntentResponse { INTask [] SnoozedTasks { get; set; } } + [Deprecated (PlatformName.iOS, 27, 0)] + [Deprecated (PlatformName.MacCatalyst, 27, 0)] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INTaskResolutionResult))] @@ -15697,6 +15753,8 @@ interface INStartCallIntentResponse { INStartCallIntentResponseCode Code { get; } } + [Deprecated (PlatformName.iOS, 27, 0, message: "INTaskPriorityResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "INTaskPriorityResolutionResult is deprecated. Please adopt the Notes or Reminders AppSchema domain instead.")] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -15740,6 +15798,8 @@ interface INTaskPriorityResolutionResult { INTaskPriorityResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } + [Deprecated (PlatformName.iOS, 27, 0)] + [Deprecated (PlatformName.MacCatalyst, 27, 0)] [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo deleted file mode 100644 index 526da267dec..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo +++ /dev/null @@ -1,30 +0,0 @@ -!deprecated-attribute-missing! INAddTasksIntent missing a [Deprecated] attribute -!deprecated-attribute-missing! INAddTasksIntentResponse missing a [Deprecated] attribute -!deprecated-attribute-missing! INAddTasksTargetTaskListResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INAddTasksTemporalEventTriggerResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INCreateNoteIntent missing a [Deprecated] attribute -!deprecated-attribute-missing! INCreateNoteIntentResponse missing a [Deprecated] attribute -!deprecated-attribute-missing! INDateSearchTypeResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INImageNoteContent missing a [Deprecated] attribute -!deprecated-attribute-missing! INLocationSearchTypeResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INNote missing a [Deprecated] attribute -!deprecated-attribute-missing! INNotebookItemTypeResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INNoteContent missing a [Deprecated] attribute -!deprecated-attribute-missing! INNoteContentResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INNoteResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INSearchForNotebookItemsIntent missing a [Deprecated] attribute -!deprecated-attribute-missing! INSearchForNotebookItemsIntentResponse missing a [Deprecated] attribute -!deprecated-attribute-missing! INSetTaskAttributeIntent missing a [Deprecated] attribute -!deprecated-attribute-missing! INSetTaskAttributeIntentResponse missing a [Deprecated] attribute -!deprecated-attribute-missing! INSetTaskAttributeTemporalEventTriggerResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INSnoozeTasksIntent missing a [Deprecated] attribute -!deprecated-attribute-missing! INSnoozeTasksIntentResponse missing a [Deprecated] attribute -!deprecated-attribute-missing! INSnoozeTasksTaskResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTask missing a [Deprecated] attribute -!deprecated-attribute-missing! INTaskList missing a [Deprecated] attribute -!deprecated-attribute-missing! INTaskListResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTaskPriorityResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTaskResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTaskStatusResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTemporalEventTriggerTypeOptionsResolutionResult missing a [Deprecated] attribute -!deprecated-attribute-missing! INTextNoteContent missing a [Deprecated] attribute