TVOConnectOptions Class Reference
Inherits from | TVOCallOptions : NSObject |
---|---|
Declared in | TVOConnectOptions.h |
accessToken
A JWT access token which will be used to connect a Call.
@property (nonatomic, copy, readonly, nullable) NSString *accessToken
Declared In
TVOConnectOptions.h
params
The parameters passed to the server application associated with this Call.
@property (nonatomic, copy, readonly, nonnull) NSDictionary<NSString*NSString*> *params
Declared In
TVOConnectOptions.h
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)init
Discussion
Use the class methods optionsWithToken:
or optionsWithToken:block:
instead.
Declared In
TVOConnectOptions.h
+ optionsWithAccessToken:
Creates TVOConnectOptions
using an access token.
+ (nonnull instancetype)optionsWithAccessToken:(nonnull NSString *)accessToken
Parameters
accessToken |
A JWT access token which will be used to connect to the Call. |
---|
Return Value
An instance of TVOConnectOptions
.
Discussion
The identity provided in the Access Token may only contain alpha-numeric and underscore characters. Other characters, including spaces, will result in undefined behavior.
Declared In
TVOConnectOptions.h
+ optionsWithAccessToken:block:
Creates an instance of TVOConnectOptions
using an access token and a builder block.
+ (nonnull instancetype)optionsWithAccessToken:(nonnull NSString *)accessToken block:(nonnull TVOConnectOptionsBuilderBlock)block
Parameters
accessToken |
A JWT access token which will be used to connect to the Call. |
---|---|
block |
The builder block which will be used to configure the |
Return Value
An instance of TVOConnectOptions
.
Discussion
The identity provided in the Access Token may only contain alpha-numeric and underscore characters. Other characters, including spaces, will result in undefined behavior.
Declared In
TVOConnectOptions.h