TVOOutgoingCall Class Reference

Inherits from NSObject
Declared in TVOOutgoingCall.h

Overview

The TVOOutgoingCall object represents an outgoing call. TVOOutgoingCall objects are not created directly; they are returned by the [VoiceClient makeCall:params:delegate:] method.

Properties

  delegate

The TVOOutgoingCallDelegate object that will receive call state updates.

@property (nonatomic, weak, nullable) id<TVOOutgoingCallDelegate> delegate

Discussion

The TVOOutgoingCallDelegate object that will receive call state updates.

Declared In

TVOOutgoingCall.h

  callSid

Call SID value of the outgoing call.

@property (nonatomic, strong, readonly, nonnull) NSString *callSid

Discussion

Call SID value of the outgoing call.

Declared In

TVOOutgoingCall.h

  muted

Property that defines if the outgoing call is muted.

@property (nonatomic, assign, getter=isMuted) BOOL muted

Discussion

Property that defines if the outgoing call is muted.

Setting the property will only take effect if the state is TVOOutgoingCallStateConnected.

Declared In

TVOOutgoingCall.h

  state

State of the outgoing call.

@property (nonatomic, assign, readonly) TVOOutgoingCallState state

Discussion

State of the outgoing call.

Declared In

TVOOutgoingCall.h

General Call Actions

– disconnect

Disconnects the outgoing call.

- (void)disconnect

Discussion

Disconnects the outgoing call.

Calling this method on a TVOOutgoingCall that has the state of TVOOutgoingCallStateDisconnected will have no effect.

Declared In

TVOOutgoingCall.h

– sendDigits:

Send a string of digits.

- (void)sendDigits:(nonnull NSString *)digits

Parameters

digits

A string of characters to be played. Valid values are ‘0’ - ‘9’, ‘*’, ‘#’, and ‘w’. Each ‘w’ will cause a 500 ms pause between digits sent.

Discussion

Send a string of digits.

Calling this method on a TVOOutgoingCall that does not have the state of TVOOutgoingCallStateConnected will have no effect.

Declared In

TVOOutgoingCall.h