[ios][coretelephony] Update for GM (#4803)
This commit is contained in:
Родитель
c248d05c56
Коммит
d3decb2117
|
@ -49,4 +49,12 @@ namespace CoreTelephony {
|
|||
Restricted,
|
||||
NotRestricted
|
||||
}
|
||||
|
||||
[iOS (12,0)]
|
||||
[Native]
|
||||
public enum CTCellularPlanProvisioningAddPlanResult : long {
|
||||
Unknown,
|
||||
Fail,
|
||||
Success,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,9 +69,11 @@ namespace CoreTelephony {
|
|||
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CTTelephonyNetworkInfo {
|
||||
[Deprecated (PlatformName.iOS, 12,0, message: "Use 'ServiceSubscriberCellularProviders' instead.")]
|
||||
[Export ("subscriberCellularProvider", ArgumentSemantic.Retain)]
|
||||
CTCarrier SubscriberCellularProvider { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 12,0, message: "Use 'ServiceSubscriberCellularProvidersDidUpdateNotifier' instead.")]
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("subscriberCellularProviderDidUpdateNotifier")]
|
||||
#if XAMCORE_2_0
|
||||
|
@ -80,8 +82,29 @@ namespace CoreTelephony {
|
|||
CTCarrierEventHandler CellularProviderUpdatedEventHandler { get; set; }
|
||||
#endif
|
||||
|
||||
[Deprecated (PlatformName.iOS, 12,0, message: "Use 'ServiceCurrentRadioAccessTechnology' instead.")]
|
||||
[iOS (7,0), Export ("currentRadioAccessTechnology")]
|
||||
NSString CurrentRadioAccessTechnology { get; }
|
||||
|
||||
[iOS (12,0)]
|
||||
[NullAllowed]
|
||||
[Export ("serviceSubscriberCellularProviders", ArgumentSemantic.Retain)]
|
||||
NSDictionary<NSString, CTCarrier> ServiceSubscriberCellularProviders { get; }
|
||||
|
||||
[iOS (12,0)]
|
||||
[NullAllowed]
|
||||
[Export ("serviceCurrentRadioAccessTechnology", ArgumentSemantic.Retain)]
|
||||
NSDictionary<NSString, NSString> ServiceCurrentRadioAccessTechnology { get; }
|
||||
|
||||
[iOS (12,0)]
|
||||
[NullAllowed]
|
||||
[Export ("serviceSubscriberCellularProvidersDidUpdateNotifier", ArgumentSemantic.Copy)]
|
||||
Action<NSString> ServiceSubscriberCellularProvidersDidUpdateNotifier { get; set; }
|
||||
|
||||
[iOS (12,0)]
|
||||
[Notification]
|
||||
[Field ("CTServiceRadioAccessTechnologyDidChangeNotification")]
|
||||
NSString ServiceRadioAccessTechnologyDidChangeNotification { get; }
|
||||
}
|
||||
|
||||
#if !XAMCORE_2_0
|
||||
|
@ -141,4 +164,37 @@ namespace CoreTelephony {
|
|||
[Export ("subscriber")]
|
||||
CTSubscriber Subscriber { get; }
|
||||
}
|
||||
|
||||
[iOS (12,0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CTCellularPlanProvisioningRequest : NSSecureCoding {
|
||||
[Export ("address")]
|
||||
string Address { get; set; }
|
||||
|
||||
[NullAllowed, Export ("matchingID")]
|
||||
string MatchingId { get; set; }
|
||||
|
||||
[NullAllowed, Export ("OID")]
|
||||
string Oid { get; set; }
|
||||
|
||||
[NullAllowed, Export ("confirmationCode")]
|
||||
string ConfirmationCode { get; set; }
|
||||
|
||||
[NullAllowed, Export ("ICCID")]
|
||||
string Iccid { get; set; }
|
||||
|
||||
[NullAllowed, Export ("EID")]
|
||||
string Eid { get; set; }
|
||||
}
|
||||
|
||||
[iOS (12,0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CTCellularPlanProvisioning {
|
||||
[Export ("supportsCellularPlan")]
|
||||
bool SupportsCellularPlan { get; }
|
||||
|
||||
[Async]
|
||||
[Export ("addPlanWith:completionHandler:")]
|
||||
void AddPlan (CTCellularPlanProvisioningRequest request, Action<CTCellularPlanProvisioningAddPlanResult> completionHandler);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
!missing-enum! CTCellularPlanProvisioningAddPlanResult not bound
|
||||
!missing-field! CTServiceRadioAccessTechnologyDidChangeNotification not bound
|
||||
!missing-selector! CTCellularPlanProvisioning::addPlanWith:completionHandler: not bound
|
||||
!missing-selector! CTCellularPlanProvisioning::supportsCellularPlan not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::address not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::confirmationCode not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::EID not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::ICCID not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::matchingID not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::OID not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setAddress: not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setConfirmationCode: not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setEID: not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setICCID: not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setMatchingID: not bound
|
||||
!missing-selector! CTCellularPlanProvisioningRequest::setOID: not bound
|
||||
!missing-selector! CTTelephonyNetworkInfo::serviceCurrentRadioAccessTechnology not bound
|
||||
!missing-selector! CTTelephonyNetworkInfo::serviceSubscriberCellularProviders not bound
|
||||
!missing-selector! CTTelephonyNetworkInfo::serviceSubscriberCellularProvidersDidUpdateNotifier not bound
|
||||
!missing-selector! CTTelephonyNetworkInfo::setServiceSubscriberCellularProvidersDidUpdateNotifier: not bound
|
||||
!missing-type! CTCellularPlanProvisioning not bound
|
||||
!missing-type! CTCellularPlanProvisioningRequest not bound
|
Загрузка…
Ссылка в новой задаче