func addChatView(to: UIViewController, view: UIView)
This method addChatView is use to embed the chat view into your given view. If you prefers to have a full screen of chat view that comes with navigation, use the pushChatView method instead.
func addParticipantsView(to: UIViewController, view: UIView)
This method addParticipantsView is use to embed the participants view into your given view. If you prefers to have a full screen of participants view that comes with navigation, use the pushParticipantsView method instead.
func addSettingsView(to: UIViewController, view: UIView)
This method addSettingsView is use to embed the settings view into your given view. If you prefers to have a full screen of settings view that comes with navigation, use the pushSettingsView method instead.
func cleanup()
Call the cleanup method to dispose all necessary delegate and data.
func closeChatView()
This method closeChatView is to clear the chat view data that was embedded in the addChatView method.
func closeParticipantsView()
This method closeParticipantsView is to clear the participant view data that was embedded in the addParticipantsView method.
func closeSettingsView()
This method closeSettingsView is to clear the settings view data that was embedded in the addSettingsView method.
func isChatAvailable() -> Bool
This method isChatAvailable is use to determine whether chat is available.
func leaveSession(toEnd: Bool)
To leave the session.
func pushChatView()
This method pushChatView is use to push the full screen of chat view that comes with navigation If you prefers to embed the chat view into your own view, use the addChatView method instead.
func pushParticipantsView()
This method pushParticipantsView is use to push the full screen of Participants View that comes with navigation If you prefers to embed the Participants View into your own view, use the addParticipantsView method instead.
func pushSettingsView()
This method pushSettingsView is use to push the full screen of settings view that comes with navigation If you prefers to embed the settings view into your own view, use the addSettingsView method instead.
func setActiveSpeakerGalleryView(with: ActiveSpeakerGalleryView)
After initializing the active speaker and gallery view component, this method setActiveSpeakerGalleryView must be called.
func setCTABar(with: CTANavBar)
After initializing the CTA bar and gallery view component, this method setCTABar must be called.
func setTitleBar(with: TitleNavBar)
After initializing the title bar component, this method setTitleBar must be called.
func setup(with: SessionContext, inputInitParams: InitParams?)
The very first method (setup) that needs to be called to ensure that UIToolkitComponentManager works as intended.
func setupDelegate(with: UIToolkitDelegate)
Delegate needs to be setup in order to receive any callback from the UIToolkitComponentManager’s UIToolkitDelegate.
func startJoinSession()
To start or join a session. setup and setupDelegate must be done before calling this method.