[Intents] Fix breaking changes in Intents added in Xcode 9 Bindings (#2590)

Apple added more protocol conformances to INRidesharingDomainHandling and
INPaymentsDomainHandling protocols in Xcode 9, I introduced these breaking
changes back when I did intents binding so fixing them :)
This commit is contained in:
Alex Soto 2017-09-05 07:37:34 -05:00 коммит произвёл GitHub
Родитель 17a7b1c386
Коммит 483561c38f
1 изменённых файлов: 6 добавлений и 2 удалений

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

@ -2171,7 +2171,11 @@ namespace XamCore.Intents {
[Introduced (PlatformName.WatchOS, 3, 2)] [Introduced (PlatformName.WatchOS, 3, 2)]
[Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.MacOSX)]
[Protocol] [Protocol]
interface INPaymentsDomainHandling : INSendPaymentIntentHandling, INRequestPaymentIntentHandling, INPayBillIntentHandling, INSearchForBillsIntentHandling, INSearchForAccountsIntentHandling, INTransferMoneyIntentHandling { interface INPaymentsDomainHandling : INSendPaymentIntentHandling, INRequestPaymentIntentHandling, INPayBillIntentHandling, INSearchForBillsIntentHandling
#if XAMCORE_4_0 // Added in iOS 11 -> #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
, INSearchForAccountsIntentHandling, INTransferMoneyIntentHandling
#endif
{
} }
[Introduced (PlatformName.iOS, 10, 0)] [Introduced (PlatformName.iOS, 10, 0)]
@ -2186,7 +2190,7 @@ namespace XamCore.Intents {
[Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.MacOSX)]
[Protocol] [Protocol]
interface INRidesharingDomainHandling : INListRideOptionsIntentHandling, INRequestRideIntentHandling, INGetRideStatusIntentHandling interface INRidesharingDomainHandling : INListRideOptionsIntentHandling, INRequestRideIntentHandling, INGetRideStatusIntentHandling
#if !WATCH #if XAMCORE_4_0 // Added in iOS 11 -> #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
, INCancelRideIntentHandling, INSendRideFeedbackIntentHandling , INCancelRideIntentHandling, INSendRideFeedbackIntentHandling
#endif #endif
{ {