TVOAcceptOptions Class Reference

Inherits from TVOCallOptions : NSObject
Declared in TVOAcceptOptions.h

Overview

Accept options builder to use when accepting a call. For example:

 let acceptOptions = TVOAcceptOptions(callInvite: callInvite) { builder in
     builder.uuid = callInvite.uuid
     builder.enableIceGatheringOnAnyAddressPorts = true
 }

 let call = callInvite.accept(with: acceptOptions, delegate: self)

– init

Developers shouldn’t initialize this class directly.

- (null_unspecified instancetype)init

Discussion

Use the TVOConnectOptions or TVOAcceptOptions builder method instead.

Declared In

TVOCallOptions.h

+ optionsWithCallInvite:

Creates an instance of TVOAcceptOptions using a TVOCallInvite object.

+ (nonnull instancetype)optionsWithCallInvite:(nonnull TVOCallInvite *)callInvite

Parameters

callInvite

A TVOCallInvite object with the information to accept the incoming Call.

Return Value

An instance of TVOAcceptOptions.

Declared In

TVOAcceptOptions.h

+ optionsWithCallInvite:block:

Creates an instance of TVOAcceptOptions using a TVOCallInvite object and a builder block.

+ (nonnull instancetype)optionsWithCallInvite:(nonnull TVOCallInvite *)callInvite block:(nonnull TVOAcceptOptionsBuilderBlock)block

Parameters

callInvite

A TVOCallInvite object with the information to accept the incoming call.

block

The builder block which will be used to configure the TVOAcceptOptions instance.

Return Value

An instance of TVOAcceptOptions.

Declared In

TVOAcceptOptions.h