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 |
---|
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 |
---|---|
block |
The builder block which will be used to configure the |
Return Value
An instance of TVOAcceptOptions
.
Declared In
TVOAcceptOptions.h