public abstract class Video
extends java.lang.Object
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
static Room |
connect(android.content.Context context,
ConnectOptions connectOptions,
Room.Listener roomListener)
Connect to a
Room with specified options. |
static AudioDevice |
getAudioDevice()
Returns the AudioDevice.
|
static LogLevel |
getLogLevel()
Gets the logging level for messages logged by the Video SDK.
|
static LogLevel |
getModuleLogLevel(LogModule module)
Returns the logging level for messages logged by the specified LogModule.
|
static java.lang.String |
getVersion()
Returns the version of the Video SDK.
|
static void |
setAudioDevice(AudioDevice audioDevice)
Sets the custom audio device.
|
static void |
setLogLevel(LogLevel level)
Sets the logging level for messages logged by the Video SDK.
|
static void |
setModuleLogLevel(LogModule module,
LogLevel level)
Sets the logging level for messages logged by a specific module.
|
@NonNull public static Room connect(@NonNull android.content.Context context, @NonNull ConnectOptions connectOptions, @NonNull Room.Listener roomListener)
Room
with specified options.connectOptions
- options for connecting to room.roomListener
- listener of room related events.@NonNull public static java.lang.String getVersion()
@NonNull public static LogLevel getLogLevel()
@NonNull public static LogLevel getModuleLogLevel(LogModule module)
LogLevel.ERROR
.@NonNull public static AudioDevice getAudioDevice()
public static void setAudioDevice(@NonNull AudioDevice audioDevice) throws java.lang.UnsupportedOperationException
audioDevice
can be updated when there is no
room in progress and will be applied to subsequent connect(Context,
ConnectOptions, Room.Listener)
API calls. Setting the audioDevice
while
connecting to a room will result in UnsupportedOperationException
.audioDevice
- The audio device.java.lang.UnsupportedOperationException
public static void setLogLevel(@NonNull LogLevel level)
level
- The logging level6.4.1