[CoreTelephony] Add support for xcode 15. (#18920)

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
This commit is contained in:
Manuel de la Pena 2023-09-05 10:39:39 -04:00 коммит произвёл GitHub
Родитель 193618591d
Коммит 1b818059c1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 6 добавлений и 8 удалений

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

@ -28,5 +28,7 @@ namespace CoreTelephony {
Unknown,
Fail,
Success,
[iOS (17, 0)]
Cancel,
}
}

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

@ -112,6 +112,8 @@ namespace CoreTelephony {
[iOS (12, 0)]
[MacCatalyst (14, 0)]
[Deprecated (PlatformName.iOS, 16, 0)]
[Deprecated (PlatformName.MacCatalyst, 16, 0)]
[NullAllowed]
[Export ("serviceSubscriberCellularProviders", ArgumentSemantic.Retain)]
NSDictionary<NSString, CTCarrier> ServiceSubscriberCellularProviders { get; }
@ -124,6 +126,8 @@ namespace CoreTelephony {
[iOS (12, 0)]
[MacCatalyst (14, 0)]
[Deprecated (PlatformName.iOS, 16, 0)]
[Deprecated (PlatformName.MacCatalyst, 16, 0)]
[NullAllowed]
[Export ("serviceSubscriberCellularProvidersDidUpdateNotifier", ArgumentSemantic.Copy)]
Action<NSString> ServiceSubscriberCellularProvidersDidUpdateNotifier { get; set; }

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

@ -1,4 +0,0 @@
!deprecated-attribute-missing! CTTelephonyNetworkInfo::serviceSubscriberCellularProviders missing a [Deprecated] attribute
!deprecated-attribute-missing! CTTelephonyNetworkInfo::serviceSubscriberCellularProvidersDidUpdateNotifier missing a [Deprecated] attribute
!deprecated-attribute-missing! CTTelephonyNetworkInfo::setServiceSubscriberCellularProvidersDidUpdateNotifier: missing a [Deprecated] attribute
!missing-enum-value! CTCellularPlanProvisioningAddPlanResult native value CTCellularPlanProvisioningAddPlanResultCancel = 3 not bound

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

@ -1,4 +0,0 @@
!deprecated-attribute-missing! CTTelephonyNetworkInfo::serviceSubscriberCellularProviders missing a [Deprecated] attribute
!deprecated-attribute-missing! CTTelephonyNetworkInfo::serviceSubscriberCellularProvidersDidUpdateNotifier missing a [Deprecated] attribute
!deprecated-attribute-missing! CTTelephonyNetworkInfo::setServiceSubscriberCellularProvidersDidUpdateNotifier: missing a [Deprecated] attribute
!missing-enum-value! CTCellularPlanProvisioningAddPlanResult native value CTCellularPlanProvisioningAddPlanResultCancel = 3 not bound