From e95959a5c682bc67df8938704ffbd68e7d62eb02 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Tue, 19 Sep 2023 12:45:48 -0400 Subject: [PATCH] [Intents] Add support for xcode 15. (#19006) Co-authored-by: GitHub Actions Autoformatter --- src/intents.cs | 241 ++++++++++++++++-- .../api-annotations-dotnet/iOS-Intents.todo | 45 ---- .../api-annotations-dotnet/macOS-Intents.todo | 33 --- .../api-annotations-dotnet/tvOS-Intents.todo | 2 - tests/xtro-sharpie/iOS-Intents.todo | 45 ---- tests/xtro-sharpie/macOS-Intents.todo | 33 --- tests/xtro-sharpie/tvOS-Intents.todo | 2 - tests/xtro-sharpie/watchOS-Intents.ignore | 6 + tests/xtro-sharpie/watchOS-Intents.todo | 49 ---- 9 files changed, 220 insertions(+), 236 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-Intents.todo delete mode 100644 tests/xtro-sharpie/iOS-Intents.todo delete mode 100644 tests/xtro-sharpie/macOS-Intents.todo delete mode 100644 tests/xtro-sharpie/tvOS-Intents.todo delete mode 100644 tests/xtro-sharpie/watchOS-Intents.todo diff --git a/src/intents.cs b/src/intents.cs index 3951a71fd2ba..89490576909d 100644 --- a/src/intents.cs +++ b/src/intents.cs @@ -311,6 +311,8 @@ public enum INIntentErrorCode : long { EncodingGeneric = 8000, EncodingFailed = 8001, DecodingGeneric = 9000, + UnableToCreateAppIntentRepresentation = 10000, + NoAppIntent = 10001, } [TV (14, 0)] @@ -705,6 +707,8 @@ public enum INSearchForMessagesIntentResponseCode : long { FailureMessageServiceNotAvailable, [MacCatalyst (13, 1)] FailureMessageTooManyResults, + [iOS (17, 0), MacCatalyst (17, 0)] + FailureRequiringInAppAuthentication, } [Deprecated (PlatformName.iOS, 15, 0)] @@ -735,7 +739,8 @@ public enum INSendMessageIntentResponseCode : long { Success, Failure, FailureRequiringAppLaunch, - FailureMessageServiceNotAvailable + FailureMessageServiceNotAvailable, + FailureRequiringInAppAuthentication, } [Unavailable (PlatformName.MacOSX)] @@ -965,18 +970,24 @@ public enum INStartVideoCallIntentResponseCode : long { [Native] public enum INStartWorkoutIntentResponseCode : long { Unspecified = 0, - Ready, - ContinueInApp, - Failure, - FailureRequiringAppLaunch, - FailureOngoingWorkout, - FailureNoMatchingWorkout, + Ready = 1, + ContinueInApp = 2, + Failure = 3, + FailureRequiringAppLaunch = 4, + FailureOngoingWorkout = 5, + FailureNoMatchingWorkout = 6, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] [MacCatalyst (13, 1)] - HandleInApp, +#if XAMCORE_5_0 && !NET + [NoWatch] +#endif + HandleInApp = 7, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] [MacCatalyst (13, 1)] - Success, +#if XAMCORE_5_0 && !NET + [NoWatch] +#endif + Success = 8, } [Unavailable (PlatformName.MacOSX)] @@ -1421,6 +1432,8 @@ public enum INMessageType : long { [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] Link, + [iOS (17, 0), MacCatalyst (17, 0), Watch (10, 0)] + Reaction, } [NoTV, NoMac] @@ -1522,6 +1535,8 @@ public enum INSendMessageRecipientUnsupportedReason : long { NoValidHandle, RequestedHandleInvalid, NoHandleForLabel, + [Mac (14, 0), MacCatalyst (17, 0)] + RequiringInAppAuthentication, } [NoTV, NoMac] @@ -1686,17 +1701,20 @@ public enum INMediaItemType : long { [Native] public enum INPlayMediaIntentResponseCode : long { Unspecified = 0, - Ready, - ContinueInApp, - InProgress, - Success, - HandleInApp, - Failure, - FailureRequiringAppLaunch, - FailureUnknownMediaType, - FailureNoUnplayedContent, - FailureRestrictedContent, - FailureMaxStreamLimitReached, + Ready = 1, + ContinueInApp = 2, + InProgress = 3, + Success = 4, +#if XAMCORE_5_0 && !NET + [NoWatch] +#endif + HandleInApp = 5, + Failure = 6, + FailureRequiringAppLaunch = 7, + FailureUnknownMediaType = 8, + FailureNoUnplayedContent = 9, + FailureRestrictedContent = 10, + FailureMaxStreamLimitReached = 11, } [Watch (5, 0), TV (14, 0), NoMac, iOS (12, 0)] @@ -1754,12 +1772,15 @@ public enum INRelevantShortcutRole : long { [Native] public enum INAddMediaIntentResponseCode : long { Unspecified = 0, - Ready, - InProgress, - Success, - HandleInApp, - Failure, - FailureRequiringAppLaunch, + Ready = 1, + InProgress = 2, + Success = 3, +#if XAMCORE_5_0 && !NET + [NoWatch] +#endif + HandleInApp = 4, + Failure = 5, + FailureRequiringAppLaunch = 6, } [Watch (6, 0), TV (14, 0), NoMac, iOS (13, 0)] @@ -2038,6 +2059,8 @@ public enum INStartCallContactUnsupportedReason : long { UnsupportedMmiUssd, NoCallHistoryForRedial, NoUsableHandleForRedial, + [Watch (10, 0), NoTV, NoMac, iOS (17, 0), MacCatalyst (17, 0)] + RequiringInAppAuthentication, } [Watch (6, 0), NoTV, NoMac, iOS (13, 0)] @@ -2060,6 +2083,8 @@ public enum INStartCallIntentResponseCode : long { [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Deprecated (PlatformName.WatchOS, 9, 0)] FailureCallRinging, + [Watch (10, 0), NoTV, NoMac, iOS (17, 0), MacCatalyst (17, 0)] + ResponseCode, } [Watch (6, 0), NoTV, NoMac, iOS (13, 0)] @@ -4326,7 +4351,6 @@ interface INMessage : NSCopying, NSSecureCoding { [Watch (9, 0), NoMac, iOS (16, 0), MacCatalyst (16, 0)] [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile:")] - [DesignatedInitializer] NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType, [NullAllowed] string serviceName, [NullAllowed] INFile audioMessageFile); [Watch (6, 1), NoMac, iOS (13, 2)] @@ -4379,9 +4403,40 @@ interface INMessage : NSCopying, NSSecureCoding { [NullAllowed, Export ("serviceName")] string ServiceName { get; } + [Obsoleted (PlatformName.iOS, 17, 0, message: "Use 'AttachmentFile' instead.")] + [Obsoleted (PlatformName.MacOSX, 14, 0, message: "Use 'AttachmentFile' instead.")] + [Obsoleted (PlatformName.WatchOS, 10, 0, message: "Use 'AttachmentFile' instead.")] [Watch (9, 0), NoMac, iOS (16, 0), MacCatalyst (16, 0)] [NullAllowed, Export ("audioMessageFile", ArgumentSemantic.Copy)] INFile AudioMessageFile { get; } + + [Watch (10, 0), NoMac, iOS (17, 0), MacCatalyst (17, 0)] + [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles:")] + NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType, [NullAllowed] string serviceName, [NullAllowed] INFile [] attachmentFiles); + + [Watch (10, 0), NoMac, iOS (17, 0), MacCatalyst (17, 0)] + [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata:")] + NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, [NullAllowed] string serviceName, [NullAllowed] INMessageLinkMetadata linkMetadata); + + [Watch (10, 0), NoMac, iOS (17, 0), MacCatalyst (17, 0)] + [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments:")] + NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, [NullAllowed] string serviceName, INMessageType messageType, [NullAllowed] NSNumber numberOfAttachments); + + [NullAllowed] + [Watch (10, 0), NoMac, iOS (17, 0), MacCatalyst (17, 0)] + [Export ("attachmentFiles", ArgumentSemantic.Copy)] + INFile [] AttachmentFiles { get; } + + [NullAllowed, BindAs (typeof (int))] + [Watch (10, 0), NoMac, iOS (17, 0), MacCatalyst (17, 0)] + [Export ("numberOfAttachments", ArgumentSemantic.Copy)] + NSNumber NumberOfAttachments { get; } + + [NullAllowed] + [Watch (10, 0), NoMac, iOS (17, 0)] + [Export ("linkMetadata", ArgumentSemantic.Copy)] + INMessageLinkMetadata LinkMetadata { get; } + } #if NET @@ -12563,6 +12618,40 @@ public enum INFocusStatusAuthorizationStatus : long { Authorized, } + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [Native] + public enum INUnsendMessagesIntentResponseCode : long { + Unspecified = 0, + Ready, + InProgress, + Success, + Failure, + FailureRequiringAppLaunch, + FailureMessageNotFound, + FailurePastUnsendTimeLimit, + FailureMessageTypeUnsupported, + FailureUnsupportedOnService, + FailureMessageServiceNotAvailable, + FailureRequiringInAppAuthentication, + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [Native] + public enum INEditMessageIntentResponseCode : long { + Unspecified = 0, + Ready, + InProgress, + Success, + Failure, + FailureRequiringAppLaunch, + FailureMessageNotFound, + FailurePastEditTimeLimit, + FailureMessageTypeUnsupported, + FailureUnsupportedOnService, + FailureMessageServiceNotAvailable, + FailureRequiringInAppAuthentication, + } + [Watch (8, 0), NoTV, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -14998,4 +15087,102 @@ interface INHangUpCallIntentResponse { [Export ("code")] INHangUpCallIntentResponseCode Code { get; } } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (INIntentResponse))] + [DisableDefaultCtor] + interface INUnsendMessagesIntentResponse { + [Export ("initWithCode:userActivity:")] + [DesignatedInitializer] + NativeHandle Constructor (INUnsendMessagesIntentResponseCode code, [NullAllowed] NSUserActivity userActivity); + + [Export ("code")] + INUnsendMessagesIntentResponseCode Code { get; } + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (INIntent))] + interface INUnsendMessagesIntent { + [Export ("initWithMessageIdentifiers:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] string [] messageIdentifiers); + + [NullAllowed, Export ("messageIdentifiers", ArgumentSemantic.Copy)] + string [] MessageIdentifiers { get; } + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] + interface INMessageLinkMetadata : NSCopying, NSSecureCoding { + [Export ("initWithSiteName:summary:title:openGraphType:linkURL:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] string siteName, [NullAllowed] string summary, [NullAllowed] string title, [NullAllowed] string openGraphType, [NullAllowed] NSUrl linkUrl); + + [NullAllowed, Export ("siteName")] + string SiteName { get; set; } + + [NullAllowed, Export ("summary")] + string Summary { get; set; } + + [NullAllowed, Export ("title")] + string Title { get; set; } + + [NullAllowed, Export ("openGraphType")] + string OpenGraphType { get; set; } + + [NullAllowed, Export ("linkURL", ArgumentSemantic.Copy)] + NSUrl LinkUrl { get; set; } + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (INIntentResponse))] + [DisableDefaultCtor] + interface INEditMessageIntentResponse { + [Export ("initWithCode:userActivity:")] + [DesignatedInitializer] + NativeHandle Constructor (INEditMessageIntentResponseCode code, [NullAllowed] NSUserActivity userActivity); + + [Export ("code")] + INEditMessageIntentResponseCode Code { get; } + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (INIntent))] + interface INEditMessageIntent { + [Export ("initWithMessageIdentifier:editedContent:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] string messageIdentifier, [NullAllowed] string editedContent); + + [NullAllowed, Export ("messageIdentifier")] + string MessageIdentifier { get; } + + [NullAllowed, Export ("editedContent")] + string EditedContent { get; } + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [Protocol] + interface INEditMessageIntentHandling { + [Abstract] + [Export ("handleEditMessage:completion:")] + void HandleEditMessage (INEditMessageIntent intent, Action completion); + + [Export ("confirmEditMessage:completion:")] + void ConfirmEditMessage (INEditMessageIntent intent, Action completion); + + [Export ("resolveEditedContentForEditMessage:withCompletion:")] + void ResolveEditedContent (INEditMessageIntent intent, Action completion); + } + + [Watch (10, 0), NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [Protocol] + interface INUnsendMessagesIntentHandling { + [Abstract] + [Export ("handleUnsendMessages:completion:")] + void HandleUnsendMessages (INUnsendMessagesIntent intent, Action completion); + + [Export ("confirmUnsendMessages:completion:")] + void ConfirmUnsendMessages (INUnsendMessagesIntent intent, Action completion); + } + } 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 333debee2306..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo +++ /dev/null @@ -1,45 +0,0 @@ -!deprecated-attribute-missing! INMessage::audioMessageFile missing a [Deprecated] attribute -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile: is incorrectly decorated with an [DesignatedInitializer] attribute -!missing-enum! INEditMessageIntentResponseCode not bound -!missing-enum! INUnsendMessagesIntentResponseCode not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound -!missing-enum-value! INMessageType native value INMessageTypeReaction = 26 not bound -!missing-protocol! INEditMessageIntentHandling not bound -!missing-protocol! INUnsendMessagesIntentHandling not bound -!missing-selector! INEditMessageIntent::editedContent not bound -!missing-selector! INEditMessageIntent::initWithMessageIdentifier:editedContent: not bound -!missing-selector! INEditMessageIntent::messageIdentifier not bound -!missing-selector! INEditMessageIntentResponse::code not bound -!missing-selector! INEditMessageIntentResponse::initWithCode:userActivity: not bound -!missing-selector! INMessage::attachmentFiles not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments: not bound -!missing-selector! INMessage::linkMetadata not bound -!missing-selector! INMessage::numberOfAttachments not bound -!missing-selector! INMessageLinkMetadata::initWithSiteName:summary:title:openGraphType:linkURL: not bound -!missing-selector! INMessageLinkMetadata::linkURL not bound -!missing-selector! INMessageLinkMetadata::openGraphType not bound -!missing-selector! INMessageLinkMetadata::setLinkURL: not bound -!missing-selector! INMessageLinkMetadata::setOpenGraphType: not bound -!missing-selector! INMessageLinkMetadata::setSiteName: not bound -!missing-selector! INMessageLinkMetadata::setSummary: not bound -!missing-selector! INMessageLinkMetadata::setTitle: not bound -!missing-selector! INMessageLinkMetadata::siteName not bound -!missing-selector! INMessageLinkMetadata::summary not bound -!missing-selector! INMessageLinkMetadata::title not bound -!missing-selector! INUnsendMessagesIntent::initWithMessageIdentifiers: not bound -!missing-selector! INUnsendMessagesIntent::messageIdentifiers not bound -!missing-selector! INUnsendMessagesIntentResponse::code not bound -!missing-selector! INUnsendMessagesIntentResponse::initWithCode:userActivity: not bound -!missing-type! INEditMessageIntent not bound -!missing-type! INEditMessageIntentResponse not bound -!missing-type! INMessageLinkMetadata not bound -!missing-type! INUnsendMessagesIntent not bound -!missing-type! INUnsendMessagesIntentResponse not bound -!missing-enum-value! INSearchForMessagesIntentResponseCode native value INSearchForMessagesIntentResponseCodeFailureRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INSendMessageIntentResponseCode native value INSendMessageIntentResponseCodeFailureRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INSendMessageRecipientUnsupportedReason native value INSendMessageRecipientUnsupportedReasonRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INStartCallContactUnsupportedReason native value INStartCallContactUnsupportedReasonRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INStartCallIntentResponseCode native value INStartCallIntentResponseCodeFailureRequiringInAppAuthentication = 13 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo deleted file mode 100644 index 04bbc66488c0..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo +++ /dev/null @@ -1,33 +0,0 @@ -!missing-enum! INEditMessageIntentResponseCode not bound -!missing-enum! INUnsendMessagesIntentResponseCode not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound -!missing-protocol! INEditMessageIntentHandling not bound -!missing-protocol! INUnsendMessagesIntentHandling not bound -!missing-selector! INEditMessageIntent::editedContent not bound -!missing-selector! INEditMessageIntent::initWithMessageIdentifier:editedContent: not bound -!missing-selector! INEditMessageIntent::messageIdentifier not bound -!missing-selector! INEditMessageIntentResponse::code not bound -!missing-selector! INEditMessageIntentResponse::initWithCode:userActivity: not bound -!missing-selector! INMessageLinkMetadata::initWithSiteName:summary:title:openGraphType:linkURL: not bound -!missing-selector! INMessageLinkMetadata::linkURL not bound -!missing-selector! INMessageLinkMetadata::openGraphType not bound -!missing-selector! INMessageLinkMetadata::setLinkURL: not bound -!missing-selector! INMessageLinkMetadata::setOpenGraphType: not bound -!missing-selector! INMessageLinkMetadata::setSiteName: not bound -!missing-selector! INMessageLinkMetadata::setSummary: not bound -!missing-selector! INMessageLinkMetadata::setTitle: not bound -!missing-selector! INMessageLinkMetadata::siteName not bound -!missing-selector! INMessageLinkMetadata::summary not bound -!missing-selector! INMessageLinkMetadata::title not bound -!missing-selector! INUnsendMessagesIntent::initWithMessageIdentifiers: not bound -!missing-selector! INUnsendMessagesIntent::messageIdentifiers not bound -!missing-selector! INUnsendMessagesIntentResponse::code not bound -!missing-selector! INUnsendMessagesIntentResponse::initWithCode:userActivity: not bound -!missing-type! INEditMessageIntent not bound -!missing-type! INEditMessageIntentResponse not bound -!missing-type! INMessageLinkMetadata not bound -!missing-type! INUnsendMessagesIntent not bound -!missing-type! INUnsendMessagesIntentResponse not bound -!missing-enum-value! INSendMessageIntentResponseCode native value INSendMessageIntentResponseCodeFailureRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INSendMessageRecipientUnsupportedReason native value INSendMessageRecipientUnsupportedReasonRequiringInAppAuthentication = 7 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Intents.todo deleted file mode 100644 index 3d0299bd4924..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Intents.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound diff --git a/tests/xtro-sharpie/iOS-Intents.todo b/tests/xtro-sharpie/iOS-Intents.todo deleted file mode 100644 index 333debee2306..000000000000 --- a/tests/xtro-sharpie/iOS-Intents.todo +++ /dev/null @@ -1,45 +0,0 @@ -!deprecated-attribute-missing! INMessage::audioMessageFile missing a [Deprecated] attribute -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile: is incorrectly decorated with an [DesignatedInitializer] attribute -!missing-enum! INEditMessageIntentResponseCode not bound -!missing-enum! INUnsendMessagesIntentResponseCode not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound -!missing-enum-value! INMessageType native value INMessageTypeReaction = 26 not bound -!missing-protocol! INEditMessageIntentHandling not bound -!missing-protocol! INUnsendMessagesIntentHandling not bound -!missing-selector! INEditMessageIntent::editedContent not bound -!missing-selector! INEditMessageIntent::initWithMessageIdentifier:editedContent: not bound -!missing-selector! INEditMessageIntent::messageIdentifier not bound -!missing-selector! INEditMessageIntentResponse::code not bound -!missing-selector! INEditMessageIntentResponse::initWithCode:userActivity: not bound -!missing-selector! INMessage::attachmentFiles not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments: not bound -!missing-selector! INMessage::linkMetadata not bound -!missing-selector! INMessage::numberOfAttachments not bound -!missing-selector! INMessageLinkMetadata::initWithSiteName:summary:title:openGraphType:linkURL: not bound -!missing-selector! INMessageLinkMetadata::linkURL not bound -!missing-selector! INMessageLinkMetadata::openGraphType not bound -!missing-selector! INMessageLinkMetadata::setLinkURL: not bound -!missing-selector! INMessageLinkMetadata::setOpenGraphType: not bound -!missing-selector! INMessageLinkMetadata::setSiteName: not bound -!missing-selector! INMessageLinkMetadata::setSummary: not bound -!missing-selector! INMessageLinkMetadata::setTitle: not bound -!missing-selector! INMessageLinkMetadata::siteName not bound -!missing-selector! INMessageLinkMetadata::summary not bound -!missing-selector! INMessageLinkMetadata::title not bound -!missing-selector! INUnsendMessagesIntent::initWithMessageIdentifiers: not bound -!missing-selector! INUnsendMessagesIntent::messageIdentifiers not bound -!missing-selector! INUnsendMessagesIntentResponse::code not bound -!missing-selector! INUnsendMessagesIntentResponse::initWithCode:userActivity: not bound -!missing-type! INEditMessageIntent not bound -!missing-type! INEditMessageIntentResponse not bound -!missing-type! INMessageLinkMetadata not bound -!missing-type! INUnsendMessagesIntent not bound -!missing-type! INUnsendMessagesIntentResponse not bound -!missing-enum-value! INSearchForMessagesIntentResponseCode native value INSearchForMessagesIntentResponseCodeFailureRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INSendMessageIntentResponseCode native value INSendMessageIntentResponseCodeFailureRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INSendMessageRecipientUnsupportedReason native value INSendMessageRecipientUnsupportedReasonRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INStartCallContactUnsupportedReason native value INStartCallContactUnsupportedReasonRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INStartCallIntentResponseCode native value INStartCallIntentResponseCodeFailureRequiringInAppAuthentication = 13 not bound diff --git a/tests/xtro-sharpie/macOS-Intents.todo b/tests/xtro-sharpie/macOS-Intents.todo deleted file mode 100644 index 04bbc66488c0..000000000000 --- a/tests/xtro-sharpie/macOS-Intents.todo +++ /dev/null @@ -1,33 +0,0 @@ -!missing-enum! INEditMessageIntentResponseCode not bound -!missing-enum! INUnsendMessagesIntentResponseCode not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound -!missing-protocol! INEditMessageIntentHandling not bound -!missing-protocol! INUnsendMessagesIntentHandling not bound -!missing-selector! INEditMessageIntent::editedContent not bound -!missing-selector! INEditMessageIntent::initWithMessageIdentifier:editedContent: not bound -!missing-selector! INEditMessageIntent::messageIdentifier not bound -!missing-selector! INEditMessageIntentResponse::code not bound -!missing-selector! INEditMessageIntentResponse::initWithCode:userActivity: not bound -!missing-selector! INMessageLinkMetadata::initWithSiteName:summary:title:openGraphType:linkURL: not bound -!missing-selector! INMessageLinkMetadata::linkURL not bound -!missing-selector! INMessageLinkMetadata::openGraphType not bound -!missing-selector! INMessageLinkMetadata::setLinkURL: not bound -!missing-selector! INMessageLinkMetadata::setOpenGraphType: not bound -!missing-selector! INMessageLinkMetadata::setSiteName: not bound -!missing-selector! INMessageLinkMetadata::setSummary: not bound -!missing-selector! INMessageLinkMetadata::setTitle: not bound -!missing-selector! INMessageLinkMetadata::siteName not bound -!missing-selector! INMessageLinkMetadata::summary not bound -!missing-selector! INMessageLinkMetadata::title not bound -!missing-selector! INUnsendMessagesIntent::initWithMessageIdentifiers: not bound -!missing-selector! INUnsendMessagesIntent::messageIdentifiers not bound -!missing-selector! INUnsendMessagesIntentResponse::code not bound -!missing-selector! INUnsendMessagesIntentResponse::initWithCode:userActivity: not bound -!missing-type! INEditMessageIntent not bound -!missing-type! INEditMessageIntentResponse not bound -!missing-type! INMessageLinkMetadata not bound -!missing-type! INUnsendMessagesIntent not bound -!missing-type! INUnsendMessagesIntentResponse not bound -!missing-enum-value! INSendMessageIntentResponseCode native value INSendMessageIntentResponseCodeFailureRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INSendMessageRecipientUnsupportedReason native value INSendMessageRecipientUnsupportedReasonRequiringInAppAuthentication = 7 not bound diff --git a/tests/xtro-sharpie/tvOS-Intents.todo b/tests/xtro-sharpie/tvOS-Intents.todo deleted file mode 100644 index 3d0299bd4924..000000000000 --- a/tests/xtro-sharpie/tvOS-Intents.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound diff --git a/tests/xtro-sharpie/watchOS-Intents.ignore b/tests/xtro-sharpie/watchOS-Intents.ignore index 14c62660d30e..d8b1d69a72e3 100644 --- a/tests/xtro-sharpie/watchOS-Intents.ignore +++ b/tests/xtro-sharpie/watchOS-Intents.ignore @@ -38,3 +38,9 @@ !incorrect-protocol-member! INSearchForBillsIntentHandling::handleSearchForBills:completion: is REQUIRED and should be abstract !missing-selector! +CLPlacemark::placemarkWithLocation:name:postalAddress: not bound !extra-enum-value! Managed value 12 for INStartCallIntentResponseCode.FailureCallRinging is available for the current platform while the value in the native header is not + +# removed in xamcore 5 +!extra-enum-value! Managed value 4 for INAddMediaIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not +!extra-enum-value! Managed value 5 for INPlayMediaIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not +!extra-enum-value! Managed value 7 for INStartWorkoutIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not +!extra-enum-value! Managed value 8 for INStartWorkoutIntentResponseCode.Success is available for the current platform while the value in the native header is not diff --git a/tests/xtro-sharpie/watchOS-Intents.todo b/tests/xtro-sharpie/watchOS-Intents.todo deleted file mode 100644 index 3fd644ded9eb..000000000000 --- a/tests/xtro-sharpie/watchOS-Intents.todo +++ /dev/null @@ -1,49 +0,0 @@ -!extra-enum-value! Managed value 4 for INAddMediaIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not -!extra-enum-value! Managed value 5 for INPlayMediaIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not -!extra-enum-value! Managed value 7 for INStartWorkoutIntentResponseCode.HandleInApp is available for the current platform while the value in the native header is not -!extra-enum-value! Managed value 8 for INStartWorkoutIntentResponseCode.Success is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! INMessage::audioMessageFile missing a [Deprecated] attribute -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:audioMessageFile: is incorrectly decorated with an [DesignatedInitializer] attribute -!missing-enum! INEditMessageIntentResponseCode not bound -!missing-enum! INUnsendMessagesIntentResponseCode not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorNoAppIntent = 10001 not bound -!missing-enum-value! INIntentErrorCode native value INIntentErrorUnableToCreateAppIntentRepresentation = 10000 not bound -!missing-enum-value! INMessageType native value INMessageTypeReaction = 26 not bound -!missing-protocol! INEditMessageIntentHandling not bound -!missing-protocol! INUnsendMessagesIntentHandling not bound -!missing-selector! INEditMessageIntent::editedContent not bound -!missing-selector! INEditMessageIntent::initWithMessageIdentifier:editedContent: not bound -!missing-selector! INEditMessageIntent::messageIdentifier not bound -!missing-selector! INEditMessageIntentResponse::code not bound -!missing-selector! INEditMessageIntentResponse::initWithCode:userActivity: not bound -!missing-selector! INMessage::attachmentFiles not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:serviceName:attachmentFiles: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:linkMetadata: not bound -!missing-selector! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:numberOfAttachments: not bound -!missing-selector! INMessage::linkMetadata not bound -!missing-selector! INMessage::numberOfAttachments not bound -!missing-selector! INMessageLinkMetadata::initWithSiteName:summary:title:openGraphType:linkURL: not bound -!missing-selector! INMessageLinkMetadata::linkURL not bound -!missing-selector! INMessageLinkMetadata::openGraphType not bound -!missing-selector! INMessageLinkMetadata::setLinkURL: not bound -!missing-selector! INMessageLinkMetadata::setOpenGraphType: not bound -!missing-selector! INMessageLinkMetadata::setSiteName: not bound -!missing-selector! INMessageLinkMetadata::setSummary: not bound -!missing-selector! INMessageLinkMetadata::setTitle: not bound -!missing-selector! INMessageLinkMetadata::siteName not bound -!missing-selector! INMessageLinkMetadata::summary not bound -!missing-selector! INMessageLinkMetadata::title not bound -!missing-selector! INUnsendMessagesIntent::initWithMessageIdentifiers: not bound -!missing-selector! INUnsendMessagesIntent::messageIdentifiers not bound -!missing-selector! INUnsendMessagesIntentResponse::code not bound -!missing-selector! INUnsendMessagesIntentResponse::initWithCode:userActivity: not bound -!missing-type! INEditMessageIntent not bound -!missing-type! INEditMessageIntentResponse not bound -!missing-type! INMessageLinkMetadata not bound -!missing-type! INUnsendMessagesIntent not bound -!missing-type! INUnsendMessagesIntentResponse not bound -!missing-enum-value! INSearchForMessagesIntentResponseCode native value INSearchForMessagesIntentResponseCodeFailureRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INSendMessageIntentResponseCode native value INSendMessageIntentResponseCodeFailureRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INSendMessageRecipientUnsupportedReason native value INSendMessageRecipientUnsupportedReasonRequiringInAppAuthentication = 7 not bound -!missing-enum-value! INStartCallContactUnsupportedReason native value INStartCallContactUnsupportedReasonRequiringInAppAuthentication = 8 not bound -!missing-enum-value! INStartCallIntentResponseCode native value INStartCallIntentResponseCodeFailureRequiringInAppAuthentication = 13 not bound