Skip to content

Commit 3757b36

Browse files
authored
[overlay] Nest CallKit enum types within their associated classes (#4312)
Addresses the <rdar://problem/27553337>
1 parent aa2e7f6 commit 3757b36

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

apinotes/CallKit.apinotes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ Tags:
1414
NSErrorDomain: CXErrorDomainRequestTransaction
1515
- Name: CXErrorCodeCallDirectoryManagerError
1616
NSErrorDomain: CXErrorDomainCallDirectoryManager
17+
- Name: CXCallDirectoryEnabledStatus
18+
SwiftName: CXCallDirectoryManager.EnabledStatus
19+
- Name: CXPlayDTMFCallActionType
20+
SwiftName: CXPlayDTMFCallAction.ActionType
21+
- Name: CXHandleType
22+
SwiftName: CXHandle.HandleType

stdlib/public/SDK/CallKit/CXProviderConfiguration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import Foundation
1616
@available(iOS 10.0, *)
1717
extension CXProviderConfiguration {
1818
@nonobjc
19-
public final var supportedHandleTypes: Set<CXHandleType> {
19+
public final var supportedHandleTypes: Set<CXHandle.HandleType> {
2020
get {
2121
return Set(__supportedHandleTypes.map {
22-
CXHandleType(rawValue: $0.intValue)!
22+
CXHandle.HandleType(rawValue: $0.intValue)!
2323
})
2424
}
2525
set {

0 commit comments

Comments
 (0)