Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/coretelephony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,15 @@ interface CTCellularPlanProvisioning {
delegate void CTCellularPlanProvisioningAddPlanCompletionHandler (CTCellularPlanProvisioningAddPlanResult result);
delegate void CTCellularPlanProvisioningUpdateCellularPlanCompletionHandler ([NullAllowed] NSError error);

/// <summary>Represents lifecycle properties for a cellular plan.</summary>
[NoTV, NoMac, iOS (26, 4), MacCatalyst (26, 4)]
[BaseType (typeof (NSObject))]
interface CTCellularPlanLifecycleProperties : NSSecureCoding {
/// <summary>Gets or sets the expiration date of the cellular plan.</summary>
[Export ("expirationDate", ArgumentSemantic.Assign)]
NSDateComponents ExpirationDate { get; set; }
}

[NoTV, NoMac, iOS (26, 0), MacCatalyst (26, 0)]
[BaseType (typeof (NSObject))]
interface CTCellularPlanProperties : NSSecureCoding {
Expand All @@ -479,6 +488,11 @@ interface CTCellularPlanProperties : NSSecureCoding {

[Export ("supportedRegionCodes", ArgumentSemantic.Assign)]
string [] SupportedRegionCodes { get; set; }

/// <summary>Gets or sets the lifecycle-related properties of the cellular plan.</summary>
[iOS (26, 4), MacCatalyst (26, 4)]
[NullAllowed, Export ("lifecycleProperties", ArgumentSemantic.Assign)]
CTCellularPlanLifecycleProperties LifecycleProperties { get; set; }
}

[iOS (26, 0), MacCatalyst (26, 0), NoTV, NoMac]
Expand Down
2 changes: 2 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11431,6 +11431,8 @@ M:CoreSpotlight.CSUserQuery.UserEngaged(CoreSpotlight.CSSuggestion,CoreSpotlight
M:CoreSpotlight.CSUserQueryContext.Create(CoreSpotlight.CSSuggestion)
M:CoreSpotlight.ICSSearchableIndexDelegate.DidUpdate(CoreSpotlight.CSSearchableItem[])
M:CoreSpotlight.ICSSearchableIndexDelegate.GetSearchableItems(System.String[],CoreSpotlight.CSSearchableIndexDelegateGetSearchableItemsHandler)
M:CoreTelephony.CTCellularPlanLifecycleProperties.Dispose(System.Boolean)
M:CoreTelephony.CTCellularPlanProperties.Dispose(System.Boolean)
M:CoreTelephony.CTCellularPlanProvisioning.AddPlan(CoreTelephony.CTCellularPlanProvisioningRequest,CoreTelephony.CTCellularPlanProperties,CoreTelephony.CTCellularPlanProvisioningAddPlanCompletionHandler)
M:CoreTelephony.CTCellularPlanProvisioning.AddPlanAsync(CoreTelephony.CTCellularPlanProvisioningRequest,CoreTelephony.CTCellularPlanProperties)
M:CoreTelephony.CTCellularPlanProvisioning.UpdateCellularPlan(CoreTelephony.CTCellularPlanProperties,CoreTelephony.CTCellularPlanProvisioningUpdateCellularPlanCompletionHandler)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# headers say yes, but introspection says no, so keep this selector out of Mac Catalyst for now
!missing-selector! CTCellularPlanProvisioning::addPlanWithRequest:properties:completionHandler: not bound

This file was deleted.

This file was deleted.

Loading