[Intents] Fix a few missing APIs for Xcode 16 beta 1-6. (#21138)

This commit is contained in:
Rolf Bjarne Kvinge 2024-09-06 14:58:04 +02:00 коммит произвёл GitHub
Родитель 92cd45d064
Коммит ea8310c33a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
8 изменённых файлов: 4 добавлений и 30 удалений

Просмотреть файл

@ -4597,7 +4597,6 @@ namespace Intents {
[Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction instead.")]
[MacCatalyst (13, 1)]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:")]
[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);
[Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction instead.")]
@ -6852,7 +6851,7 @@ namespace Intents {
[DesignatedInitializer]
NativeHandle Constructor ([NullAllowed] INPerson [] recipients, INOutgoingMessageType outgoingMessageType, [NullAllowed] string content, [NullAllowed] INSpeakableString speakableGroupName, [NullAllowed] string conversationIdentifier, [NullAllowed] string serviceName, [NullAllowed] INPerson sender, [NullAllowed] INSendMessageAttachment [] attachments);
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")]
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")]
[Deprecated (PlatformName.WatchOS, 7, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")]
[Deprecated (PlatformName.iOS, 14, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")]
[MacCatalyst (13, 1)]
@ -10142,6 +10141,7 @@ namespace Intents {
[Deprecated (PlatformName.iOS, 14, 5, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")]
[Deprecated (PlatformName.MacCatalyst, 14, 5, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")]
[Deprecated (PlatformName.WatchOS, 7, 4, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")]
[Deprecated (PlatformName.MacOSX, 11, 3, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")]
[Watch (6, 0), iOS (13, 0)]
[MacCatalyst (13, 1)]
[Export ("initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls:")]
@ -15848,7 +15848,7 @@ namespace Intents {
void ConfirmUnsendMessages (INUnsendMessagesIntent intent, Action<INUnsendMessagesIntentResponse> completion);
}
[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac]
[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), Mac (15, 0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface INMessageReaction : NSCopying, NSSecureCoding {
@ -15866,7 +15866,7 @@ namespace Intents {
string Emoji { get; }
}
[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac]
[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), Mac (15, 0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface INSticker : NSCopying, NSSecureCoding {

Просмотреть файл

@ -176,7 +176,6 @@ namespace Cecil.Tests {
"HealthKit.HKWorkoutEvent.Create(HealthKit.HKWorkoutEventType, Foundation.NSDate)",
"HomeKit.HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HomeKit.HMSignificantEvent, Foundation.NSDateComponents)",
"HomeKit.HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HomeKit.HMSignificantEvent, Foundation.NSDateComponents)",
"Intents.INCallRecord..ctor(System.String, Foundation.NSDate, Intents.INPerson, Intents.INCallRecordType, Intents.INCallCapability, System.Nullable`1<System.Double>, System.Nullable`1<System.Boolean>, System.Nullable`1<System.Int32>)",
"Intents.INCallRecordType Intents.INStartCallIntent::RecordTypeForRedialing()",
"Intents.INCarChargingConnectorType Intents.INCarChargingConnectorType::Tesla",
"Intents.INSetClimateSettingsInCarIntent..ctor(System.Nullable`1<System.Boolean>, System.Nullable`1<System.Boolean>, System.Nullable`1<System.Boolean>, System.Nullable`1<System.Boolean>, Intents.INCarAirCirculationMode, Foundation.NSNumber, Foundation.NSNumber, Intents.INRelativeSetting, Foundation.NSMeasurement`1<Foundation.NSUnitTemperature>, Intents.INRelativeSetting, Intents.INCarSeat)",

Просмотреть файл

@ -1 +0,0 @@
!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute

Просмотреть файл

@ -1 +0,0 @@
!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute

Просмотреть файл

@ -1,10 +0,0 @@
!deprecated-attribute-missing! INCallRecord::initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls: missing a [Deprecated] attribute
!missing-selector! INMessageReaction::emoji not bound
!missing-selector! INMessageReaction::initWithReactionType:reactionDescription:emoji: not bound
!missing-selector! INMessageReaction::reactionDescription not bound
!missing-selector! INMessageReaction::reactionType not bound
!missing-selector! INSticker::emoji not bound
!missing-selector! INSticker::initWithType:emoji: not bound
!missing-selector! INSticker::type not bound
!missing-type! INMessageReaction not bound
!missing-type! INSticker not bound

Просмотреть файл

@ -1 +0,0 @@
!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute

Просмотреть файл

@ -1,11 +0,0 @@
!deprecated-attribute-missing! INCallRecord::initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls: missing a [Deprecated] attribute
!deprecated-attribute-wrong! INSendMessageIntent::initWithRecipients:content:speakableGroupName:conversationIdentifier:serviceName:sender: has 12.0 not 11.0 on [Deprecated] attribute
!missing-selector! INMessageReaction::emoji not bound
!missing-selector! INMessageReaction::initWithReactionType:reactionDescription:emoji: not bound
!missing-selector! INMessageReaction::reactionDescription not bound
!missing-selector! INMessageReaction::reactionType not bound
!missing-selector! INSticker::emoji not bound
!missing-selector! INSticker::initWithType:emoji: not bound
!missing-selector! INSticker::type not bound
!missing-type! INMessageReaction not bound
!missing-type! INSticker not bound

Просмотреть файл

@ -1 +0,0 @@
!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute