Inherits from UIViewController
Declared in Bit6CallViewController.h

Overview

UIViewController to use during a call. This class should be extended. Only one object of this class or its subclasses should be kept in memory.

Class Methods

createDefaultCallViewController

Creates a default view controller to use during a call.

+ (nonnull Bit6CallViewController *)createDefaultCallViewController

Return Value

view controller to use during a call.

Declared In

Bit6CallViewController.h

Instance Methods

addCallController:

Set the Bit6CallController for this viewController.

- (void)addCallController:(nonnull Bit6CallController *)callController

Parameters

callController

object to link to this viewController.

Declared In

Bit6CallViewController.h

callStateChangedNotificationForCallController:

Called in the Main Thread when the status of the call changes. The default implementation does nothing.

- (void)callStateChangedNotificationForCallController:(nonnull Bit6CallController *)callController

Parameters

callController

object which state has changed.

Declared In

Bit6CallViewController.h

refreshControlsView

Called in the Main Thread when the UI controls should be updated. For example when the “mute” property changed this method will be called to allow updating the UI accordingly. The default implementation does nothing.

- (void)refreshControlsView

Declared In

Bit6CallViewController.h

secondsChangedNotificationForCallController:

Called in the Main Thread each second to allow the refresh of a timer UILabel. The default implementation does nothing.

- (void)secondsChangedNotificationForCallController:(nonnull Bit6CallController *)callController

Parameters

callController

object which ‘seconds’ property has changed.

Declared In

Bit6CallViewController.h

setNeedsUpdateVideoViewLayout

Used if you need to force a call to <updateLayoutForRemoteVideoView:localVideoView:remoteVideoAspectRatio:localVideoAspectRatio:>.

- (void)setNeedsUpdateVideoViewLayout

Declared In

Bit6CallViewController.h

updateLayoutForVideoFeedViews:

Called in the Main Thread to customize the frames for the video feeds. You can call setNeedsUpdateVideoViewLayout at any time to force a refresh of the frames.

- (void)updateLayoutForVideoFeedViews:(nonnull NSArray<Bit6VideoFeedView*> *)videoFeedViews

Parameters

videoFeedViews

the Bit6VideoFeedView references to the video feed.

Declared In

Bit6CallViewController.h