Audio Call Screen

The MFUICallScreenViewController is a class that is used to build a one to one Audio Call for incoming and outgoing calls

audiocall

Module Components#

In the MFUICallScreenViewController class, MFUICallScreenModule and its components are used to create and display call screen view. The module is composed of five components: headerComponent,hangupFooterComponent,retryFooterComponent,muteViewComponent and callOverlayComponent

Property nameType
headerComponentMFUICallScreenModule.Header
hangupFooterComponentMFUICallScreenModule.HangupFooter
retryFooterComponentMFUICallScreenModule.RetryFooter
muteViewComponentMFUICallScreenModule.MuteView
callOverlayComponentMFUICallScreenModule.CallOverlayView

When the loadView() method of the view controller is called, the module components get added to the view in the setupView() method of the MirrorFly UIKit's view life cycle. Then, the configure() method of each module component is called to set the property values and display the view.

Header Component#

The headerComponent includes a back Button, Call status Label, caller/Receiver Name Label, caller/Receiver ImageView and Connected call Time Label . Each property corresponds to the module elements of MFUICallScreenViewController.

The following table shows the parameters of the configure() method of the headerComponent.

Parameter nameType
delegateMFUICallScreenModuleHeaderDelegate
themeMFCallScreenTheme

hangupFooter Component#

The hangupFooter Component shows Mute button, speaker button and hangup button. The following table shows the parameters of the configure() method of the hangupFooter Component.

Parameter nameType
delegateMFUICallScreenModuleHangupFooterDelegate
themeMFCallScreenTheme

retryFooter Component#

The retryFooter Component includes cancel button, call again button. The following table shows the parameters of the configure() method of the retryFooter Component.

Parameter nameType
delegateMFUICallScreenModuleRetryFooterDelegate
themeMFCallScreenTheme

muteView Component#

The muteView Component includes mute imageview, mute describtion label. The following table shows the parameters of the configure() method of the retryFooter Component.

Parameter nameType
themeMFCallScreenTheme

callOverlay Component#

The callOverlay Component includes imageview button which will show caller/Receiver Image. The following table shows the parameters of the configure() method of the retryFooter Component.

Parameter nameType
delegateMFUICallScreenModuleCallOverlayDelegate
themeMFCallScreenTheme