TwilioVideo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TwilioVideo.h |
Overview
TwilioVideo is the root class of the TwilioVideo SDK. You can connect to a Room using class methods on this class.
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)initDiscussion
Use TwilioVideo class factory methods to create a TVIRoom.
Declared In
TwilioVideo.h
+ connectWithOptions:delegate:
Connect to a Room with options and a delegate.
+ (nonnull TVIRoom *)connectWithOptions:(nonnull TVIConnectOptions *)options delegate:(nullable id<TVIRoomDelegate>)delegateParameters
options |
The connect options. |
|---|---|
delegate |
A delegate conforming to |
Return Value
An instance of TVIRoom if successful and nil otherwise.
Declared In
TwilioVideo.h
+ version
Returns the SDK version.
+ (nonnull NSString *)versionReturn Value
Video sdk version of type string.
Declared In
TwilioVideo.h
+ logLevel
Retrieve the log level for the Video SDK. The default log level is TVILogLevelError.
+ (TVILogLevel)logLevelReturn Value
The current log level.
Declared In
TwilioVideo.h
+ setLogLevel:
Set the log level for the TwilioVideo SDK.
+ (void)setLogLevel:(TVILogLevel)logLevelParameters
logLevel |
The |
|---|
Declared In
TwilioVideo.h
+ setLogLevel:module:
Set the log level for a specific module in the TwilioVideo SDK.
+ (void)setLogLevel:(TVILogLevel)logLevel module:(TVILogModule)moduleParameters
logLevel |
The |
|---|---|
module |
The |
Declared In
TwilioVideo.h