Skip to content

CallKit iOS xcode26.0 b5

Rolf Bjarne Kvinge edited this page Aug 11, 2025 · 3 revisions

#CallKit.framework https://github.com/dotnet/macios/pull/23546

diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h
--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h	2025-07-12 04:30:57
+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h	2025-07-27 22:57:40
@@ -10,9 +10,9 @@
 #import <CallKit/CXCallAction.h>
 
 NS_SWIFT_SENDABLE
-typedef NS_ENUM(NSUInteger, CXTranslationEngine) {
+typedef NS_ENUM(NSInteger, CXTranslationEngine) {
     CXTranslationEngineDefault,
-    CXTranslationEngineExternal,
+    CXTranslationEngineCustom,
 };
 
 NS_ASSUME_NONNULL_BEGIN
@@ -26,14 +26,14 @@
 @interface CXSetTranslatingCallAction : CXCallAction <NSSecureCoding>
 
 @property (nonatomic, readonly) BOOL isTranslating;
-@property (nonatomic, readonly, strong) NSLocale * localLocale;
-@property (nonatomic, readonly, strong) NSLocale * remoteLocale;
+@property (nonatomic, readonly, strong) NSString * localLanguage;
+@property (nonatomic, readonly, strong) NSString * remoteLanguage;
 
-- (instancetype)initWithCallUUID:(NSUUID *)uuid isTranslating:(BOOL)isTranslating localLocale:(NSLocale *)localLocale remoteLocale:(NSLocale *)remoteLocale NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithCallUUID:(NSUUID *)uuid isTranslating:(BOOL)isTranslating localLanguage:(NSString *)localLanguage remoteLanguage:(NSString *)remoteLanguage NS_DESIGNATED_INITIALIZER;
 - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
 - (instancetype)initWithCallUUID:(NSUUID *)callUUID NS_UNAVAILABLE;
 
-- (void)fulfillWithTranslationEngine:(CXTranslationEngine)translationEngine;
+- (void)fulfillUsingTranslationEngine:(CXTranslationEngine)translationEngine;
 
 @end
 
Clone this wiki locally