Conforms to NSObject
Declared in RespokeCall.h

Overview

A delegate protocol to notify the receiver of events occurring with the call

Tasks

  • – onError:sender:

    Receive a notification that an error has occurred while on a call

    required method
  • – onHangup:

    When on a call, receive notification the call has been hung up

    required method
  • – onConnected:

    When on a call, receive remote media when it becomes available. This is what you will need to provide if you want to show the user the other party’s video during a call.

    required method
  • – directConnectionAvailable:endpoint:

    This event is fired when the local end of the directConnection is available. It still will not be ready to send and receive messages until the ‘open’ event fires.

    required method

Instance Methods

directConnectionAvailable:endpoint:

- (void)directConnectionAvailable:(RespokeDirectConnection *)directConnection endpoint:(RespokeEndpoint *)endpoint
Discussion

This event is fired when the local end of the directConnection is available. It still will not be ready to send and receive messages until the ‘open’ event fires.

Parameters

directConnection

The direct connection object

endpoint

The remote endpoint

Declared In

RespokeCall.h

onConnected:

- (void)onConnected:(RespokeCall *)sender
Discussion

When on a call, receive remote media when it becomes available. This is what you will need to provide if you want to show the user the other party’s video during a call.

Parameters

sender

The RespokeCall that has connected

Declared In

RespokeCall.h

onError:sender:

- (void)onError:(NSString *)errorMessage sender:(RespokeCall *)sender
Discussion

Receive a notification that an error has occurred while on a call

Parameters

errorMessage

A human-readable description of the error.

sender

The RespokeCall that experienced the error

Declared In

RespokeCall.h

onHangup:

- (void)onHangup:(RespokeCall *)sender
Discussion

When on a call, receive notification the call has been hung up

Parameters

sender

The RespokeCall that has hung up

Declared In

RespokeCall.h