@@ -58,6 +58,7 @@ public enum CXErrorCodeIncomingCallError : long {
5858 FilteredByBlockList = 4 ,
5959 FilteredDuringRestrictedSharingMode = 5 ,
6060 CallIsProtected = 6 ,
61+ FilteredBySensitiveParticipants = 7 ,
6162 }
6263
6364 /// <summary>Enumerates transaction request errors.</summary>
@@ -673,6 +674,10 @@ interface CXProviderDelegate {
673674 [ MacCatalyst ( 13 , 1 ) ]
674675 [ Export ( "provider:didDeactivateAudioSession:" ) ]
675676 void DidDeactivateAudioSession ( CXProvider provider , AVAudioSession audioSession ) ;
677+
678+ [ iOS ( 26 , 0 ) , NoMacCatalyst , NoMac ]
679+ [ Export ( "provider:performSetTranslatingCallAction:" ) ]
680+ void PerformSetTranslatingCallAction ( CXProvider provider , CXSetTranslatingCallAction action ) ;
676681 }
677682
678683 /// <summary>Reports external (out-of-band) events, such as incoming calls, to the system, and receives internal (in-band) user action events from the system.</summary>
@@ -785,6 +790,10 @@ interface CXProviderConfiguration : NSCopying {
785790 [ DesignatedInitializer ]
786791 [ Export ( "init" ) ]
787792 NativeHandle Constructor ( ) ;
793+
794+ [ iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) , Mac ( 26 , 0 ) ]
795+ [ Export ( "supportsAudioTranslation" ) ]
796+ bool SupportsAudioTranslation { get ; set ; }
788797 }
789798
790799 /// <summary>Contains the data that are needed to join a group call.</summary>
@@ -913,4 +922,32 @@ interface CXTransaction : NSCopying, NSSecureCoding {
913922 [ Export ( "addAction:" ) ]
914923 void AddAction ( CXAction action ) ;
915924 }
925+
926+ [ NoTV , NoMacCatalyst , NoMac , iOS ( 26 , 0 ) ]
927+ [ BaseType ( typeof ( CXCallAction ) ) ]
928+ [ DisableDefaultCtor ]
929+ interface CXSetTranslatingCallAction : NSSecureCoding {
930+ [ Export ( "isTranslating" ) ]
931+ bool IsTranslating { get ; }
932+
933+ [ Export ( "localLanguage" , ArgumentSemantic . Strong ) ]
934+ NSLocale LocalLanguage { get ; }
935+
936+ [ Export ( "remoteLanguage" , ArgumentSemantic . Strong ) ]
937+ NSLocale RemoteLanguage { get ; }
938+
939+ [ Export ( "initWithCallUUID:isTranslating:localLanguage:remoteLanguage:" ) ]
940+ [ DesignatedInitializer ]
941+ NativeHandle Constructor ( NSUuid uuid , bool isTranslating , NSLocale localLanguage , NSLocale remoteLanguage ) ;
942+
943+ [ Export ( "fulfillUsingTranslationEngine:" ) ]
944+ void Fulfill ( CXTranslationEngine translationEngine ) ;
945+ }
946+
947+ [ iOS ( 26 , 0 ) , NoMacCatalyst , NoMac ]
948+ [ Native ]
949+ public enum CXTranslationEngine : long {
950+ Default ,
951+ Custom ,
952+ }
916953}
0 commit comments