TwilioVideoSDK Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TwilioVideo.h |
Overview
TwilioVideoSDK is the root class of the Twilio Video SDK. You can connect to a Room using class methods on this class.
audioDevice
The TVIAudioDevice used to record and playback audio in a Room.
@property (class, nonatomic, strong, nonnull) id<TVIAudioDevice> audioDeviceDiscussion
If you wish to provide your own TVIAudioDevice then you must set it before performing any other
actions with the SDK (like creating Tracks or connecting to Rooms). It is also possible to change the device when
you are no longer connected to any Rooms and have destroyed all other SDK objects (Tracks, Participants, and Rooms).
See Also
Declared In
TwilioVideo.h
– 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.
Declared In
TwilioVideo.h
+ sdkVersion
Returns the SDK version.
+ (nonnull NSString *)sdkVersionReturn Value
Video sdk version of type string.
Declared In
TwilioVideo.h
+ logLevel
Retrieve the log level for the Twilio 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 Twilio Video SDK.
+ (void)setLogLevel:(TVILogLevel)logLevelParameters
logLevel |
The |
|---|
Declared In
TwilioVideo.h
+ logLevelForModule:
Retrieve the log level for a specific module in the Twilio Video SDK.
+ (TVILogLevel)logLevelForModule:(TVILogModule)moduleParameters
module |
The |
|---|
Return Value
The current log level for the specified module.
Declared In
TwilioVideo.h
+ setLogLevel:module:
Set the log level for a specific module in the Twilio Video SDK.
+ (void)setLogLevel:(TVILogLevel)logLevel module:(TVILogModule)moduleParameters
logLevel |
The |
|---|---|
module |
The |
Declared In
TwilioVideo.h