TVOCallDelegate Protocol Reference

Conforms to NSObject
Declared in TVOCallDelegate.h

Overview

Objects can conform to the TVOCallDelegate protocol to be informed of the lifecycle events of a TVOCall.

Required Methods

– callDidConnect: required method

Notifies the delegate that a Call has connected.

- (void)callDidConnect:(nonnull TVOCall *)call

Parameters

call

The TVOCall that was connected.

See Also

Declared In

TVOCallDelegate.h

– call:didFailToConnectWithError: required method

Notifies the delegate that a Call has failed to connect.

- (void)call:(nonnull TVOCall *)call didFailToConnectWithError:(nonnull NSError *)error

Parameters

call

The TVOCall that failed to connect.

error

The <NSError> that occurred.

See Also

Declared In

TVOCallDelegate.h

– call:didDisconnectWithError: required method

Notifies the delegate that a Call has disconnected.

- (void)call:(nonnull TVOCall *)call didDisconnectWithError:(nullable NSError *)error

Parameters

call

The TVOCall that was disconnected.

error

Indicates why the disconnect occurred.

Discussion

If the disconnection was unexpected then a Non-null NSError will be present.

See Also

Declared In

TVOCallDelegate.h