Conforms to NSObject
Declared in Bit6CallController.h

Overview

The Bit6DataChannelDelegate protocol defines the methods an object should implement to listen to changes during a call.

Instance Methods

callController:callDidChangeToState:

Called when the call state has changed. This method is called in the main thread.

- (void)callController:(Bit6CallController *)callController callDidChangeToState:(Bit6CallState)state

Parameters

callController

The call for which the state has changed.

state

new state for the call.

Declared In

Bit6CallController.h

callController:dataChannelDidChangeToState:

Called when the data channel state has changed. This method is called in the main thread.

- (void)callController:(Bit6CallController *)callController dataChannelDidChangeToState:(Bit6DataChannelState)state

Parameters

callController

The call for which the data channel has changed status.

state

new state for the data channel.

Declared In

Bit6CallController.h

callController:localVideoFeedInterruptedBecause:

Called when the local video feed will be interrupted. This method is called in the main thread.

- (void)callController:(Bit6CallController *)callController localVideoFeedInterruptedBecause:(int)reason

Parameters

callController

object referring to the call.

reason

reason for the interruption as a AVCaptureSessionInterruptionReason value. Only AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableWithMultipleForegroundApps is supported at the moment.

Declared In

Bit6CallController.h

callController:transfer:change:

Called to notify changes in a transfer during a call. This method is called in the main thread.

- (void)callController:(Bit6CallController *)callController transfer:(Bit6Transfer *)transfer change:(NSString *)change

Parameters

callController

object referring to the call.

transfer

transfer to which the update refers to.

change

change occurring to the transfer. Can be one of the following constants: Bit6TransferStartedKey, Bit6TransferProgressKey, Bit6TransferEndedKey, Bit6TransferEndedWithErrorKey.

Declared In

Bit6CallController.h

localVideoFeedInterruptionEndedForCallController:

Called when the local video feed interruption has ended. This method is called in the main thread.

- (void)localVideoFeedInterruptionEndedForCallController:(Bit6CallController *)callController

Parameters

callController

object referring to the call.

Declared In

Bit6CallController.h

secondsDidChangeForCallController:

Called each second to allow the refresh of a timer UI. This method is called in the main thread.

- (void)secondsDidChangeForCallController:(Bit6CallController *)callController

Parameters

callController

object which ‘seconds’ property has changed.

Declared In

Bit6CallController.h