diff --git a/ios/sdk/src/JitsiMeetConferenceOptions.h b/ios/sdk/src/JitsiMeetConferenceOptions.h index bea40e99d..8081bc579 100644 --- a/ios/sdk/src/JitsiMeetConferenceOptions.h +++ b/ios/sdk/src/JitsiMeetConferenceOptions.h @@ -71,6 +71,16 @@ - (void)setFeatureFlag:(NSString *_Nonnull)flag withBoolean:(BOOL)value; - (void)setFeatureFlag:(NSString *_Nonnull)flag withValue:(id _Nonnull)value; +/** + * CallKit call handle, to be used when implementing incoming calls. + */ +@property (nonatomic, copy, nullable) NSString *callHandle; + +/** + * CallKit call UUID, to be used when implementing incoming calls. + */ +@property (nonatomic, copy, nullable) NSUUID *callUUID; + @end @interface JitsiMeetConferenceOptions : NSObject @@ -92,6 +102,9 @@ @property (nonatomic, nullable) JitsiMeetUserInfo *userInfo; +@property (nonatomic, copy, nullable, readonly) NSString *callHandle; +@property (nonatomic, copy, nullable, readonly) NSUUID *callUUID; + + (instancetype _Nonnull)fromBuilder:(void (^_Nonnull)(JitsiMeetConferenceOptionsBuilder *_Nonnull))initBlock; - (instancetype _Nonnull)init NS_UNAVAILABLE; diff --git a/ios/sdk/src/JitsiMeetConferenceOptions.m b/ios/sdk/src/JitsiMeetConferenceOptions.m index 5962d573c..49f434b3f 100644 --- a/ios/sdk/src/JitsiMeetConferenceOptions.m +++ b/ios/sdk/src/JitsiMeetConferenceOptions.m @@ -52,6 +52,9 @@ static NSString *const WelcomePageEnabledFeatureFlag = @"welcomepage.enabled"; _videoMuted = nil; _userInfo = nil; + + _callHandle = nil; + _callUUID = nil; } return self; @@ -168,6 +171,9 @@ static NSString *const WelcomePageEnabledFeatureFlag = @"welcomepage.enabled"; _featureFlags = [NSDictionary dictionaryWithDictionary:builder.featureFlags]; _userInfo = builder.userInfo; + + _callHandle = builder.callHandle; + _callUUID = builder.callUUID; } return self; @@ -205,6 +211,12 @@ static NSString *const WelcomePageEnabledFeatureFlag = @"welcomepage.enabled"; if (_subject != nil) { config[@"subject"] = self.subject; } + if (_callHandle != nil) { + config[@"callHandle"] = self.callHandle; + } + if (_callUUID != nil) { + config[@"callUUID"] = [self.callUUID UUIDString]; + } NSMutableDictionary *urlProps = [[NSMutableDictionary alloc] init];