TVOConnectOptionsBuilder Class Reference
Inherits from | TVOCallOptionsBuilder : NSObject |
---|---|
Declared in | TVOConnectOptions.h |
Overview
TVOConnectOptionsBuilder
is a builder class for TVOConnectOptions
.
Connect options builder to use when connecting. For example:
let connectOptions = TVOConnectOptions(accessToken: accessToken) { builder in
builder.params = ["to": "bob"]
builder.enableIceGatheringOnAnyAddressPorts = true
}
let call = TwilioVoiceSDK.connect(with: connectOptions, delegate: callDelegate)
params
Additional parameters for connecting the Call.
@property (nonatomic, copy, nonnull) NSDictionary<NSString*NSString*> *params
Discussion
The Voice SDK URI encodes the parameters before passing them to your TwiML Application.
Declared In
TVOConnectOptions.h
– init
You should not initialize TVOConnectOptionsBuilder
directly, use a TVOConnectOptionsBuilderBlock
instead.
- (null_unspecified instancetype)init
Declared In
TVOConnectOptions.h