Audio Call Screen
The MFUICallScreenViewController
is a class that is used to build a one to one Audio Call for incoming and outgoing calls
#
Module ComponentsIn 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 name | Type |
---|---|
headerComponent | MFUICallScreenModule.Header |
hangupFooterComponent | MFUICallScreenModule.HangupFooter |
retryFooterComponent | MFUICallScreenModule.RetryFooter |
muteViewComponent | MFUICallScreenModule.MuteView |
callOverlayComponent | MFUICallScreenModule.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 ComponentThe 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 name | Type |
---|---|
delegate | MFUICallScreenModuleHeaderDelegate |
theme | MFCallScreenTheme |
#
hangupFooter ComponentThe 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 name | Type |
---|---|
delegate | MFUICallScreenModuleHangupFooterDelegate |
theme | MFCallScreenTheme |
#
retryFooter ComponentThe retryFooter Component includes cancel button, call again button. The following table shows the parameters of the configure()
method of the retryFooter Component.
Parameter name | Type |
---|---|
delegate | MFUICallScreenModuleRetryFooterDelegate |
theme | MFCallScreenTheme |
#
muteView ComponentThe muteView Component includes mute imageview, mute describtion label. The following table shows the parameters of the configure()
method of the retryFooter Component.
Parameter name | Type |
---|---|
theme | MFCallScreenTheme |
#
callOverlay ComponentThe 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 name | Type |
---|---|
delegate | MFUICallScreenModuleCallOverlayDelegate |
theme | MFCallScreenTheme |