Complex Call Scenarios
This topic introduces the functionalities and implementation methods related to complex call scenarios (call waiting, call transfer, etc.) in 'Linkus SDK for macOS'.
Switch calls during call waiting
- (void)callChange:(YLSSipCall *)waitingCall;
Add delegate
When there are complex call scenarios (such as call transfer or call waiting), use this method to add delegate.
- (void)addDelegate:(id<YLSCallStatusManagerDelegate>)delegate;
Remove delegate
When there are complex call scenarios (such as call transfer or call waiting), use this method to remove delegate.
- (void)removeDelegate:(id<YLSCallStatusManagerDelegate>)delegate;
Handle incoming calls while on a call
When receiving a new incoming call while on a call, use this method to call back the current call's status (answer, ringing, hang up, mute, etc.).
- (void)callStatusManager:(YLSCallStatusManager *)callStatusManager currentCall:(YLSSipCall *)currentCall;
Callback for call status in complex call scenarios
When there are complex call scenarios (such as call transfer or call waiting), use this method to call back the current call's status.
- (void)callStatusManager:(YLSCallStatusManager *)callStatusManager currentCall:(YLSSipCall *)currentCall
callWaiting:(nullable YLSSipCall *)callWaitingCall transferCall:(nullable YLSSipCall *)transferCall;